private void OnViewImportantPartCommand() { ImportantPartWindow importantPartWindow = new ImportantPartWindow(ImportantPartWindowState.VIEW, SelectImportantPartEntity); importantPartWindow.Show(); }
private void OnOutPartCommand() { //SelectImportantPartEntity.PartOutTime = DateTime.Now; ImportantPartWindow importantPartWindow = new ImportantPartWindow(ImportantPartWindowState.OUT, SelectImportantPartEntity); importantPartWindow.Closed += importantPartWindowModify_Closed; importantPartWindow.Show(); }
private void OnArivePartCommand() { SelectImportantPartEntity.AriveTime = DateTime.Now; ImportantPartWindow importantPartWindow = new ImportantPartWindow(ImportantPartWindowState.ARIVE, SelectImportantPartEntity); importantPartWindow.Closed += importantPartWindowModify_Closed; importantPartWindow.Show(); }
private void OnModifyImportantPartCommand() { ImportantPartWindow importantPartWindow = new ImportantPartWindow(ImportantPartWindowState.MODIFY, SelectImportantPartEntity); importantPartWindow.Closed += importantPartWindowModify_Closed; importantPartWindow.Show(); }
private void OnAddImportantPartCommand() { AddImportantPartEntity = new ImportantPartEntity(); AddImportantPartEntity.UserEntityDictionary = UserEntityDictionary; AddImportantPartEntity.ImportantPart = new ProductManager.Web.Model.important_part(); ImportantPartWindow importantPartWindow = new ImportantPartWindow(ImportantPartWindowState.Add, AddImportantPartEntity); importantPartWindow.Closed += importantPartWindow_Closed; importantPartWindow.Show(); }