예제 #1
0
 public Controller_UserAdd(Model model, View_UserEdit view)
 {
     this.model = model;
     this.user = new User("");
     this.view = view;
     InitView();
     view.SetController(this);
     //view.Init();
     view.ShowDialog();
 }
예제 #2
0
 public Controller_UserEdit(Model model, View_UserEdit view, User user)
 {
     this.model = model;
     this.user = user;
     this.view = view;
     InitView();
     view.SetController(this);
     //view.Init();
     view.ShowDialog();
 }