Пример #1
0
 public BoardWindowView(Model.User user) //default ctor
 {
     Email      = user.Email;
     Filter     = "";
     board      = new Model.Board(user.Controller, user, Filter);
     Controller = user.Controller;
     Sorted     = "Due Date";
     Welcome    = "Hello " + user.NickName;
     IsHost     = Controller.IsHost(Email);
 }
Пример #2
0
 public MainWindowViewLogin() //default ctor
 {
     Controller = new BackendController();
     Email      = "";
     Password   = "";
 }
Пример #3
0
 public BoardWindow(UserModel user, BackendController controller)
 {
     InitializeComponent();
     this.viewModel   = new BoardViewModel(user, controller);
     this.DataContext = viewModel;
 }
Пример #4
0
 //Constructor-----------------------------------------------
 public MainWindowViewModel()
 {
     Controller = new BackendController();
 }
 public NotifiableModelObject(BackendController controller)
 {
     this.Controller = controller;
 }