public frmMain() { InitializeComponent(); this.frmMain_Load(); frmFlashScreen afrmFlashScreen = new frmFlashScreen(); afrmFlashScreen.ShowDialog(); frmNewGame afrmNewGame = new frmNewGame(this); afrmNewGame.ShowDialog(); this.Refresh(); terCountdownClock.Start(); this.CreateVehicle(); this.LoadPlayer(); this.PlayingProcess(); }
public frmNewGame_Step2(frmNewGame afrmNewGame, int player, int money, int dice) { InitializeComponent(); this.player = player; this.money = money; this.dice = dice; if(this.player == 2) { grcPlayer3.Enabled = false; grcPlayer4.Enabled = false; } else { if(this.player == 3) { grcPlayer4.Enabled = false; } } this.afrmNewGame = afrmNewGame; }