コード例 #1
0
ファイル: FormSelectPiso.cs プロジェクト: xGacktx/SMIAV-Bares
 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();
     }
 }