Ejemplo n.º 1
0
        static void Main()
        {
            Application.SetCompatibleTextRenderingDefault(false);



            mainForm            mainView          = new mainForm();
            modelViewController generalController = new modelViewController();

            generalController.setView(mainView);
            mainView.setController(generalController);

            AppDomain.CurrentDomain.ProcessExit += new EventHandler(OnProcessExit);
            Application.EnableVisualStyles();
            Application.Run(mainView);
        }
Ejemplo n.º 2
0
 public void setController(modelViewController controller)
 {
     generalController = controller;
 }