コード例 #1
0
        private static void Main(string[] args)
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            var MDMigratorController = new MDMigratorController();

            Application.Run(new MDMigratorForm(MDMigratorController));
        }
コード例 #2
0
 public MDMigratorForm(MDMigratorController controller)
 {
     //
     // The InitializeComponent() call is required for Windows Forms designer support.
     //
     InitializeComponent();
     //set the controller
     this.controller = controller;
     //enableDisable
     this.enableDisable();
 }