예제 #1
0
        /// <summary>
        /// Populate the TreeView on this screen. Cool name, eh?
        /// </summary>
        public void t()
        {
            foreach (Control cont in this.tableLayoutPanel1.Controls)
            {
                if (cont is tvRevs)
                {
                    cont.Dispose();
                }
            }
            tvRevs t = new tvRevs(ref this._propSet, ref this._revSet);

            t.TabIndex = 16;
            this.tableLayoutPanel1.Controls.Add(t, 0, 2);
            t.Dock   = DockStyle.Fill;
            t.Added += t_Added;
            //t.AddedLvl += t_AddedLvl;
            //t.DeletedLvl += t_DeletedLvl;
        }
예제 #2
0
 /// <summary>
 /// Populate the TreeView on this screen. Cool name, eh?
 /// </summary>
 public void t()
 {
     foreach (Control cont in this.tableLayoutPanel1.Controls) {
     if (cont is tvRevs) {
       cont.Dispose();
     }
       }
       tvRevs t = new tvRevs(ref this._propSet, ref this._revSet);
       t.TabIndex = 16;
       this.tableLayoutPanel1.Controls.Add(t, 0, 2);
       t.Dock = DockStyle.Fill;
       t.Added += t_Added;
       //t.AddedLvl += t_AddedLvl;
       //t.DeletedLvl += t_DeletedLvl;
 }