示例#1
0
 void grdItems_ValueChanged(object sender, EventArgs e)
 {
     try
     {
         if (grdItems.ActiveEditor is RadCheckBoxEditor)
         {
             grdItems.EndEdit();
             grdItems.EndUpdate();
             BSItems.EndEdit();
             Presenter.ItemsGrillaDet_Tarifa = (ObservableCollection <Det_Tarifa>)BSItems.DataSource;
         }
     }
     catch (Exception ex)
     { Dialogos.MostrarMensajeError(Presenter.Title, "Ha ocurrido una error al activar la casilla de verificación", ex); }
 }
示例#2
0
 void grdItems_ValueChanged(object sender, EventArgs e)
 {
     try
     {
         if (!(grdItems.ActiveEditor is RadCheckBoxEditor))
         {
             return;
         }
         grdItems.EndEdit();
         grdItems.EndUpdate();
         BSItems.EndEdit();
         //Presenter.Items = (ObservableCollection<DocsVta>)BSItems.DataSource;
     }
     catch (Exception ex)
     { Infrastructure.WinForms.Controls.Dialogos.MostrarMensajeError(Presenter.Title, "Ha ocurrido una error al activar la casilla", ex); }
 }