Exemplo 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);
        }
Exemplo n.º 2
0
Arquivo: Program.cs Projeto: 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);
		}