Esempio n. 1
0
 private void btnAniadir_Click(object sender, EventArgs e)
 {
     XPCollection xpcConceptoAnidada = new XPCollection(uowAnidada, xpcConcepto, new GroupOperator(GroupOperatorType.And, new BinaryOperator("This", concepto, BinaryOperatorType.Equal)));
     if (xpcConceptoAnidada.Count != 0)
     {
         Concepto concepto1 = (Concepto)(xpcConceptoAnidada[0]);
         FrmPercepcionBase frmpercepcionbase = new FrmPercepcionBase(xpcPercepcionBase, uow, xpcCuentaContable, xpcConceptoDetalle, concepto1, xpcConceptoDetalleAnidada, uowAnidada);
         frmpercepcionbase.ShowDialog();
     }
 }
Esempio n. 2
0
 private void btnPercepcionBase_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     FrmPercepcionBase frmpercepcionbase = new FrmPercepcionBase(xpcPercepcionBase, uow, xpcCuentaContable,xpcConceptoDetalle);
     frmpercepcionbase.btnAsignar.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
     frmpercepcionbase.ShowDialog();
 }