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