private void RowAddNewClick(object sender, RoutedEventArgs e) { var addUserGroupWindow = new UserGroupRelationWindow(UserOperationDAL); addUserGroupWindow.Show(); }
private void RowEditClick(object sender, RoutedEventArgs e) { if (DgUserGroupSelectEntity == null) return; var editUserGroupWindow = new UserGroupRelationWindow(DgUserGroupSelectEntity, OperationAction.Modify, UserOperationDAL); editUserGroupWindow.ShowDialog(); }