public EnterWordsForm(Puzzle puzzle, MainForm form) { InitializeComponent(); this.puzzle = puzzle; this.form = form; }
private void button1_Click(object sender, EventArgs e) { int size = int.Parse(sizeBox.Text); MainForm mainForm = new MainForm(size); mainForm.Show(); Hide(); }