Beispiel #1
0
 private void aclGroup_Click(object sender, EventArgs e, ACLSettingsGroup aclGroup)
 {
     this.latestUpdated = package.ACLSettingsGroups.IndexOf(aclGroup);
     latestACLGroup     = aclGroup;
     renderActions();
     pnlActions.Enabled = true;
     lblAclName.Text    = aclGroup.Name;
 }
Beispiel #2
0
        private void btnOk_Click(object sender, EventArgs e)
        {
            if (cbbGroupSelect.SelectedIndex == -1)
            {
                this.Close();
                return;
            }

            SelectedGroup = cbbGroupSelect.SelectedItem as ACLSettingsGroup;
            this.Close();
        }
Beispiel #3
0
        public void initialize(List <DataModeling.ACLSettingsGroup> Groups)
        {
            this.Groups = Groups;
            cbbGroupSelect.Items.Clear();
            this.SelectedGroup = null;

            if (Groups == null || Groups.Count == 0)
            {
                return;
            }

            cbbGroupSelect.DisplayMember = "Name";

            foreach (var item in Groups.OrderBy(x => x.Name))
            {
                cbbGroupSelect.Items.Add(item);
            }
        }
Beispiel #4
0
 private void btnCancel_Click(object sender, EventArgs e)
 {
     this.SelectedGroup = null;
     this.Close();
 }