Пример #1
0
 private void bw_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
 {
     this.Invoke((MethodInvoker) delegate
     {
         this.Hide();
         var gameSelectForm     = new gameSelection(rdrEnabled, mp3_xboxEnabled, mcEnabled, gtavEnabled);
         gameSelectForm.Closed += (sender2, args) => this.Close();
         gameSelectForm.Show();
     });
 }
Пример #2
0
 private void menu_changeGame_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     try
     {
         if (archiveFile != null)
         {
             archiveFile.Close();
         }
     }
     catch
     {
         MessageBox.Show("Failed to close the archive, please restart the application.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
     this.Hide();
     gameSelectForm.Show();
 }
Пример #3
0
 private void bw_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
 {
     this.Invoke((MethodInvoker)delegate
     {
         this.Hide();
         var gameSelectForm = new gameSelection(rdrEnabled, mp3_xboxEnabled, mcEnabled, gtavEnabled);
         gameSelectForm.Closed += (sender2, args) => this.Close();
         gameSelectForm.Show();
     });
 }