private void button5_Click(object sender, EventArgs e)
        {
            acum_neto_Tarjado = 0;
            int     tarja = 0;
            decimal peso_bruto;
            Boolean is_number = decimal.TryParse(Kg_Bruto.Text.Replace('.', ','), out peso_bruto);

            try
            {
                if ((acceso == 1) && (is_number))

                {
                    tarja = Convert.ToInt32(this.tarja_SecadoTableAdapter.Insertar_Tarja_Secado(Convert.ToInt16(Lbl_Recepcion.Text), Convert.ToInt16(cod_ProductorTextBox.Text), Convert.ToInt16(CmbVariedad.SelectedValue.ToString()), 5, Convert.ToInt16(productosComboBox.SelectedValue.ToString()), Convert.ToInt16(CmbEnvase.SelectedValue.ToString()), 1, tara_envase, Convert.ToInt16(CmbBaseBins.SelectedValue.ToString()), tara_base, peso_bruto, Convert.ToDecimal(Kg_Neto.Text), null, null));
                }
                else
                if ((acceso == 2) && (is_number))
                {
                    tarja = Convert.ToInt32(this.tarja_SecadoTableAdapter.Insertar_Tarja_Secado(Convert.ToInt16(Lbl_Recepcion.Text), Convert.ToInt16(cod_ProductorTextBox.Text), Convert.ToInt16(cod_Variedad), 5, Convert.ToInt16(productosComboBox.SelectedValue.ToString()), Convert.ToInt16(CmbEnvase.SelectedValue.ToString()), 1, tara_envase, Convert.ToInt16(CmbBaseBins.SelectedValue.ToString()), tara_base, peso_bruto, Convert.ToDecimal(Kg_Neto.Text), null, null));
                }
                if (MessageBox.Show("Tarja ingresado correctamente" + Environment.NewLine + "  Desea imprimir la tarja ??", "Anakena", MessageBoxButtons.YesNo, MessageBoxIcon.Information) == DialogResult.Yes)
                {
                    InformeTarjaSecado S = new InformeTarjaSecado("SE" + tarja.ToString());
                    S.ShowDialog();
                }
                else
                {
                }
            }
            catch (System.Data.SqlClient.SqlException ex)
            {
                MessageBox.Show(ex.Message);
            }
            Calculo_Totales_tarjas_secas();
        }
        private void traer_Tarjas_SecasDataGridView_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            int fila    = e.RowIndex;
            int columna = e.ColumnIndex;

            if (e.RowIndex < 0)
            {
                return;
            }
            if (e.ColumnIndex == 20)
            {
                InformeTarjaSecado S = new InformeTarjaSecado(traer_Tarjas_SecasDataGridView.Rows[e.RowIndex].Cells[nameof(dataGridViewTextBoxColumn16)].Value.ToString());
                S.ShowDialog();
            }
        }