Example #1
0
        private void изменитьРазмерToolStripMenuItem_Click(object sender, EventArgs e)
        {
            timer1.Enabled = false;
            NewSize form = new NewSize();

            form.ShowDialog();
            int _size = form.Size;

            if (_size != -1)
            {
                NewField(_size);
                game = new GameLibrary1(_size);
                StartGame();
            }
            timer1.Enabled = true;
        }