private void btn_updatenodename_Click(object sender, EventArgs e) { if (tl_node.FocusedNode == null) { return; } uctlRenameNode.id = ((DataRowView)tl_node.GetDataRecordByNode(tl_node.FocusedNode)).Row["ID"].ToString(); Form f = new Form(); f.FormBorderStyle = FormBorderStyle.None; f.Size = new Size(492, 73); uctlRenameNode rn = new uctlRenameNode(); CommonFunction.AddForm(f, rn); Initgc_nodeData(); InitTreeListData(); tl_node.ExpandAll(); }
private void btn_updatenodename_Click(object sender, EventArgs e) { if (tl_node.FocusedNode==null) { return; } uctlRenameNode.id = ((DataRowView)tl_node.GetDataRecordByNode(tl_node.FocusedNode)).Row["ID"].ToString(); Form f = new Form(); f.FormBorderStyle = FormBorderStyle.None; f.Size = new Size(492, 73); uctlRenameNode rn = new uctlRenameNode(); CommonFunction.AddForm(f, rn); Initgc_nodeData(); InitTreeListData(); tl_node.ExpandAll(); }