Ejemplo n.º 1
0
 protected void OnButtonLaunchClicked(object sender, EventArgs e)
 {
     Launch.VersionName = comboboxVersion.ActiveText;
     if (Thread.CurrentThread.CurrentUICulture.Name.Contains("ja"))
     {
         Launch.ChangeOption(Environment.CurrentDirectory, 1);
     }
     else if (Thread.CurrentThread.CurrentUICulture.Name.Contains("zh"))
     {
         Launch.ChangeOption(Environment.CurrentDirectory, 2);
     }
     else
     {
         Launch.ChangeOption(Environment.CurrentDirectory, 0);
     }
     Launch.VLW(this, entryUsername.Text, entryPassword.Text, ((int)spinbuttonMemory.Value).ToString(), Environment.CurrentDirectory, checkbuttonFullScreen.Active);
     Sortie();
 }