private void CommandBindingEditRoles_Executed(object sender, ExecutedRoutedEventArgs e)
        {
            FormEditRoles formEditRoles = new FormEditRoles(dataBase);

            formEditRoles.ShowDialog(new NativeWindowWrapper(this));

            ComboBoxRole.ItemsSource = dataBase.GetAllRoles();
        }
Пример #2
0
        private void buttonEditRoles_Click(object sender, EventArgs e)
        {
            FormEditRoles formEditRoles = new FormEditRoles(dataBase);

            formEditRoles.ShowDialog();

            FillRolesInComboBox();
        }