private void buttonHomeStart_Click(object sender, EventArgs e) { switch (selectedMod) { case "The Other Roles": TheOtherRoles.TheOtherRoles.startTheOtherRoles(this); break; default: ModFunctions.startGame(Properties.Settings.Default.GamePath, true, this); break; } }
public static void startTheOtherRoles(dynamic mainWindow) { mainWindow.buttonHomeStart.Enabled = false; ModFunctions.startGame(Properties.Settings.Default.GamePath, checkInstallation(), mainWindow); }