예제 #1
0
        private void Button_back_Click(object sender, RoutedEventArgs e)
        {
            ProjectChefWindow ManagerWindow = new ProjectChefWindow(mvm);

            ManagerWindow.Show();
            this.Close();
        }
예제 #2
0
 private void btn_saveNewAgregat_Click_(object sender, RoutedEventArgs e)
 {
     Utility.SaveFile(sourcePath, orderNumber, justFileName);
     mvm.AddVentilationAggregate(justFileName.Substring(0, justFileName.IndexOf(".") - 1));
     projectBossWindow = new ProjectChefWindow(mvm);
     projectBossWindow.Show();
     this.Close();
 }
예제 #3
0
        private void btn_OpenAggregateFile_Click(object sender, RoutedEventArgs e)
        {
            (string df, string tp) = Utility.FindFile();
            string destFile = df;
            string NewPath  = Path.Combine(filename, destFile + System.IO.Path.GetFileName(filename));

            Process.Start(new ProcessStartInfo(NewPath)
            {
                UseShellExecute = true
            });

            ProjectChefWindow ManagerWindow = new ProjectChefWindow(mvm);

            ManagerWindow.Show();
            this.Close();
        }