『原创』C#中TreeView类操作全攻略:建立树,新增节点,删除节点,修改节点,拖动节点,与Oracle数据库交互操作(一)(13) // btn_AddSon // this.btn_AddSon.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btn_AddSon.BackgroundImage"))); this.btn_AddSon.Location = new System.Drawing.Point(152, 536); this.btn_AddSon.Name = "btn_AddSon"; this.btn_AddSon.Size = new System.Drawing.Size(80, 22); this.btn_AddSon.TabIndex = 7; this.btn_AddSon.Text = "新增子节点"; this.btn_AddSon.Click += new System.EventHandler(this.btn_AddSon_Click); // // btn_AddRoot // this.btn_AddRoot.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btn_AddRoot.BackgroundImage"))); this.btn_AddRoot.Location = new System.Drawing.Point(56, 536); this.btn_AddRoot.Name = "btn_AddRoot"; this.btn_AddRoot.Size = new System.Drawing.Size(80, 22); this.btn_AddRoot.TabIndex = 6; this.btn_AddRoot.Text = "新增根节点"; this.btn_AddRoot.Click += new System.EventHandler(this.btn_AddRoot_Click); // // btn_Close // this.btn_Close.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btn_Close.BackgroundImage"))); this.btn_Close.Location = new System.Drawing.Point(632, 536); this.btn_Close.Name = "btn_Close"; this.btn_Close.Size = new System.Drawing.Size(75, 22); this.btn_Close.TabIndex = 11; this.btn_Close.Text = "关 闭"; this.btn_Close.Click += new System.EventHandler(this.btn_Close_Click); // // SM_FunctionMaintenance // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);