private void register_Click(object sender, RoutedEventArgs e) { MainScreen newScreens = new MainScreen(); newScreens.ShowDialog(); }
private void button2_Click(object sender, EventArgs e) { MainScreen newForm = new MainScreen(); newForm.ShowDialog(); }