예제 #1
0
        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;
            }
        }
예제 #2
0
 public static void startTheOtherRoles(dynamic mainWindow)
 {
     mainWindow.buttonHomeStart.Enabled = false;
     ModFunctions.startGame(Properties.Settings.Default.GamePath, checkInstallation(), mainWindow);
 }