void userEntityWindow_Closed(object sender, EventArgs e) { SelectUserEntity.RaisALL(); UserEntityWindow lUserEntityWindow = sender as UserEntityWindow; if (lUserEntityWindow.DialogResult == true) { OnSaveCommand(); } }
private void UserWindow_Closed(object sender, EventArgs e) { UserWindow lUserWindow = sender as UserWindow; if (lUserWindow.DialogResult == true) { IsBusy = true; Log.AddLog(documentManagerContext, SelectUserEntity.ToString()); SubmitOperation lSubmitOperation = documentManagerContext.SubmitChanges(); lSubmitOperation.Completed += SubOperation_Completed; } }