private void prostaToolStripMenuItem_Click(object sender, EventArgs e) { //obsluga dynamicznego buttona /* * Button b = new Button(); * b.Location = new Point(50, 50); * b.Size = new Size(100, 100); * b.Text = "Dynamiczny Button"; * b.Click += B_Click; * this.Controls.Add(b); */ myGame = new SaperLogic(8, 8, 10); generateView(); }
private void trudnaToolStripMenuItem_Click(object sender, EventArgs e) { myGame = new SaperLogic(20, 15, 50); generateView(); }
private void sredniaToolStripMenuItem_Click(object sender, EventArgs e) { myGame = new SaperLogic(12, 10, 25); generateView(); }