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