예제 #1
0
        private void dgZonas_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            iProdId = Convert.ToInt32(cmbProducto.SelectedValue);

            iId = Convert.ToInt32(dgZonas.CurrentRow.Cells[0].Value);
            frmZonaEnvioEdit x = new frmZonaEnvioEdit(iProdId, iId);

            x.ShowDialog();
        }
예제 #2
0
        private void btnAgregar_Click(object sender, EventArgs e)
        {
            iProdId = Convert.ToInt32(cmbProducto.SelectedValue);


            frmZonaEnvioEdit x = new frmZonaEnvioEdit(iProdId, -1);

            x.ShowDialog();

            BuscarDatosIniciales();
        }