Exemple #1
0
        private void register_Click(object sender, RoutedEventArgs e)
        {
            MainScreen newScreens = new MainScreen();

            newScreens.ShowDialog();
        }
Exemple #2
0
        private void button2_Click(object sender, EventArgs e)
        {
            MainScreen newForm = new MainScreen();

            newForm.ShowDialog();
        }