Beispiel #1
0
 public void ShowPropertiesSelectedTask()
 {
     if(treeView.SelectedItems.Count==0)
         return;
     if(Tasks.RootTask.Id == (int) treeView.SelectedItems[0].Tag)
         return;
     TaskPropertiesForm pf;
     pf = new TaskPropertiesForm((int) treeView.SelectedItems[0].Tag);
     pf.ShowDialog(this);
 }
Beispiel #2
0
 private void ShowTaskProperties()
 {
     if (taskList.SelectedItems.Count == 0)
         return;
     int taskId = ((Log)taskList.SelectedItems[0].Tag).TaskId;
     TaskPropertiesForm pf;
     pf = new TaskPropertiesForm(taskId);
     pf.ShowDialog(this);
 }