Example #1
0
 void Clear()
 {
     clsComp.OpenDB();
     NComprobanteT.Text = clsComp.ObtenerNComprobante(CloudContable.Info[0]);
     clsComp.CloseDB();
     NChequeT.Text     = "";
     RazonSocialT.Text = "";
     GlosaT.Text       = "";
     TotalDebeT.Text   = "0.00";
     TotalHaberT.Text  = "0.00";
     Data1.Rows.Clear();
 }
Example #2
0
 public FComprobante()
 {
     InitializeComponent();
     clsComp = new ClsComprobante();
     clsComp.OpenDB();
     NComprobanteT.Text = clsComp.ObtenerNComprobante(CloudContable.Info[0]);
     clsComp.CloseDB();
     TipoComprobanteC.Items.Add("Diario");
     TipoComprobanteC.Items.Add("Ingreso");
     TipoComprobanteC.Items.Add("Egreso");
     TipoComprobanteC.SelectedIndex = 0;
     FechaComprobanteD.Format       = DateTimePickerFormat.Custom;
     FechaComprobanteD.CustomFormat = "dd/MM/yyyy";
     SendKeys.Send("{TAB}");
 }