Пример #1
0
 private void bntCadTransportadora_Click(object sender, EventArgs e)
 {
     using (FrmTransportadora frm = new FrmTransportadora())
     {
         frm.ShowDialog();
     }
 }
Пример #2
0
 private void btnCadTransportadora_Click(object sender, EventArgs e)
 {
     using (FrmTransportadora frm = new FrmTransportadora())
     {
         int CodSelec = Convert.ToInt32(cbTransportadora.SelectedValue);
         frm._IDTRANSPORTADORA = CodSelec;
         frm.ShowDialog();
         GetDropTransportadora();
         cbTransportadora.SelectedValue = CodSelec;
     }
 }