private void AddSection_Clicked(object sender, EventArgs e) { GuiAddSections guiAddSections = new GuiAddSections(fld_treeUserGroup, AddSectionMode.Add); guiAddSections.Module = this.Module; guiAddSections.ShowDialog(); }
private void EditSection_Clicked(object sender, EventArgs e) { GuiAddSections guiAddSections = new GuiAddSections(fld_treeUserGroup, AddSectionMode.Edit); guiAddSections.Module = this.Module; guiAddSections.fld_txtSection.Text = fld_treeUserGroup.FocusedNode.GetDisplayText(fld_treeUserGroup.Columns[0]); guiAddSections.ShowDialog(); }