Ejemplo n.º 1
0
        private void StartButton_Click(object sender, RoutedEventArgs e)
        {
            this.creationForm = new CreationForm();
            creationForm.Show();

            //this.Hide();
            //Console.WriteLine("Start button was clicked");
        }
Ejemplo n.º 2
0
        //When Next button is clicked
        private void NextButton_Click(object sender, RoutedEventArgs e)
        {
            CreationForm currentForm = ((MainWindow)System.Windows.Application.Current.MainWindow).creationForm;
            ResultsTab   currentResultsTabControl = currentForm.ResultsTabControl;

            currentForm.TabController.SelectedIndex += 1;
            currentForm.ResultsTabLabel.Visibility   = Visibility.Visible;
            currentResultsTabControl.Field1.Text     = currentForm.InfoPageControl.FirstNameForm.Text;
        }