Beispiel #1
0
 private void modListBox_ItemCheck(Object sender, ItemCheckEventArgs e)
 {
     if (StartButton.Enabled == false && modListBox.SelectedItem.ToString() != null)
     {
         string value = modListBox.SelectedItem.ToString() + ".pak";
         if (e.NewValue.ToString() == "Checked")
         {
             MaPro.AddingModsInText(value);
         }
         else
         {
             MaPro.RemovingModsInText(value);
         }
     }
 }