Example #1
0
 private void AddTodo_Click(object sender, MouseButtonEventArgs e)
 {
     if (EditToDo.Show(this.core, this, this.cosplan.Nummer))
     {
         this.LoadToDos();
     }
 }
Example #2
0
        public static bool Show(Core core, WPFBase parent, int cosplan_nr)
        {
            EditToDo edit = new EditToDo(parent)
            {
                core       = core,
                cosplan_nr = cosplan_nr
            };

            edit.ShowDialog();
            return(edit.Saved);
        }