private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            ShowIntro();

            if (Properties.Settings.Default.IsFullscreen)
            {
                WindowsManager.OpenFullScreen(this);
            }
            else
            {
                WindowsManager.OpenNonFullScreen(this);
            }

            WindowsManager.ReopenWindow(this, WindowsManager.MenuWindow);
            this.Close();
        }
 private void Back_Click(object sender, RoutedEventArgs e)
 {
     WindowsManager.ReopenWindow(this, WindowsManager.MenuWindow);
 }
 private void Window_Closed(object sender, EventArgs e)
 {
     WindowsManager.CloseAll();
 }
 private void isFullscreen_Unchecked(object sender, RoutedEventArgs e)
 {
     GolemsWindows.Properties.Settings.Default.IsFullscreen = false;
     WindowsManager.OpenNonFullScreen(this);
     resolutinBox.IsEnabled = true;
 }
 private void Back_Click(object sender, RoutedEventArgs e)
 {
     GolemsWindows.Properties.Settings.Default.Save();
     WindowsManager.ReopenWindow(this, WindowsManager.MenuWindow);
 }
 private void Button_OpenCampany3(object sender, RoutedEventArgs e)
 {
     WindowsManager.CampanyWindow.ChooseCampany(3);
     WindowsManager.ReopenWindow(this, WindowsManager.CampanyWindow);
 }
		private void Exit_Click(object sender, RoutedEventArgs e) {
			WindowsManager.CloseAll();
		}
Beispiel #8
0
 private void Button_StartGame(object sender, RoutedEventArgs e)
 {
     WindowsManager.ReopenWindow(this, WindowsManager.GameWindow);
 }
		private void Credits_Click(object sender, RoutedEventArgs e) {
			WindowsManager.ReopenWindow(this, WindowsManager.CreditsWindow);
		}
		private void Achievements_Click(object sender, RoutedEventArgs e) {
			WindowsManager.ReopenWindow(this, WindowsManager.AchievementsWindow);
		}
		private void Settings_Click(object sender, RoutedEventArgs e) {
			WindowsManager.ReopenWindow(this, WindowsManager.SettingsWindow);
		}
		private void Campany_Click(object sender, RoutedEventArgs e) {
			WindowsManager.ReopenWindow(this, WindowsManager.AllCampaniesWindow);
		}
		private void Lobby_Click(object sender, RoutedEventArgs e) {
			WindowsManager.ReopenWindow(this, WindowsManager.LobbyWindow);
		}