private void btn_addmod_Click(object sender, RoutedEventArgs e)
 {
     if (Properties.Settings.Default.gameversion == "ArmA3")
     {
         var window = new AddModsLaunchOptions(Properties.Settings.Default.ModPathA3.ToString());
         window.Show();
     }
     else if (Properties.Settings.Default.gameversion == "ArmA2"){
         var window = new AddModsLaunchOptions(Properties.Settings.Default.ModPathA2.ToString());
         window.Show();
     }
     btn_addmod.IsEnabled = false;
 }
Exemple #2
0
 private void btn_addmod_Click(object sender, RoutedEventArgs e)
 {
     if (Properties.Settings.Default.gameversion == "ArmA3")
     {
         var window = new AddModsLaunchOptions(Properties.Settings.Default.ModPathA3.ToString());
         window.Show();
     }
     else if (Properties.Settings.Default.gameversion == "ArmA2")
     {
         var window = new AddModsLaunchOptions(Properties.Settings.Default.ModPathA2.ToString());
         window.Show();
     }
     btn_addmod.IsEnabled = false;
 }