Esempio n. 1
0
 private void btnProjectMessages_Click(object sender, RoutedEventArgs e)
 {
     //Restrict addProjectMessage to this user and project
     App.Current.Properties["thisProjectMessage"] = App.Current.Properties["thisProject"];
     App.Current.Properties["myProject"] = true;
     ProjectMessagesWindow win = new ProjectMessagesWindow();
     win.ShowDialog();
     UpdateWindow();
     App.Current.Properties["thisProjectMessage"] = null;
     App.Current.Properties["myProject"] = false;
     
 }
Esempio n. 2
0
 private void menu_ProjectMessages_Click(object sender, RoutedEventArgs e)
 {
     //View messages related to this/selected project in projectMessages window
     App.Current.Properties["thisProjectMessage"] = projectDataGrid.SelectedItem;
     ProjectMessagesWindow win = new ProjectMessagesWindow();
     win.ShowDialog();
     App.Current.Properties["thisProjectMessage"] = null;
     UpdateWindow();
 }
Esempio n. 3
0
 private void menu_projectMessages_Click(object sender, RoutedEventArgs e)
 {
     ProjectMessagesWindow win = new ProjectMessagesWindow();
     win.ShowDialog();
     UpdateWindow(sender, e);
 }