private void FacturarForm_Load(object sender, EventArgs e) { //explorer = new PosExplorer(); //DeviceInfo ObjDevicesInfo = explorer.GetDevice("CashDrawer", "LOGICAL DEVICE NAME for your cash drawer"); //myCashDrawer = (CashDrawer)explorer.CreateInstance(ObjDevicesInfo); numeroFactura_txt.Text = (Convert.ToInt32(F.NumeroFacturaSiguiente())).ToString("0000000"); cant_numtxt.Minimum = 1; cant_numtxt.Maximum = 100; //CrearDatagrid(); CalcularTotalOrden(); LlenarDataGrid(); }