/// <summary> /// 添加根节点 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void 添加根节点ToolStripMenuItem_Click(object sender, EventArgs e) { fmAddNode fm = new fmAddNode(Reflash, 0); fm.Show(); }
/// <summary> /// 添加子节点 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void 添加子节点ToolStripMenuItem_Click(object sender, EventArgs e) { fmAddNode fm = new fmAddNode(Reflash, (int)treeView1.SelectedNode.Tag); fm.Show(); }