Example #1
0
        private void btnAgregar_Click(object sender, EventArgs e)
        {
            agregarStock agregar1 = new agregarStock();

            //agregar1.Show();
            //System.Console.WriteLine("OKOKOKKK");
            if (DialogResult.OK == agregar1.ShowDialog())
            {
                //dgvStock.AutoGenerateColumns = false;
                dgvStock.DataSource = mbl.listarMerchandising();
            }
        }
Example #2
0
 public EscogerMerchandising(frmSolicitudes p, SolicitudInscripcionActividad SIASIAseleccionad)
 {
     InitializeComponent();
     this.SIAseleccionado = SIASIAseleccionad;
     this.parent          = p;
     parent.Enabled       = false;
     mbl = new MerchandisingBL();
     lm  = new BindingList <Merchandising>();
     lm  = mbl.listarMerchandising();
     cmbx_tipoProceso.DataSource = lm;
 }
Example #3
0
        public frmGestStock()
        {
            InitializeComponent();
            mbl = new MerchandisingBL();
            dgvStock.DataSource = mbl.listarMerchandising();
            //cambios
            dgvStock.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.AllCells;
            dgvStock.ScrollBars          = ScrollBars.Both;
            dgvStock.ForeColor           = Color.Black;
            //dgvStock.AlternatingRowsDefaultCellStyle.BackColor = Color.LightCyan;
            dgvStock.DefaultCellStyle.WrapMode = DataGridViewTriState.True;

            //
            disenio_tabla();
            rbNombre.Checked = true;
        }