private void RunUplayVersion_Click(object sender, RoutedEventArgs e) { if (R6SFile.CheckSteamVersion()) { R6SFile.RecoveryUplayFiles(); SetR6SState(); } System.Diagnostics.Process.Start("uplay://launch/635/0"); }
private void RunSteamVersion_Click(object sender, RoutedEventArgs e) { if (!R6SFile.CheckSteamVersion()) { R6SFile.RecoverySteamFiles(); SetR6SState(); } System.Diagnostics.Process.Start("steam://run/359550"); }
private void SetR6SState() { if (R6SFile.CheckSteamVersion()) { R6SState.Content = Properties.Resources.CurrentVersionSteam; } else { R6SState.Content = Properties.Resources.CurrentVersionUplay; } }
private void SaveUplayFile_Click(object sender, RoutedEventArgs e) { if (!R6SFile.CheckSteamVersion()) { R6SFile.BackupUplayFiles(); MessageBox.Show(Properties.Resources.BackupSuccessfully); } else { MessageBox.Show("请确认目前的彩虹六号为Uplay版"); } SetR6SSaveState(); }
private void AdaptR6SButton_Click(object sender, RoutedEventArgs e) { if (R6SFile.CheckSteamBackup() && R6SFile.CheckUplayBackup()) { if (R6SFile.CheckSteamVersion()) { R6SFile.RecoveryUplayFiles(); MessageBox.Show(Properties.Resources.SwitchSuccess); } else { R6SFile.RecoverySteamFiles(); MessageBox.Show(Properties.Resources.SwitchSuccess); } SetR6SState(); } else { MessageBox.Show(Properties.Resources.PleaseBackupFilesFirst); } }