예제 #1
0
        private void traer_Proceso_Secado_AdminDataGridView_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            if (e.RowIndex < 0)
            {
                return;
            }
            FormSecado s = new FormSecado(2);

            s.Lbl_Recepcion.Text        = traer_Proceso_Secado_AdminDataGridView.Rows[e.RowIndex].Cells[nameof(dataGridViewTextBoxColumn1)].Value.ToString();
            s.Lbl_Recepcion.Visible     = true;
            s.label9.Visible            = true;
            s.CmbVariedad.Text          = traer_Proceso_Secado_AdminDataGridView.Rows[e.RowIndex].Cells[nameof(dataGridViewTextBoxColumn5)].Value.ToString();
            s.cod_Variedad              = Convert.ToInt32(traer_Proceso_Secado_AdminDataGridView.Rows[e.RowIndex].Cells[nameof(dataGridViewTextBoxColumn4)].Value.ToString());
            s.cod_ProductorTextBox.Text = traer_Proceso_Secado_AdminDataGridView.Rows[e.RowIndex].Cells[nameof(dataGridViewTextBoxColumn3)].Value.ToString();
            s.Show();
        }
예제 #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            var secado = new FormSecado(1);

            secado.Show();
        }