Beispiel #1
0
        private void добавитьЗадачуToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormTask AddTask = new FormTask(true, -1);

            AddTask.Owner = this;
            AddTask.ShowDialog();
            DateUpdate();
            TextBoxTaskUpdateDayOrWeek();
        }
Beispiel #2
0
 private void редактироватьЗадачуToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (KeyTask >= 0)
     {
         FormTask AddTask = new FormTask(false, KeyTask);
         AddTask.Owner = this;
         AddTask.ShowDialog();
         DateUpdate();
         TextBoxTaskUpdateDayOrWeek();
     }
 }