Ejemplo n.º 1
0
 private void loadSaveGameBtn_Click(object sender, RoutedEventArgs e)
 {
     if (saveIsReal == true)
     {
         StartFromSave      = true;
         ASingleGameProcess = new single(AppLanguage, Name0, Name1, saveIsReal, rb0Result, rb1Result, isBetaOn, ScreenMode, StartFromSave);
         ((MainWindow)Window.GetWindow(this)).frame0.Content = ASingleGameProcess;
     }
 }
Ejemplo n.º 2
0
 private void nextBtn_Click(object sender, RoutedEventArgs e)
 {
     rbsChecking();
     if (Name0TB.Text != "" && Name1TB.Text != "" && rb0Checked == true && rb1Checked == true)
     {
         Name0              = Name0TB.Text;
         Name1              = Name1TB.Text;
         StartFromSave      = false;
         ASingleGameProcess = new single(AppLanguage, Name0, Name1, saveIsReal, rb0Result, rb1Result, isBetaOn, ScreenMode, StartFromSave);
         ((MainWindow)Window.GetWindow(this)).frame0.Content = ASingleGameProcess;
     }
 }