Esempio n. 1
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     MainForm form = new MainForm();
     MessageService service = new MessageService();
     FileManager manager = new FileManager();
     MainPresenter presenter = new MainPresenter(form, manager, service);
     Application.Run(form);
 }
Esempio n. 2
0
File: Program.cs Progetto: Diamur/C-
		private static void Main(string[] args)
		{
			Application.EnableVisualStyles();
			Application.SetCompatibleTextRenderingDefault(false);
			
			//---собственный код----
			MainForm form = new MainForm();
			MessageService service = new MessageService();
			FileManager manager = new FileManager();
			
			Presenter presenter = new Presenter(form, manager, service );
			//----------------------
						
			Application.Run(form);
		}