public EnterWordsForm(Puzzle puzzle, MainForm form)
        {
            InitializeComponent();

            this.puzzle = puzzle;
            this.form = form;
        }
Пример #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            int size = int.Parse(sizeBox.Text);

            MainForm mainForm = new MainForm(size);
            mainForm.Show();

            Hide();
        }