示例#1
0
 private void addProject_Click(object sender, RoutedEventArgs e)
 {
     //disable employee selection in addProjectWindow 
     App.Current.Properties["MyProject"] = "y";
     AddProjectWindow win = new AddProjectWindow();
     win.ShowDialog();
     App.Current.Properties["MyProject"] = null;
     UpdateWindow(sender, e);
 }
示例#2
0
 private void btnAddProject_Click(object sender, RoutedEventArgs e)
 {
     AddProjectWindow win = new AddProjectWindow();
     win.ShowDialog();
     UpdateWindow();
 }