コード例 #1
0
 private void OnViewProjectCommand()
 {
     ProjectWindow projectWindow = new ProjectWindow(ProjectWindowType.View, SelectProjectEntity);
     projectWindow.Closed += projectWindow_Closed;
     projectWindow.Show();
 }
コード例 #2
0
 private void OnAddCommand()
 {
     AddProjectEntity = new ProjectEntity();
     AddProjectEntity.RecordDate = DateTime.Now;
     AddProjectEntity.YearNumber = DateTime.Now.Year;
     AddProjectEntity.ProjectEntityDictionary = ProjectEntityDictionary;
     AddProjectEntity.Project = new ProductManager.Web.Model.project();
     ProjectWindow projectWindow = new ProjectWindow(ProjectWindowType.ADD, AddProjectEntity);
     projectWindow.Closed += AddProjectClosed;
     projectWindow.Show();
 }