private void btnLuanchGame_Click(object sender, RoutedEventArgs e) { ArrayList log = new ArrayList(); OAWrapper.LaunchGame(this.tbxGameLauncher.Text, this.tbxLauncherArg.Text, ref log); if (log.Count != 0) { ErrorLog errForm = new ErrorLog(log); errForm.Show(); } }
private void btnSetPops_Click(object sender, RoutedEventArgs e) { ArrayList log = new ArrayList(); OAWrapper.SetPops(this.tbxWrapperFile.Text, this.tbxGamePath.Text, gSettingNames, gSettingTypes, gSettingValues, ref log); if (log.Count != 0) { ErrorLog errForm = new ErrorLog(log); errForm.Show(); } }