Esempio n. 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();
 }
Esempio n. 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();
 }