Exemplo n.º 1
0
 internal AddTodoWindow(ManagerWindow win)
 {
     this._Manager   = win;
     this._IsNewTodo = true;
     this._Todo      = null;
     this.InitializeComponent();
 }
Exemplo n.º 2
0
 internal MainWindow(App app)
 {
     this._Manager     = null;
     this._Application = app;
     this.InitializeComponent();
     this.Topmost  = true;
     this.Closing += this.OnClosing;
 }
Exemplo n.º 3
0
 internal AddTodoWindow(ManagerWindow win, Todo todo)
 {
     this._Manager   = win;
     this._IsNewTodo = false;
     this._Todo      = todo;
     this.InitializeComponent();
     this.TBName.Text        = todo.Name;
     this.TBDescription.Text = todo.Description;
     if (todo.Deadline.HasValue)
     {
         this.CBDeadline.IsChecked    = true;
         this.DPDeadline.SelectedDate = todo.Deadline.Value;
     }
 }
 internal ClearProjectsWindow(App app, ManagerWindow win)
 {
     this._Application = app;
     this._Manager     = win;
     this.InitializeComponent();
 }