コード例 #1
0
 internal AddTodoWindow(ManagerWindow win)
 {
     this._Manager   = win;
     this._IsNewTodo = true;
     this._Todo      = null;
     this.InitializeComponent();
 }
コード例 #2
0
 internal MainWindow(App app)
 {
     this._Manager     = null;
     this._Application = app;
     this.InitializeComponent();
     this.Topmost  = true;
     this.Closing += this.OnClosing;
 }
コード例 #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;
     }
 }
コード例 #4
0
 internal ClearProjectsWindow(App app, ManagerWindow win)
 {
     this._Application = app;
     this._Manager     = win;
     this.InitializeComponent();
 }