/// <summary>
        /// Gets a tool tip for a date passed in. Could also return null
        /// </summary>
        /// The 'values' array parameter has the following elements:
        ///
        /// • values[0] = Binding #1: The date to be looked up. This should be set up as a pathless binding;
        ///   the Calendar control will provide the date.
        ///
        /// • values[1] = Binding #2: A binding reference to the Calendar control that is invoking this converter.
        /// </remarks>
        public object Convert(object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture)
        {
            // Exit if values not set
            if ((values[0] == null) || (values[1] == null))
            {
                return(null);
            }

            // Get values passed in
            DateTime     targetDate = (DateTime)values[0];
            DatePickerEx dp         = (DatePickerEx)values[1];

            var range = dp.BlackoutDates.Where(x => x.Start.IsSameDateAs(targetDate));

            if (range.Count() > 0)
            {
                Dictionary <CalendarDateRange, string> blackOutDatesTextLookup =
                    (Dictionary <CalendarDateRange, string>)dp.GetValue(CalendarProps.BlackOutDatesTextLookupProperty);

                return(blackOutDatesTextLookup[range.First()]);
            }
            else
            {
                return(null);
            }
        }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\pages\Factura_Sunat.xaml"
                ((FEI.pages.Factura_Sunat)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden

            #line 8 "..\..\..\pages\Factura_Sunat.xaml"
                ((FEI.pages.Factura_Sunat)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Page_KeyDown);

            #line default
            #line hidden
                return;

            case 2:

            #line 250 "..\..\..\pages\Factura_Sunat.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DetalleItem_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 251 "..\..\..\pages\Factura_Sunat.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.XMLEnvio_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 252 "..\..\..\pages\Factura_Sunat.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.XMLRecepcion_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.datePick_inicio = ((FEI.pages.DatePickerEx)(target));
                return;

            case 7:
                this.datePick_fin = ((FEI.pages.DatePickerEx)(target));
                return;

            case 8:
                this.lstTipoDocumento = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 9:

            #line 338 "..\..\..\pages\Factura_Sunat.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnConsultar_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.imageButton = ((System.Windows.Controls.Image)(target));
                return;

            case 11:
                this.dgDocumentos = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 12:
                this.chkAll = ((System.Windows.Controls.CheckBox)(target));

            #line 363 "..\..\..\pages\Factura_Sunat.xaml"
                this.chkAll.Checked += new System.Windows.RoutedEventHandler(this.chkAll_Checked);

            #line default
            #line hidden

            #line 363 "..\..\..\pages\Factura_Sunat.xaml"
                this.chkAll.Unchecked += new System.Windows.RoutedEventHandler(this.chkAll_Unchecked);

            #line default
            #line hidden
                return;

            case 14:
                this.btnDescargarXML = ((System.Windows.Controls.Button)(target));

            #line 518 "..\..\..\pages\Factura_Sunat.xaml"
                this.btnDescargarXML.Click += new System.Windows.RoutedEventHandler(this.btnDescargarXML_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.imgBtnDescargarXML = ((System.Windows.Controls.Image)(target));
                return;

            case 16:
                this.lblBtnDescargarXML = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.btnEnviar = ((System.Windows.Controls.Button)(target));

            #line 526 "..\..\..\pages\Factura_Sunat.xaml"
                this.btnEnviar.Click += new System.Windows.RoutedEventHandler(this.btnEnviar_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.image = ((System.Windows.Controls.Image)(target));
                return;

            case 19:
                this.TextBoton = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 3
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 8 "..\..\..\pages\ComunicacionBaja_Sunat.xaml"
     ((FEI.pages.ComunicacionBaja_Sunat)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);
     
     #line default
     #line hidden
     
     #line 8 "..\..\..\pages\ComunicacionBaja_Sunat.xaml"
     ((FEI.pages.ComunicacionBaja_Sunat)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Page_KeyDown);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 12 "..\..\..\pages\ComunicacionBaja_Sunat.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 13 "..\..\..\pages\ComunicacionBaja_Sunat.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuDescartar_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.label = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.datePick_inicio = ((FEI.pages.DatePickerEx)(target));
     return;
     case 6:
     this.datePick_fin = ((FEI.pages.DatePickerEx)(target));
     return;
     case 7:
     
     #line 106 "..\..\..\pages\ComunicacionBaja_Sunat.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnConsultar_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.imageButton = ((System.Windows.Controls.Image)(target));
     return;
     case 9:
     this.dgComprobantesBaja = ((System.Windows.Controls.DataGrid)(target));
     
     #line 123 "..\..\..\pages\ComunicacionBaja_Sunat.xaml"
     this.dgComprobantesBaja.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dgComprobantesBaja_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 11:
     this.Detalle = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.dgComprobantes = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 13:
     this.btnDescartar = ((System.Windows.Controls.Button)(target));
     
     #line 369 "..\..\..\pages\ComunicacionBaja_Sunat.xaml"
     this.btnDescartar.Click += new System.Windows.RoutedEventHandler(this.btnDescartar_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.imageDescartar = ((System.Windows.Controls.Image)(target));
     return;
     case 15:
     this.TextBotonDescartar = ((System.Windows.Controls.Label)(target));
     return;
     case 16:
     this.btnRefrescar = ((System.Windows.Controls.Button)(target));
     
     #line 377 "..\..\..\pages\ComunicacionBaja_Sunat.xaml"
     this.btnRefrescar.Click += new System.Windows.RoutedEventHandler(this.btnRefrescar_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this.imageRefrescar = ((System.Windows.Controls.Image)(target));
     return;
     case 18:
     this.TextBotonRefrescar = ((System.Windows.Controls.Label)(target));
     return;
     case 19:
     this.btnTicket = ((System.Windows.Controls.Button)(target));
     
     #line 383 "..\..\..\pages\ComunicacionBaja_Sunat.xaml"
     this.btnTicket.Click += new System.Windows.RoutedEventHandler(this.btnTicket_Click);
     
     #line default
     #line hidden
     return;
     case 20:
     this.image = ((System.Windows.Controls.Image)(target));
     return;
     case 21:
     this.TextBoton = ((System.Windows.Controls.Label)(target));
     return;
     case 22:
     this.btnSunat = ((System.Windows.Controls.Button)(target));
     
     #line 389 "..\..\..\pages\ComunicacionBaja_Sunat.xaml"
     this.btnSunat.Click += new System.Windows.RoutedEventHandler(this.btnSunat_Click);
     
     #line default
     #line hidden
     return;
     case 23:
     this.imageSunat = ((System.Windows.Controls.Image)(target));
     return;
     case 24:
     this.TextBotonSunat = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\pages\Retencion_Sunat.xaml"
                ((FEI.pages.Retencion_Sunat)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden

            #line 8 "..\..\..\pages\Retencion_Sunat.xaml"
                ((FEI.pages.Retencion_Sunat)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Page_KeyDown);

            #line default
            #line hidden
                return;

            case 2:

            #line 13 "..\..\..\pages\Retencion_Sunat.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.XMLEnvio_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 14 "..\..\..\pages\Retencion_Sunat.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.XMLRecepcion_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.datePick_inicio = ((FEI.pages.DatePickerEx)(target));
                return;

            case 6:
                this.datePick_fin = ((FEI.pages.DatePickerEx)(target));
                return;

            case 7:

            #line 100 "..\..\..\pages\Retencion_Sunat.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnConsultar_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.imageButton = ((System.Windows.Controls.Image)(target));
                return;

            case 9:
                this.dgComprobantesFactura = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 10:
                this.chkAll = ((System.Windows.Controls.CheckBox)(target));

            #line 125 "..\..\..\pages\Retencion_Sunat.xaml"
                this.chkAll.Checked += new System.Windows.RoutedEventHandler(this.chkAll_Checked);

            #line default
            #line hidden

            #line 125 "..\..\..\pages\Retencion_Sunat.xaml"
                this.chkAll.Unchecked += new System.Windows.RoutedEventHandler(this.chkAll_Unchecked);

            #line default
            #line hidden
                return;

            case 12:
                this.btnDescartar = ((System.Windows.Controls.Button)(target));

            #line 295 "..\..\..\pages\Retencion_Sunat.xaml"
                this.btnDescartar.Click += new System.Windows.RoutedEventHandler(this.btnDescartar_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.btnEnviar = ((System.Windows.Controls.Button)(target));

            #line 303 "..\..\..\pages\Retencion_Sunat.xaml"
                this.btnEnviar.Click += new System.Windows.RoutedEventHandler(this.btnEnviar_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.image = ((System.Windows.Controls.Image)(target));
                return;

            case 15:
                this.TextBoton = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\pages\Reporte_Boleta.xaml"
                ((FEI.pages.Reporte_Boleta)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden

            #line 8 "..\..\..\pages\Reporte_Boleta.xaml"
                ((FEI.pages.Reporte_Boleta)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Page_KeyDown);

            #line default
            #line hidden
                return;

            case 2:

            #line 11 "..\..\..\pages\Reporte_Boleta.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DetalleItem_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.cboTipoComprobante = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 5:
                this.cboEstadoSCC = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 6:
                this.cboEstadoSunat = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 7:
                this.datePick_inicio = ((FEI.pages.DatePickerEx)(target));
                return;

            case 8:
                this.datePick_fin = ((FEI.pages.DatePickerEx)(target));
                return;

            case 9:

            #line 108 "..\..\..\pages\Reporte_Boleta.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnConsulta_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.imageButton = ((System.Windows.Controls.Image)(target));
                return;

            case 11:
                this.dgComprobantes = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 12:
                this.cboDownload = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 13:

            #line 295 "..\..\..\pages\Reporte_Boleta.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnReporte_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\pages\Receptor_Compras.xaml"
                ((FEI.pages.Receptor_Compras)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.datePick_inicio = ((FEI.pages.DatePickerEx)(target));
                return;

            case 4:
                this.datePick_fin = ((FEI.pages.DatePickerEx)(target));
                return;

            case 5:
                this.Buscar = ((System.Windows.Controls.Button)(target));

            #line 54 "..\..\..\pages\Receptor_Compras.xaml"
                this.Buscar.Click += new System.Windows.RoutedEventHandler(this.ButtonBuscar_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.periodoMesRCompras = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 7:
                this.periodoAnioRCompras = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 8:
                this.BuscarRegistroComprasPeriodo = ((System.Windows.Controls.Button)(target));

            #line 80 "..\..\..\pages\Receptor_Compras.xaml"
                this.BuscarRegistroComprasPeriodo.Click += new System.Windows.RoutedEventHandler(this.ButtonBuscarRegistroComprasPeriodo_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.dgDocumentos = ((System.Windows.Controls.DataGrid)(target));

            #line 119 "..\..\..\pages\Receptor_Compras.xaml"
                this.dgDocumentos.CellEditEnding += new System.EventHandler <System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.dgDocumentos_CellEditEnding);

            #line default
            #line hidden

            #line 119 "..\..\..\pages\Receptor_Compras.xaml"
                this.dgDocumentos.RowEditEnding += new System.EventHandler <System.Windows.Controls.DataGridRowEditEndingEventArgs>(this.DataGrid_RowEditEnding);

            #line default
            #line hidden
                return;

            case 10:
                this.chkAllRC = ((System.Windows.Controls.CheckBox)(target));

            #line 127 "..\..\..\pages\Receptor_Compras.xaml"
                this.chkAllRC.Checked += new System.Windows.RoutedEventHandler(this.chkAll_CheckedRC);

            #line default
            #line hidden

            #line 127 "..\..\..\pages\Receptor_Compras.xaml"
                this.chkAllRC.Unchecked += new System.Windows.RoutedEventHandler(this.chkAll_UncheckedRC);

            #line default
            #line hidden
                return;

            case 13:
                this.btnDescartarRCompras = ((System.Windows.Controls.Button)(target));

            #line 992 "..\..\..\pages\Receptor_Compras.xaml"
                this.btnDescartarRCompras.Click += new System.Windows.RoutedEventHandler(this.btnDescartarRCompras_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.CantidadCompras = ((System.Windows.Controls.Label)(target));
                return;

            case 15:
                this.periodoMesRAsignar = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 16:
                this.periodoAnioRAsignar = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 17:

            #line 1013 "..\..\..\pages\Receptor_Compras.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnAsignarRPeriodo_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.btnExportar = ((System.Windows.Controls.Button)(target));

            #line 1028 "..\..\..\pages\Receptor_Compras.xaml"
                this.btnExportar.Click += new System.Windows.RoutedEventHandler(this.btnExportarCompras);

            #line default
            #line hidden
                return;

            case 19:
                this.btnGrabarCambios = ((System.Windows.Controls.Button)(target));

            #line 1054 "..\..\..\pages\Receptor_Compras.xaml"
                this.btnGrabarCambios.Click += new System.Windows.RoutedEventHandler(this.btnGrabarCambiosCompras);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\pages\Reporte_General.xaml"
                ((FEI.pages.Reporte_General)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden

            #line 8 "..\..\..\pages\Reporte_General.xaml"
                ((FEI.pages.Reporte_General)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Page_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.datePick_inicio = ((FEI.pages.DatePickerEx)(target));
                return;

            case 4:
                this.datePick_fin = ((FEI.pages.DatePickerEx)(target));
                return;

            case 5:

            #line 100 "..\..\..\pages\Reporte_General.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnConsultar_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.imageButton = ((System.Windows.Controls.Image)(target));
                return;

            case 7:
                this.dgComprobantesFacturas = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 8:
                this.dgComprobantesBoletas = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 9:
                this.cboDownload = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 10:

            #line 302 "..\..\..\pages\Reporte_General.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnReporte_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 8
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\pages\ComunicacionBaja_Generar.xaml"
                ((FEI.pages.ComunicacionBaja_Generar)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden

            #line 8 "..\..\..\pages\ComunicacionBaja_Generar.xaml"
                ((FEI.pages.ComunicacionBaja_Generar)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Page_KeyDown);

            #line default
            #line hidden
                return;

            case 2:

            #line 11 "..\..\..\pages\ComunicacionBaja_Generar.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DetalleItem_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.cboTipoComprobante = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 5:
                this.cboEstadoSCC = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 6:
                this.cboEstadoSunat = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 7:
                this.datePick_inicio = ((FEI.pages.DatePickerEx)(target));
                return;

            case 8:
                this.datePick_fin = ((FEI.pages.DatePickerEx)(target));
                return;

            case 9:

            #line 109 "..\..\..\pages\ComunicacionBaja_Generar.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnFiltrar_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.imageButton = ((System.Windows.Controls.Image)(target));
                return;

            case 11:
                this.TextBoton = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.dgComprobantes = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 13:
                this.chkAll = ((System.Windows.Controls.CheckBox)(target));

            #line 134 "..\..\..\pages\ComunicacionBaja_Generar.xaml"
                this.chkAll.Checked += new System.Windows.RoutedEventHandler(this.chkAll_Checked);

            #line default
            #line hidden

            #line 134 "..\..\..\pages\ComunicacionBaja_Generar.xaml"
                this.chkAll.Unchecked += new System.Windows.RoutedEventHandler(this.chkAll_Unchecked);

            #line default
            #line hidden
                return;

            case 15:
                this.btnEnviarSunat = ((System.Windows.Controls.Button)(target));

            #line 251 "..\..\..\pages\ComunicacionBaja_Generar.xaml"
                this.btnEnviarSunat.Click += new System.Windows.RoutedEventHandler(this.btnEnviarSunat_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.TextoBoton = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 9
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\pages\ResumenDiario_Sunat.xaml"
                ((FEI.pages.ResumenDiario_Sunat)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden

            #line 8 "..\..\..\pages\ResumenDiario_Sunat.xaml"
                ((FEI.pages.ResumenDiario_Sunat)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Page_KeyDown);

            #line default
            #line hidden
                return;

            case 2:

            #line 12 "..\..\..\pages\ResumenDiario_Sunat.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DetalleItem_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.datePick_inicio = ((FEI.pages.DatePickerEx)(target));
                return;

            case 5:
                this.datePick_fin = ((FEI.pages.DatePickerEx)(target));
                return;

            case 6:
                this.cboEstadoSunat = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 7:

            #line 104 "..\..\..\pages\ResumenDiario_Sunat.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnFiltrar_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.imageButton = ((System.Windows.Controls.Image)(target));
                return;

            case 9:
                this.dgComprobantesResumen = ((System.Windows.Controls.DataGrid)(target));

            #line 121 "..\..\..\pages\ResumenDiario_Sunat.xaml"
                this.dgComprobantesResumen.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dgComprobantesResumen_SelectionChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.Detalle = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.dgComprobantes = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 13:
                this.btnLiberar = ((System.Windows.Controls.Button)(target));

            #line 359 "..\..\..\pages\ResumenDiario_Sunat.xaml"
                this.btnLiberar.Click += new System.Windows.RoutedEventHandler(this.btnLiberar_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.imageLiberar = ((System.Windows.Controls.Image)(target));
                return;

            case 15:
                this.TextBotonLiberar = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.btnDescartar = ((System.Windows.Controls.Button)(target));

            #line 365 "..\..\..\pages\ResumenDiario_Sunat.xaml"
                this.btnDescartar.Click += new System.Windows.RoutedEventHandler(this.btnDescartar_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.imageDescartar = ((System.Windows.Controls.Image)(target));
                return;

            case 18:
                this.TextBotonDescartar = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.btnRefrescar = ((System.Windows.Controls.Button)(target));

            #line 373 "..\..\..\pages\ResumenDiario_Sunat.xaml"
                this.btnRefrescar.Click += new System.Windows.RoutedEventHandler(this.btnRefrescar_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.imageRefrescar = ((System.Windows.Controls.Image)(target));
                return;

            case 21:
                this.TextBotonRefrescar = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.btnTicket = ((System.Windows.Controls.Button)(target));

            #line 379 "..\..\..\pages\ResumenDiario_Sunat.xaml"
                this.btnTicket.Click += new System.Windows.RoutedEventHandler(this.btnTicket_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.image = ((System.Windows.Controls.Image)(target));
                return;

            case 24:
                this.TextBoton = ((System.Windows.Controls.Label)(target));
                return;

            case 25:
                this.btnSunat = ((System.Windows.Controls.Button)(target));

            #line 385 "..\..\..\pages\ResumenDiario_Sunat.xaml"
                this.btnSunat.Click += new System.Windows.RoutedEventHandler(this.btnSunat_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.imageSunat = ((System.Windows.Controls.Image)(target));
                return;

            case 27:
                this.TextBotonSunat = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 10
0
        private static void OnAlternativeCalendarStyleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            DatePickerEx target = (DatePickerEx)d;

            target.ApplyTemplate();
        }
Esempio n. 11
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\..\pages\Reporte_Factura.xaml"
                ((FEI.pages.Reporte_Factura)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden

            #line 7 "..\..\..\pages\Reporte_Factura.xaml"
                ((FEI.pages.Reporte_Factura)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Page_KeyDown);

            #line default
            #line hidden
                return;

            case 2:

            #line 10 "..\..\..\pages\Reporte_Factura.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DetalleItem_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.cboTipoComprobante = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 5:
                this.cboEstadoSCC = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 6:
                this.cboEstadoSunat = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 7:
                this.datePick_inicio = ((FEI.pages.DatePickerEx)(target));
                return;

            case 8:
                this.datePick_fin = ((FEI.pages.DatePickerEx)(target));
                return;

            case 9:

            #line 337 "..\..\..\pages\Reporte_Factura.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnFiltro_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.imageButton = ((System.Windows.Controls.Image)(target));
                return;

            case 11:
                this.dgComprobantes = ((System.Windows.Controls.DataGrid)(target));

            #line 345 "..\..\..\pages\Reporte_Factura.xaml"
                this.dgComprobantes.AddHandler(System.Windows.Input.Mouse.MouseUpEvent, new System.Windows.Input.MouseButtonEventHandler(this.m_Verificar_Duplicidad));

            #line default
            #line hidden
                return;

            case 12:
                this.btncdr = ((System.Windows.Controls.Button)(target));

            #line 523 "..\..\..\pages\Reporte_Factura.xaml"
                this.btncdr.Click += new System.Windows.RoutedEventHandler(this.btnDescargaCDR_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.cboDownload = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 14:

            #line 533 "..\..\..\pages\Reporte_Factura.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnReporte_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\pages\ResumenDiario_Generar.xaml"
                ((FEI.pages.ResumenDiario_Generar)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden

            #line 8 "..\..\..\pages\ResumenDiario_Generar.xaml"
                ((FEI.pages.ResumenDiario_Generar)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Page_KeyDown);

            #line default
            #line hidden
                return;

            case 2:

            #line 11 "..\..\..\pages\ResumenDiario_Generar.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DetalleItem_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.datePick_inicio = ((FEI.pages.DatePickerEx)(target));
                return;

            case 5:
                this.datePick_fin = ((FEI.pages.DatePickerEx)(target));
                return;

            case 6:

            #line 101 "..\..\..\pages\ResumenDiario_Generar.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnConsulta_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.imageButton = ((System.Windows.Controls.Image)(target));
                return;

            case 8:
                this.dgComprobantes = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 9:
                this.chkAll = ((System.Windows.Controls.CheckBox)(target));

            #line 126 "..\..\..\pages\ResumenDiario_Generar.xaml"
                this.chkAll.Checked += new System.Windows.RoutedEventHandler(this.chkAll_Checked);

            #line default
            #line hidden

            #line 126 "..\..\..\pages\ResumenDiario_Generar.xaml"
                this.chkAll.Unchecked += new System.Windows.RoutedEventHandler(this.chkAll_Unchecked);

            #line default
            #line hidden
                return;

            case 11:
                this.btnEnviarAResumen = ((System.Windows.Controls.Button)(target));

            #line 264 "..\..\..\pages\ResumenDiario_Generar.xaml"
                this.btnEnviarAResumen.Click += new System.Windows.RoutedEventHandler(this.btnEnviarAResumen_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.TextoBoton = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.btnDescartar = ((System.Windows.Controls.Button)(target));

            #line 272 "..\..\..\pages\ResumenDiario_Generar.xaml"
                this.btnDescartar.Click += new System.Windows.RoutedEventHandler(this.btnDescartar_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }