Beispiel #1
0
 private void toolStripMenuItem2_Click(object sender, EventArgs e)
 {
     if (this.tvDirectory.Nodes != null && this.tvDirectory.SelectedNode.Parent != null)
     {
         updateTitle udt = new updateTitle(3, this.tvDirectory.SelectedNode, "修改标题", "请输入新的标题名称:");
         udt.ShowDialog();
     }
 }
Beispiel #2
0
 /// <summary>
 /// 增加输入框类元素
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void 增加输入框类元素ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (this.tvDirectory.Nodes != null)
     {
         updateTitle udt = new updateTitle(2, this.tvDirectory.SelectedNode, "新建基础元素", "请输入输入框类元素的名称:");
         udt.ShowDialog();
     }
 }