Esempio n. 1
0
        private void btnNewRoleAccess_Click(object sender, EventArgs e)
        {
            RoleAccessEditorForm editor = Bootstrapper.Resolve <RoleAccessEditorForm>();

            editor.ShowDialog(this);

            RefreshDataView();
        }
Esempio n. 2
0
        private void cmsEditData_Click(object sender, EventArgs e)
        {
            if (_selectedRoleAccess != null)
            {
                RoleAccessEditorForm editor = Bootstrapper.Resolve <RoleAccessEditorForm>();
                editor.SelectedRoleAccess = _selectedRoleAccess;
                editor.ShowDialog(this);

                RefreshDataView();
            }
        }