private void Frm_Inventario_Ciego_Buscar_Shown(object sender, EventArgs e) { dtgValFoliosInventario.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFullFocus; dtgValFoliosInventario.OptionsSelection.EnableAppearanceFocusedCell = false; CLS_InventarioCiego sel = new CLS_InventarioCiego(); sel.EEstatus = Estatus; sel.MtdSeleccionarFolioPendiente(); if (sel.Exito) { if (sel.Datos.Rows.Count > 0) { dtgFoliosInventario.DataSource = sel.Datos; } } }
private bool Enviados() { Boolean Valor = false; CLS_InventarioCiego sel = new CLS_InventarioCiego(); sel.EEstatus = "Enviado"; sel.MtdSeleccionarFolioPendiente(); if (sel.Exito) { if (sel.Datos.Rows.Count > FoliosEnviados && GeneraFolios == false) { //EnviarCorreo(); Valor = true; } else { Valor = false; } } return(Valor); }