예제 #1
0
        //INICIALIZADOR DE COMPONENTES
        public AltaProductos(VistaProductos vp)
        {
            InitializeComponent();

            _vp     = vp;
            _ap_ctr = new AltaProductosController(this);
        }
예제 #2
0
        public ModificacionesProductos(VistaProductos vp)
        {
            InitializeComponent();

            _vp     = vp;
            _mp_ctr = new ModificacionProductosController(this);
        }
예제 #3
0
        private void btnProductos_Click(object sender, EventArgs e)
        {
            VistaProductos VP = new VistaProductos(_user);

            VP.Show();
        }
 public VistaProductosController(VistaProductos vp)
 {
     _vp   = vp;
     _pdao = new ProductosDao();
 }
 public void searchProductsIntoDb(VistaProductos _vp)
 {
     prod_Dao.SearchProducts(_vp.dgvProductos);
 }
 public ModificacionProductosController(VistaProductos vp)
 {
     _vp = vp;
 }
 public DeleteProductosController(VistaProductos dp)
 {
     _dp = dp;
 }
 public AltaProductosController(VistaProductos vp)
 {
     _vp = vp;
 }