コード例 #1
0
 public void MyIsOpenChanged()
 {
     this.IsOpenChanged += CmpFlyoutEvents.IsOpenChanged(() =>
     {
         this.IsFocus(false);
     },
                                                         () =>
     {
         this.IsFocus(true);
         this.IsOpenChanged -= CmpFlyoutEvents.IsOpenChanged;
     });
 }
コード例 #2
0
 public void MyIsOpenChanged()
 {
     this.IsOpenChanged += CmpFlyoutEvents.IsOpenChanged(() =>
     {
         this.IsFocus(false);
         this.txtNumeroReferencia.KeyUp += txtNumeroReferencia_KeyUp_1;
     },
                                                         () =>
     {
         IsSelectedItems();
         this.IsFocus(true);
         this.txtNumeroReferencia.KeyUp -= txtNumeroReferencia_KeyUp_1;
         this.IsOpenChanged             -= CmpFlyoutEvents.IsOpenChanged;
     });
 }
コード例 #3
0
 public void MyIsOpenChanged()
 {
     this.IsOpenChanged += CmpFlyoutEvents.IsOpenChanged(() =>
     {
         this.IsFocus(false);
         cbxOpcion.SelectionChanged        += cbxOpcion_SelectionChanged;
         dtpFechaDesde.SelectedDateChanged += _SelectedDateChanged;
         dtpFechaHasta.SelectedDateChanged += _SelectedDateChanged;
         this.txtFiltrar.KeyUp             += txtFiltrar_KeyUp_1;
         cbxOpcion.SelectedIndex            = 2;
         ObjECMP_OrdenCompra.Opcion         = "D";
     },
                                                         () =>
     {
         this.IsFocus(true);
         cbxOpcion.SelectionChanged        -= cbxOpcion_SelectionChanged;
         dtpFechaDesde.SelectedDateChanged -= _SelectedDateChanged;
         dtpFechaHasta.SelectedDateChanged -= _SelectedDateChanged;
         this.txtFiltrar.KeyUp             -= txtFiltrar_KeyUp_1;
         this.IsOpenChanged -= CmpFlyoutEvents.IsOpenChanged;
     });
 }