Exemplo n.º 1
0
        private void AddSection_Clicked(object sender, EventArgs e)
        {
            GuiAddSections guiAddSections = new GuiAddSections(fld_treeUserGroup, AddSectionMode.Add);

            guiAddSections.Module = this.Module;
            guiAddSections.ShowDialog();
        }
Exemplo n.º 2
0
        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();
        }