Example #1
0
 public GuidePresenter(GuideModel theGuideModel, IGuideView theGuideView)
 {
     guideModel = theGuideModel;
     guideView  = theGuideView;
     StartDrivers();
     guideView.MainForm += StartDrivers;
     guideView.OpenFile += TreeDrivers;
 }
Example #2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            var view      = new mainForm();
            var model     = new GuideModel();
            var presenter = new GuidePresenter(model, view);

            Application.Run(view);
        }