Ejemplo n.º 1
0
 private void button5_Click(object sender, EventArgs e)
 {
     if (dataGridView2.SelectedCells[0].RowIndex < dataGridView2.Rows.Count)
     {
         TSForm = new TScheduleForm(ObjTask2);
         TSForm.Show();
     }
 }
Ejemplo n.º 2
0
 private void dataGridView2_MouseDoubleClick(object sender, MouseEventArgs e)
 {
     if (dataGridView2.SelectedCells[0].RowIndex < dataGridView2.Rows.Count)
     {
         TSForm = new TScheduleForm(ObjTask2);
         TSForm.Show();
     }
     else
     {
         AddTodaySchedule(0);
     }
 }
Ejemplo n.º 3
0
 public void AddTodaySchedule(int t)
 {
     TSForm          = new TScheduleForm();
     TSForm.TaskType = t;
     TSForm.Show();
 }