private void btnBuscar_Click(object sender, EventArgs e)
        {
            if (txtId.Text != "ID")
            {
                id = Convert.ToInt32(txtId.Text);

                try
                {
                    ArrayList datos = N_producto.BuscarProducto(id);

                    if (datos.Count > 0)
                    {
                        txtNombre.Text           = (string)datos[1];
                        txtCodigo.Text           = (string)datos[2];
                        txtExistencia.Text       = ((int)datos[3]).ToString();
                        dtpFecha.Value           = (DateTime)datos[4];
                        txtDescripcion.Text      = (string)datos[5];
                        cbCategoria.SelectedItem = (string)datos[6];
                        if ((bool)datos[7] == true)
                        {
                            rdbActivo.Checked = true;
                        }
                        else
                        {
                            rdbInactivo.Checked = true;
                        }

                        btnBuscar.Height         = 82;
                        btnAgregar.Visible       = false;
                        grpEstado.Enabled        = true;
                        txtId.ForeColor          = Color.Black;
                        txtNombre.ForeColor      = Color.Black;
                        txtCodigo.ForeColor      = Color.Black;
                        txtExistencia.ForeColor  = Color.Black;
                        txtDescripcion.ForeColor = Color.Black;
                        cbCategoria.ForeColor    = Color.Black;
                    }
                    else
                    {
                        MessageBox.Show("No se encontro el registro", "Advertencia", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
                        txtId.Text = "ID";
                    }
                }
                catch (Exception ex)
                {
                    MessageBox.Show(ex.ToString());
                }
            }
        }