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(); } }
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(); } }