private void BackButton_Click(object sender, RoutedEventArgs e)
        {
            Console.WriteLine("Clicked on back");
            processSelection processWindow = new processSelection();

            processWindow.setMain(main);
            processWindow.ShowDialog();
            this.Close();
        }
Exemplo n.º 2
0
        private void createNew_Click(object sender, RoutedEventArgs e)
        {
            processSelection processWindow = new processSelection();

            this.Topmost = false;
            // We pass the main window from MainWindow into processSelection.
            processWindow.setMain(main);
            processWindow.Show();

            passedVis = processWindow.returnVis();
            this.Close();
        }