示例#1
0
 private void button1_Click(object sender, EventArgs e)
 {
     if(garzon){
         this.Hide();
         GarzonUI1P L = new GarzonUI1P();
         L.Closed += (s, args) => this.Close();
         L.Show();
     }
     else
     {
         this.Hide();
         BartenderUI L = new BartenderUI(1);
         L.Closed += (s, args) => this.Close();
         L.Show();
     }
 }
示例#2
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (garzon)
     {
         this.Hide();
         GarzonUI1P L = new GarzonUI1P();
         L.Closed += (s, args) => this.Close();
         L.Show();
     }
     else
     {
         this.Hide();
         BartenderUI L = new BartenderUI(1);
         L.Closed += (s, args) => this.Close();
         L.Show();
     }
 }