Exemplo n.º 1
0
 public Form2(Rain f)
 {
     InitializeComponent();
     if (Rain.Miss >= 5)
     {
         this.Text   = "Miss";
         label1.Text = "Вы устроили потоп =(";
     }
     if (Rain.Count >= 15)
     {
         this.Text   = "Victory";
         label1.Text = "Поздравляем с победой!";
     }
     Rain.Miss  = 0;
     Rain.Count = 0;
     _f         = f;
     f.Hide();
 }
Exemplo n.º 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            Rain new_game = new Rain(this);

            new_game.Show();
        }