public MainForm(AtomicBomberman game) { InitializeComponent(); this.game = game; kOne0 = createKeyPad(spKeys0); kTwo0 = createKeyPad(tpKeys0); kTwo1 = createKeyPad(tpKeys1); }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); AtomicBomberman game = AtomicBomberman.construct(); if (game == null) { MessageBox.Show("Please place the Launcher in the same directory as the \"BM95.EXE\" game file.", "Atomic Bomberman not found!", MessageBoxButtons.OK, MessageBoxIcon.Information); return; } Application.Run(new MainForm(game)); }