Exemplo n.º 1
0
        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();
        }
Exemplo n.º 2
0
 private void trudnaToolStripMenuItem_Click(object sender, EventArgs e)
 {
     myGame = new SaperLogic(20, 15, 50);
     generateView();
 }
Exemplo n.º 3
0
 private void sredniaToolStripMenuItem_Click(object sender, EventArgs e)
 {
     myGame = new SaperLogic(12, 10, 25);
     generateView();
 }