Exemple #1
0
        private void FiltrosParaInventario()
        {
            if (filtInv == null)
            {
                filtInv = new FiltroInv.Filt();
            }

            var fMasFiltros = new FiltroInv(filtInv);

            fMasFiltros.FiltrosInvOk += fMasFiltros_FiltrosInvOk;;
            fMasFiltros.ShowDialog();
        }
Exemple #2
0
        private void LimpiarFiltros()
        {
            var msg = MessageBox.Show("Limpiar Filtros ?", "*** ALERTA ***", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button2);

            if (msg == System.Windows.Forms.DialogResult.Yes)
            {
                filtVenta  = new Filtros.Filt();
                filtCompra = new FiltroCompra.Filt();
                filtCxP    = new FiltroCxP.Filt();
                filtInv    = new FiltroInv.Filt();
                filtBanco  = new FiltroBanco.Filt();
            }
        }
Exemple #3
0
 private void fMasFiltros_FiltrosInvOk(object sender, FiltroInv.Filt e)
 {
     filtInv = e;
 }