Beispiel #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            // Create the MVC classes
            SatNavModel      model      = new SatNavModel();
            SatNavView       view       = new SatNavView(model);
            SatNavController controller = new SatNavController(model, view);

            Application.Run(view);
        }
 public SatNavController(SatNavModel model, SatNavView view)
 {
     this.model = model;
     this.view  = view;
     this.view.ViewControlActivated += HandleViewControlActivated;
 }
 public SatNavController(SatNavModel model, SatNavView view)
 {
     this.model = model;
     this.view = view;
     this.view.ViewControlActivated += HandleViewControlActivated;
 }