示例#1
0
 public EnterPresenter(IEnterView enterWindow)
 {
     model = new EnterRegisterModel();
     win   = enterWindow;
     win.EnterButton_Click    += new EventHandler(enterWindow_EnterButtonClick);
     win.RegisterButton_Click += new EventHandler(enterWindow_RegisterButtonClick);
 }
 public RegisterPresenter(IRegistrationView registerWindow)
 {
     model = new EnterRegisterModel();
     win   = registerWindow;
     win.RegisterButton_Click += new EventHandler(registerWindow_RegisterButtonClick);
 }