Пример #1
0
 private void ctxUpdate_Click(object sender, EventArgs e)
 {
     tblProject curProject = new tblProject();
     tblProjectDap newDap = new tblProjectDap();
     curProject = newDap.GetByfldProjectTreeID(curSelectedNode.Key);
     frmErga_Single newSingle = new frmErga_Single(curProject.fldProjectID,0, enums.formState.Update);
     newSingle.ShowDialog();
     FillTree();
 }
Пример #2
0
 private void ctxAdd_SubTask_Click(object sender, EventArgs e)
 {
     tblProject parentProject =  new tblProject();
        tblProjectDap newDap = new tblProjectDap();
        parentProject = newDap.GetByfldProjectTreeID(curSelectedNode.Key);
        frmErga_Single newSingle = new frmErga_Single(0,parentProject.fldProjectID, enums.formState.AddChild);
        newSingle.ShowDialog();
        FillTree();
 }
Пример #3
0
 private void ctxAdd_Click(object sender, EventArgs e)
 {
     frmErga_Single newSingle = new frmErga_Single(0,0,enums.formState.Add);
     newSingle.ShowDialog();
     FillTree();
 }
Пример #4
0
 private void tbInsert_Click(object sender, EventArgs e)
 {
     frmErga_Single newSingle = new frmErga_Single(0, 0, enums.formState.Add);
     newSingle.Show();
     FillTree();
 }