예제 #1
0
        private void btnAddRoleGroup_Click(object sender, RoutedEventArgs e)
        {
            frmRoleGroup view = new frmRoleGroup(0);

            view.GroupSaved += View_GroupSaved;
            view.ShowDialog();
        }
예제 #2
0
        private void btnEditRoleGroup_Click(object sender, RoutedEventArgs e)
        {
            var selected = cmbRole.SelectedItem as RoleOrRoleGroupDTO;

            if (selected != null)
            {
                frmRoleGroup view = new frmRoleGroup(selected.ID);
                view.GroupSaved += View_GroupSaved;
                view.ShowDialog();
            }
        }