Beispiel #1
0
 private void gdvTask_DoubleClick(object sender, EventArgs e)
 {
     try
     {
         GridView   view    = (GridView)sender;
         TaskObject taskObj = (TaskObject)view.GetRow(view.FocusedRowHandle);
         new TIS.BL.Internal.Task().AddChilds(taskObj);
         Client.Task.Task task = new Client.Task.Task(PROF_IT.Common.Enumerations.TypeForm.PropertyForm, taskObj);
         task.ShowDialog();
     }
     catch (System.Exception excepion1)
     {
         System.Exception thisException = excepion1;
         Management.ShowException(thisException);
     }
 }
Beispiel #2
0
 private void btnAddTask_Click(object sender, EventArgs e)
 {
     try
     {
         Client.Task.Task task = new Client.Task.Task(PROF_IT.Common.Enumerations.TypeForm.NewForm);
         if (task.ShowDialog() == DialogResult.OK)
         {
             _tasks.Add(task.TaskMember);
             gdcTask.Refresh();
         }
     }
     catch (System.Exception excepion1)
     {
         System.Exception thisException = excepion1;
         Management.ShowException(thisException);
     }
 }
Beispiel #3
0
 private void gdvTask_DoubleClick(object sender, EventArgs e)
 {
     try
     {
         GridView view = (GridView)sender;
         TaskObject taskObj = (TaskObject)view.GetRow(view.FocusedRowHandle);
         new TIS.BL.Internal.Task().AddChilds(taskObj);
         Client.Task.Task task = new Client.Task.Task(PROF_IT.Common.Enumerations.TypeForm.PropertyForm, taskObj);
         task.ShowDialog();
     }
     catch (System.Exception excepion1)
     {
         System.Exception thisException = excepion1;
         Management.ShowException(thisException);
     }
 }
Beispiel #4
0
 private void btnAddTask_Click(object sender, EventArgs e)
 {
     try
     {
         Client.Task.Task task = new Client.Task.Task(PROF_IT.Common.Enumerations.TypeForm.NewForm);
         if (task.ShowDialog() == DialogResult.OK)
         {
             _tasks.Add(task.TaskMember);
             gdcTask.Refresh();
         }
     }
     catch (System.Exception excepion1)
     {
         System.Exception thisException = excepion1;
         Management.ShowException(thisException);
     }
 }