Esempio n. 1
0
 private void oc2_Click(object sender, EventArgs e)
 {
     try
     {
         List <pSeleccionarReng_emb_Result> pRemb = new List <pSeleccionarReng_emb_Result>();
         using (Profit_RGEntities context = new Profit_RGEntities())
         {
             Int32 Viaje = Convert.ToInt32(grdDatos[0, grdDatos.CurrentCell.RowIndex].Value);
             pRemb = context.pSeleccionarReng_emb(Viaje).ToList();
         }
         FrmEdoCta Fedo = new FrmEdoCta(pRemb);
         Fedo.Show();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, "Sipca", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
Esempio n. 2
0
        private void btnEdoCta_Click(object sender, EventArgs e)
        {
            FrmEdoCta Fedc = new FrmEdoCta(detalle);

            Fedc.Show();
        }