Ejemplo n.º 1
0
 public void closeSplashScreen()
 {
     MainWindow Mainscreen = new MainWindow();
     Mainscreen.Show();
     this.Close();
     f.Stop();
     f.Equals(null);
 }
Ejemplo n.º 2
0
 private void mainMenuButton_Click(object sender, RoutedEventArgs e)
 {
     MainWindow getBack = new MainWindow();                          //Creates a main screen object
     getBack.Show();
     getBack.Focus();                                                //Changes the focus to the main form (avoids a second click)
     this.Close();
 }