I have this code:
When the message box is commented out, the array element doesn't get set. Why?!Code:protected override void OnClick(EventArgs e) { base.OnClick(e); //MessageBox.Show(""); game_board.iboard[(MousePosition.Y-Location.Y-30)/62, (MousePosition.X-Location.X-5)/62]=0; }




Reply With Quote