private void btnChartes36_Click(object sender, EventArgs e) { if (btnControlTicket.Enabled == false) { return; } Cursor.Current = Cursors.WaitCursor; btnControlTicket.Enabled = false; btnSincronizar.Enabled = false; btnConsultas.Enabled = false; btnSalir.Enabled = false; frmControlTicket frm = new frmControlTicket(); frm.tipoServicio = 4; //Chartes 36 frm.Show(); btnControlTicket.Enabled = true; btnSincronizar.Enabled = false; btnConsultas.Enabled = true; btnSalir.Enabled = true; Cursor.Current = Cursors.Default; }
private void btnControlTicket_Click(object sender, EventArgs e) { Cursor.Current = Cursors.WaitCursor; frmControlTicket frm = new frmControlTicket(); frm.tipoServicio = 1; //Normal frm.Show(); btnControlTicket.Enabled = true; btnSincronizar.Enabled = false; btnConsultas.Enabled = true; btnSalir.Enabled = true; Cursor.Current = Cursors.Default; }