Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Microsoft's position on Visual FoxPro and .NET
Message
 
À
16/06/2004 18:00:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Conférences & événements
Divers
Thread ID:
00908177
Message ID:
00914527
Vues:
57
>Hey JML,
>
>>hmmm....some food for thought:
>>http://www.joelonsoftware.com/articles/APIWar.html
>
>And if you're developing a Windows GUI app today using Microsoft's "official" latest-and-greatest Windows programming environment, WinForms, you're going to have to start over again in two years to support Longhorn and Avalon. Which explains why WinForms is completely stillborn. Hope you haven't invested too much in it.
>
>Ouch.

This is wrong.

Avalon objects can be used in addition to WinForms objects. For instance, the following is possible:
// WinForm Form
public class MyForm : System.Windows.Forms.Form
{
   // ...

   public void SomeMethod()
   {
      // Instantiate an Avalon form
      System.Windows.Window oWind = new System.Windows.Window();
      oWind.Show();
   }
}
This makes an app that mixes WinForms and Avalon. It is pretty simple, really. For an existing WinForms app, Avalon simply represents a whole set of additional controls.

WinForms is by far the best way to get ready for Avalon, for this very reason.

Markus




Markus Egger
President, EPS Software Corp
Author, Advanced Object Oriented Programming with VFP6
Publisher, CoDe Magazine
Microsoft MVP since 1995
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform