private void TimerTipoPago_Tick(object sender, EventArgs e) { if (isCollapseTP) { PanelFormaPago.Height -= 10; if (PanelFormaPago.Size == PanelFormaPago.MinimumSize) { TimerTipoPago.Stop(); isCollapseTP = false; } } else { PanelFormaPago.Height += 10; if (PanelFormaPago.Size == PanelFormaPago.MaximumSize) { TimerTipoPago.Stop(); isCollapseTP = true; } } }
private void BtnCheque_Click(object sender, EventArgs e) { tipoPago = 3; button4.Text = "Cheque"; TimerTipoPago.Start(); }
private void BtnCredito_Click(object sender, EventArgs e) { tipoPago = 2; button4.Text = "Credito"; TimerTipoPago.Start(); }
private void BtnContado_Click(object sender, EventArgs e) { tipoPago = 1; button4.Text = "Contado"; TimerTipoPago.Start(); }
private void BtnFormaDePago_Click(object sender, EventArgs e) { TimerTipoPago.Start(); }