internal AddTodoWindow(ManagerWindow win) { this._Manager = win; this._IsNewTodo = true; this._Todo = null; this.InitializeComponent(); }
internal MainWindow(App app) { this._Manager = null; this._Application = app; this.InitializeComponent(); this.Topmost = true; this.Closing += this.OnClosing; }
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(); }