Esempio n. 1
0
        private void btnRun_Click(object sender, RoutedEventArgs e)
        {
            MessageBoxResult result = MessageBox.Show("Do you want to run the expirment? You have to wait while the program is procssing.", "Confirmation", MessageBoxButton.YesNo, MessageBoxImage.Question);

            if (result == MessageBoxResult.Yes)
            {
                this.invokeFortranProgram();
                WindowPlot winPlot = new WindowPlot();
                winPlot.ShowDialog();
            }
        }
Esempio n. 2
0
        private void btnPrint_Click(object sender, RoutedEventArgs e)
        {
            WindowPlot winPlot = new WindowPlot();

            winPlot.ShowDialog();
        }