Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling viewstate on a form
Message
De
11/06/2010 03:42:58
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01468039
Message ID:
01468440
Vues:
61
>>>Thanks. Since I am mostly working (a little) in WinForms and plan for WPF, this will be one more technology I won't be learning <g>.
>>
>>If you're planning for WPF then look at the MVVM pattern - sort of a variation of MVC but better suited to WPF.....
>
>Thank you, Viv. First I need to learn how to create Hello World in WPF <g>.


( got this from a book - it's not the way you would do it )

If you have a console application, add 3 references
- PresentationCore
- PresentationFramework
- WindowsBase
using System;
using System.Windows;
using System.Data;


namespace BaseTest
{
	class Program
	{
		[STAThread]
		static void Main()
		{
			Window win = new Window();
			win.Title = "The Title";
			win.Content = "Hello World";
			Application app = new Application();
			app.Run(win);
		}
	}


}
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform