Exemple #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (treeView1.SelectedNode.Level == 0)
     {
         NewTeam editTeam = new NewTeam(treeView1.SelectedNode.Name);
         editTeam.Show();
     }
     else if (treeView1.SelectedNode.Level == 1)
     {
         EditWorker editWorker = new EditWorker(treeView1.SelectedNode.Name);
         editWorker.Show();
     }
     else
     {
         EditTask editTask = new EditTask(treeView1.SelectedNode.Name);
         editTask.Show();
     }
 }
Exemple #2
0
 private void teamToolStripMenuItem_Click(object sender, EventArgs e)
 {
     NewTeam nT = new NewTeam();
     nT.Show();
 }