private void Tv_DataTree_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e) { if (e.Node.Tag != null) { Frm_Wroking frm = new Frm_Wroking(e.Node, LoadTreeList); frm.Show(); } }
private void Pic_Add_Click(object sender, EventArgs e) { TreeNode node = new TreeNode() { Name = rootId, Tag = ControlType.Plan }; Frm_Wroking frm_Wroking = new Frm_Wroking(node, LoadTreeList); frm_Wroking.Show(); }
private void tsm_Project_Click(object sender, EventArgs e) { TreeNode node = tv_DataTree.SelectedNode; if (node != null && node.Tag != null) { Frm_Wroking frm = new Frm_Wroking(node, LoadTreeList); frm.cbo_Special_HasNext.SelectedIndex = 2; frm.Cbo_Special_HasNext_SelectedIndexChanged(null, null); frm.tab_Menu.SelectedIndex = frm.tab_Menu.TabCount - 1; frm.Show(); } }