private void btnGenerate_Click(object sender, EventArgs e) { m1 = new MazeItself(50); m1.GenerateMaze(); Draw(); }