private void NewRoleItem_Click(object sender, RoutedEventArgs e) { var roleWindow = new RoleWindow(); roleWindow.ShowDialog(); BindRoles(); }
private void Role_DoubleClick(object sender, RoutedEventArgs e) { var row = (DataGridRow)sender; string role = (string)row.Item; var roleWindow = new RoleWindow(role); roleWindow.ShowDialog(); BindRoles(); }