private void btnProjectCost_Click(object sender, RoutedEventArgs e)
        {
            //Restrict addProjectCost to this user and project
            App.Current.Properties["thisProjectCost"] = App.Current.Properties["thisProject"];
            App.Current.Properties["myProject"] = true;
            ProjectCostsWindow win = new ProjectCostsWindow();
            win.ShowDialog();
            UpdateWindow();
            App.Current.Properties["thisProjectCost"] = null;
            App.Current.Properties["myProject"] = false;
            

        }
Beispiel #2
0
 private void menu_ProjectCost_Click(object sender, RoutedEventArgs e)
 {
     //Select costs related to this/selected project in projectCosts window
     App.Current.Properties["thisProjectCost"] = projectDataGrid.SelectedItem;
     ProjectCostsWindow win = new ProjectCostsWindow();
     win.ShowDialog();
     App.Current.Properties["thisProjectCost"] = null;
     UpdateWindow();
 }
Beispiel #3
0
 private void menu_projectCosts_Click(object sender, RoutedEventArgs e)
 {
     ProjectCostsWindow win = new ProjectCostsWindow();
     win.ShowDialog();
     UpdateWindow(sender, e);
 }