private void button2_Click(object sender, EventArgs e)
 {
     try
     {
         if (tb_idformulario.Text != "")
         {
             this.dataGrid_ingresosumi.DataSource = null;
             this.dataGrid_ingresosumi.DataSource = Suministros_BLL.consulta_suministros_id(Convert.ToInt32(tb_idformulario.Text)).Copy();
         }
         else
         {
             this.dataGrid_ingresosumi.DataSource = null;
             this.dataGrid_ingresosumi.DataSource = Suministros_BLL.consulta_suministros().Copy();
         }
     }
     catch (Exception)
     {
         throw;
     }
 }
        private void cargarGridingreso_Suministros()
        {
            try
            {
                this.dataGrid_ingresosumi.DataSource = null;
                this.dataGrid_ingresosumi.DataSource = Suministros_BLL.consulta_suministros().Copy();

                dtproveedor = Suministros_BLL.consulta_proveedores_suministros().Copy();

                foreach (DataRow i in dtproveedor.Rows)
                {
                    cb_proveedor.Items.Add(i.ItemArray[1].ToString());
                }

                cb_proveedor.SelectedIndex = 0;
            }
            catch (Exception)
            {
                throw;
            }
        }