private void button3_Click(object sender, EventArgs e) { tipoTurno = Clases.Turnos.tipoTurno.Servicios; tabControl1.TabPages.Insert(1, tabPage3); tabControl1.SelectTab(1); tabControl1.TabPages.Remove(tabPage2); }
private void button4_Click(object sender, EventArgs e) { tipoTurno = Clases.Turnos.tipoTurno.Caja; tabControl1.SelectedIndex = 2; tabControl1.TabPages.Insert(1, tabPage3); tabControl1.SelectTab(1); tabControl1.TabPages.Remove(tabPage2); }