private void EditPromo()
        {
            DarkForm darkForm = new DarkForm();
            PanelProveedoresPromosAddEdit proveedoresPromosAddEdit = new PanelProveedoresPromosAddEdit(this.proveedor, new Oferta(int.Parse(this.PromoGridView.SelectedRows[0].Cells[0].Value.ToString())));

            darkForm.Show();
            if (proveedoresPromosAddEdit.ShowDialog() == DialogResult.OK)
            {
                this.loadPromos();
            }
            darkForm.Close();
        }
        private void AddRowBtn_Click(object sender, EventArgs e)
        {
            AutoCompleteStringCollection barcodes     = new AutoCompleteStringCollection();
            AutoCompleteStringCollection descriptions = new AutoCompleteStringCollection();

            foreach (DataRow row in (InternalDataCollectionBase)Producto.fillTable().Rows)
            {
                barcodes.Add(row["Código de Barras"].ToString());
                descriptions.Add(row["Descripción"].ToString().ToLower());
            }
            PanelProveedoresPromosAddEdit proveedoresPromosAddEdit = new PanelProveedoresPromosAddEdit(this.proveedor, barcodes, descriptions);
            DarkForm darkForm = new DarkForm();

            darkForm.Show();
            if (proveedoresPromosAddEdit.ShowDialog() == DialogResult.OK)
            {
                this.loadPromos();
            }
            darkForm.Close();
        }