Example #1
0
        /// <summary>
        /// The callback that actually changes the Style if one was provided
        /// </summary>
        /// <param name="depObj">UcImageCropper</param>
        /// <param name="e">The event args</param>
        static void OnCropperStyleChanged(DependencyObject depObj, DependencyPropertyChangedEventArgs e)
        {
            Style s = e.NewValue as Style;

            if (s != null)
            {
                UcImageCropper uc = (UcImageCropper)depObj;
                uc.selectCanvForImg.CropperStyle = s;
            }
        }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\..\FORMS\CadFingerPrints.xaml"
                ((sistemaCorporativo.FORMS.CadFingerPrints)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MetroWindow_Loaded);

            #line default
            #line hidden

            #line 7 "..\..\..\FORMS\CadFingerPrints.xaml"
                ((sistemaCorporativo.FORMS.CadFingerPrints)(target)).KeyUp += new System.Windows.Input.KeyEventHandler(this.MetroWindow_KeyUp);

            #line default
            #line hidden
                return;

            case 2:
                this.itmAbrirDoc = ((System.Windows.Controls.MenuItem)(target));

            #line 59 "..\..\..\FORMS\CadFingerPrints.xaml"
                this.itmAbrirDoc.Click += new System.Windows.RoutedEventHandler(this.itmAbrirDoc_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.itmSair = ((System.Windows.Controls.MenuItem)(target));

            #line 64 "..\..\..\FORMS\CadFingerPrints.xaml"
                this.itmSair.Click += new System.Windows.RoutedEventHandler(this.itmSair_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.grdLeitor = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.imgFingerLeitor = ((System.Windows.Controls.Image)(target));
                return;

            case 6:
                this.lblStatusText = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.lblStatusLeitor = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 82 "..\..\..\FORMS\CadFingerPrints.xaml"
                this.btnIniciarLeitor.Click += new System.Windows.RoutedEventHandler(this.btnIniciarLeitor_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.scDocumento = ((System.Windows.Controls.ScrollViewer)(target));

            #line 83 "..\..\..\FORMS\CadFingerPrints.xaml"
                this.scDocumento.PreviewMouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.SC_PreviewMouseWheel);

            #line default
            #line hidden
                return;

            case 10:
                this.UcImageCropper = ((ImageCropper.UcImageCropper)(target));
                return;

            case 11:
                this.groupBox = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 12:
                this.rdbDocumento = ((System.Windows.Controls.RadioButton)(target));

            #line 98 "..\..\..\FORMS\CadFingerPrints.xaml"
                this.rdbDocumento.Checked += new System.Windows.RoutedEventHandler(this.rdbDocumento_Checked);

            #line default
            #line hidden
                return;

            case 13:
                this.rdbLeitor = ((System.Windows.Controls.RadioButton)(target));

            #line 99 "..\..\..\FORMS\CadFingerPrints.xaml"
                this.rdbLeitor.Checked += new System.Windows.RoutedEventHandler(this.rdbLeitor_Checked);

            #line default
            #line hidden
                return;

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

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

            case 16:
                this.imgMedD = ((System.Windows.Controls.Image)(target));
                return;

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

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

            case 19:
                this.imgPolE = ((System.Windows.Controls.Image)(target));
                return;

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

            case 21:
                this.imgMedE = ((System.Windows.Controls.Image)(target));
                return;

            case 22:
                this.imgAnuE = ((System.Windows.Controls.Image)(target));
                return;

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

            case 24:
                this.rdbPolD = ((System.Windows.Controls.CheckBox)(target));

            #line 162 "..\..\..\FORMS\CadFingerPrints.xaml"
                this.rdbPolD.Checked += new System.Windows.RoutedEventHandler(this.rdbPolD_Checked);

            #line default
            #line hidden
                return;

            case 25:
                this.rdbIndD = ((System.Windows.Controls.CheckBox)(target));

            #line 163 "..\..\..\FORMS\CadFingerPrints.xaml"
                this.rdbIndD.Checked += new System.Windows.RoutedEventHandler(this.rdbIndD_Checked);

            #line default
            #line hidden
                return;

            case 26:
                this.rdbMedD = ((System.Windows.Controls.CheckBox)(target));

            #line 164 "..\..\..\FORMS\CadFingerPrints.xaml"
                this.rdbMedD.Checked += new System.Windows.RoutedEventHandler(this.rdbMedD_Checked);

            #line default
            #line hidden
                return;

            case 27:
                this.rdbAnuD = ((System.Windows.Controls.CheckBox)(target));

            #line 165 "..\..\..\FORMS\CadFingerPrints.xaml"
                this.rdbAnuD.Checked += new System.Windows.RoutedEventHandler(this.rdbAnuD_Checked);

            #line default
            #line hidden
                return;

            case 28:
                this.rdbMinD = ((System.Windows.Controls.CheckBox)(target));

            #line 166 "..\..\..\FORMS\CadFingerPrints.xaml"
                this.rdbMinD.Checked += new System.Windows.RoutedEventHandler(this.rdbMinD_Checked);

            #line default
            #line hidden
                return;

            case 29:
                this.rdbPolE = ((System.Windows.Controls.CheckBox)(target));

            #line 167 "..\..\..\FORMS\CadFingerPrints.xaml"
                this.rdbPolE.Checked += new System.Windows.RoutedEventHandler(this.rdbPolE_Checked);

            #line default
            #line hidden
                return;

            case 30:
                this.rdbIndE = ((System.Windows.Controls.CheckBox)(target));

            #line 168 "..\..\..\FORMS\CadFingerPrints.xaml"
                this.rdbIndE.Checked += new System.Windows.RoutedEventHandler(this.rdbIndE_Checked);

            #line default
            #line hidden
                return;

            case 31:
                this.rdbMedE = ((System.Windows.Controls.CheckBox)(target));

            #line 169 "..\..\..\FORMS\CadFingerPrints.xaml"
                this.rdbMedE.Checked += new System.Windows.RoutedEventHandler(this.rdbMedE_Checked);

            #line default
            #line hidden
                return;

            case 32:
                this.rdbAnuE = ((System.Windows.Controls.CheckBox)(target));

            #line 170 "..\..\..\FORMS\CadFingerPrints.xaml"
                this.rdbAnuE.Checked += new System.Windows.RoutedEventHandler(this.rdbAnuE_Checked);

            #line default
            #line hidden
                return;

            case 33:
                this.rdbMinE = ((System.Windows.Controls.CheckBox)(target));

            #line 171 "..\..\..\FORMS\CadFingerPrints.xaml"
                this.rdbMinE.Checked += new System.Windows.RoutedEventHandler(this.rdbMinE_Checked);

            #line default
            #line hidden
                return;

            case 34:
                this.btnFinalizar = ((System.Windows.Controls.Button)(target));

            #line 172 "..\..\..\FORMS\CadFingerPrints.xaml"
                this.btnFinalizar.Click += new System.Windows.RoutedEventHandler(this.btnFinalizar_Click);

            #line default
            #line hidden
                return;

            case 35:
                this.btnLimpar = ((System.Windows.Controls.Button)(target));
                return;

            case 36:
                this.btnInserir = ((System.Windows.Controls.Button)(target));

            #line 174 "..\..\..\FORMS\CadFingerPrints.xaml"
                this.btnInserir.Click += new System.Windows.RoutedEventHandler(this.btnInserir_Click);

            #line default
            #line hidden
                return;

            case 37:
                this.btnClassificar = ((System.Windows.Controls.Button)(target));

            #line 175 "..\..\..\FORMS\CadFingerPrints.xaml"
                this.btnClassificar.Click += new System.Windows.RoutedEventHandler(this.btnClassificar_Click);

            #line default
            #line hidden
                return;

            case 38:
                this.lblClassificada = ((System.Windows.Controls.Label)(target));
                return;

            case 39:
                this.btnCancelar = ((System.Windows.Controls.Button)(target));

            #line 178 "..\..\..\FORMS\CadFingerPrints.xaml"
                this.btnCancelar.Click += new System.Windows.RoutedEventHandler(this.btnCancelar_Click);

            #line default
            #line hidden
                return;

            case 40:
                this.btnParar = ((System.Windows.Controls.Button)(target));

            #line 179 "..\..\..\FORMS\CadFingerPrints.xaml"
                this.btnParar.Click += new System.Windows.RoutedEventHandler(this.btnParar_Click);

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