Beispiel #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            CredentialD model      = new CredentialD("Alice", "Wonderland");
            ControllerD controller = new ControllerD(model);
            Login200D   view       = new Login200D(controller.handleEvents);

            controller.registerObs(view.DisplayState);

            Application.Run(view);
        }
Beispiel #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="m"></param>
 /// <param name="v"></param>
 public ControllerD(CredentialD m)
 {
     model = m;
     //view = v;
 }