Esempio n. 1
0
        private void btnNewRev_Click(object sender, EventArgs e)
        {
            EditRev er = new EditRev(ref this.revSet, this.tvRevisions.Nodes.Count, cd, propertySet.GetProperty("REVISION LEVEL"));

            er.Added    += er_Added;
            er.AddedLvl += er_AddedLvl;
            er.new_rev   = true;
            er.ShowDialog();
            if (!IsDisposed)
            {
                Init();
            }
        }
Esempio n. 2
0
        private void btnEditRev_Click(object sender, EventArgs e)
        {
            TreeNode node = this.tvRevisions.SelectedNode;

            if (node != null)
            {
                while (node.Parent != null)
                {
                    node = node.Parent;
                }
                EditRev er = new EditRev(ref this.revSet, node.Index);
                er.ShowDialog();
                Init();
            }
            else
            {
                EditRev er = new EditRev(ref this.revSet, 0);
                er.ShowDialog();
                Init();
            }
        }
Esempio n. 3
0
 private void btnEditRev_Click(object sender, EventArgs e)
 {
     TreeNode node = this.tvRevisions.SelectedNode;
       if (node != null) {
     while (node.Parent != null) {
       node = node.Parent;
     }
     EditRev er = new EditRev(ref this.revSet, node.Index);
     er.ShowDialog();
     Init();
       } else {
     EditRev er = new EditRev(ref this.revSet, 0);
     er.ShowDialog();
     Init();
       }
 }
Esempio n. 4
0
 private void btnNewRev_Click(object sender, EventArgs e)
 {
     EditRev er = new EditRev(ref this.revSet, this.tvRevisions.Nodes.Count, cd, propertySet.GetProperty("REVISION LEVEL"));
       er.Added += er_Added;
       er.AddedLvl+= er_AddedLvl;
       er.new_rev = true;
       er.ShowDialog();
       if (!IsDisposed)
     Init();
 }