Пример #1
0
 private void AddTask()
 {
     using (frmManageTask form = new frmManageTask())
     {
         if (form.Execute())
         {
             RebindDataSources();
         }
     }
 }
Пример #2
0
 private void ModifySelectedTask()
 {
     using (frmManageTask form = new frmManageTask())
     {
         if (form.Execute(lvTasks.SelectedValue as TaskModel))
         {
             RebindDataSources();
         }
     }
 }