private void OnAddProjectRespCommand() { AddProjectResponsibleEntity = new ProjectResponsibleEntity(); AddProjectResponsibleEntity.ManufactureNumber = SelectProjectEntity.ManufactureNumber; AddProjectResponsibleEntity.ProjectResponsible = new ProductManager.Web.Model.project_responsible(); ProjectResponsibleWindow projectResponsibleWindow = new ProjectResponsibleWindow(DepartmemtList, AddProjectResponsibleEntity); projectResponsibleWindow.Closed += AddProductResponsibleClosed; projectResponsibleWindow.Show(); }
private void OnModifyProjectRespCommand() { ProjectResponsibleWindow projectResponsibleWindow = new ProjectResponsibleWindow(DepartmemtList, SelectProjectResponsibleEntity); projectResponsibleWindow.Closed += projectResponsibleWindow_Closed; projectResponsibleWindow.Show(); }
private void DoubleClickProjectResponsibleCommand() { if (SelectProjectResponsibleEntity != null) { ProjectResponsibleWindow projectResponsibleWindow = new ProjectResponsibleWindow(DepartmemtList, SelectProjectResponsibleEntity); projectResponsibleWindow.Show(); } }