Esempio n. 1
0
        private void menu_EditProject_Click(object sender, RoutedEventArgs e)
        {
            //Send current project to edit window
            App.Current.Properties["project"] = projectDataGrid.SelectedItem;
            EditProjectWindow win = new EditProjectWindow();
            win.ShowDialog();
            App.Current.Properties["project"] = null;
            UpdateWindow();

        }
Esempio n. 2
0
 private void btnEditProject_Click(object sender, RoutedEventArgs e)
 {
     //edit project
     App.Current.Properties["project"] = App.Current.Properties["thisProject"];
     EditProjectWindow win = new EditProjectWindow();
     win.ShowDialog();
     App.Current.Properties["project"] = null;
     UpdateWindow();
 }