コード例 #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);


            CredentialsMP model      = new CredentialsMP();
            ControllerMP  controller = new ControllerMP(model);
            LoginMP       view       = new LoginMP(controller.handleEvents);

            controller.registerObs(view.DisplayState);
            Application.Run();
        }
コード例 #2
0
ファイル: ControllerMP.cs プロジェクト: RClong32/LogIn200
 public ControllerMP(CredentialsMP m)
 {
     this.model = m;
 }