private void btnNuevo_Click_1(object sender, EventArgs e)
        {
            EstadoSolicitud prdu = new EstadoSolicitud();

            prdu.MdiParent           = this.MdiParent;
            prdu.btnEditar.Enabled   = false;
            prdu.btnEliminar.Enabled = false;
            prdu.txtCodigo.ReadOnly  = true;
            this.Hide();
            //prdu.btnEditar.Enabled = false;
            //prdu.btnEliminar.Enabled = false;
            prdu.Show();
        }
        private void grdInventario_CellContentClick_1(object sender, DataGridViewCellEventArgs e)
        {
            var    dataIndexNo = grdInventario.Rows[e.RowIndex].Index.ToString();
            string cellValue   = grdInventario.Rows[e.RowIndex].Cells[1].Value.ToString();

            string idProveedor = grdInventario.Rows[e.RowIndex].Cells[0].Value.ToString();
            string nombre      = grdInventario.Rows[e.RowIndex].Cells[1].Value.ToString();


            EstadoSolicitud frm = new EstadoSolicitud();

            frm.txtCodigo.Text = idProveedor;
            frm.txtNombre.Text = nombre;



            frm.btnEditar.Enabled   = true;
            frm.btnEliminar.Enabled = true;
            frm.btnGuardar.Enabled  = false;
            frm.txtCodigo.ReadOnly  = true;
            frm.ShowInTaskbar       = false;
            frm.StartPosition       = FormStartPosition.CenterParent;
            frm.ShowDialog(mostrarMenu.ActiveForm);
        }