Exemplo 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();
            }
        }
Exemplo 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();
            }
        }
Exemplo 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();
       }
 }
Exemplo 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();
 }