Beispiel #1
0
        private void btAddAccessGroup_Click(object sender, EventArgs e)
        {
            var accessGroupEditor = new AccessGroupEditor();

            accessGroupEditor.SetCaption(MODE_ADD);
            if (accessGroupEditor.ShowDialog() == DialogResult.OK)
            {
                var accessGroup = new AccessGroup();
                accessGroupEditor.ReturnValues(ref accessGroup);
                _dataInterface.CreateAccessGroup(accessGroup);
                _formUtils.RefreshAccessGroups(dg_AccessGroups);
            }
        }