Пример #1
0
 private void label5_Click(object sender, EventArgs e)
 {
     if (burrito == null)
     {
         burrito             = new PBurro();
         burrito.Owner       = this;
         burrito.FormClosed += new FormClosedEventHandler(nachos_FormClosed);
         burrito.DemoText    = total1.Text;
         burrito.Show();
     }
     else
     {
         burrito.Activate();
     }
 }
Пример #2
0
 void nachos_FormClosed(object sender, FormClosedEventArgs e)
 {
     burrito = null;
 }