Esempio n. 1
0
 private void 增加选择类元素ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (this.advTreeSmallTemplate.Nodes != null)
     {
         updateTitleKBS udt = new updateTitleKBS(1, this.advTreeSmallTemplate.SelectedNode, "新建基础元素", "请输入选择类元素的名称:", true);
         udt.ShowDialog();
     }
 }
Esempio n. 2
0
 private void toolStripMenuItem2_Click(object sender, EventArgs e)
 {
     if (this.advTreeSmallTemplate.Nodes != null && this.advTreeSmallTemplate.SelectedNode.Parent != null)
     {
         updateTitleKBS udt = new updateTitleKBS(3, this.advTreeSmallTemplate.SelectedNode, "修改标题", "请输入新的标题名称:", true);
         udt.ShowDialog();
     }
 }
Esempio n. 3
0
 private void 增加子目录ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (this.advTreeSmallTemplate.Nodes != null)
     {
         updateTitleKBS udt = new updateTitleKBS(0, this.advTreeSmallTemplate.SelectedNode, "新建子目录", "请输入子目录的名称:");
         udt.ShowDialog();
     }
 }