示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\..\..\Views\UserControls\ImportFromBrowserControl.xaml"
                ((PasswordBoss.Views.UserControls.ImportFromBrowserControl)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Grid_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.ImportPasswordFromBrowserSceen1 = ((QuickZip.UserControls.ConfirmationPopupWindow)(target));
                return;

            case 3:
                this.ImportPasswordFromBrowserSceen2 = ((QuickZip.UserControls.ConfirmationPopupWindow)(target));
                return;

            case 4:
                this.syncProgressBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 5:
                this.ImportPasswordFromBrowserSceen3 = ((QuickZip.UserControls.ConfirmationPopupWindow)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.promoCodeDialog = ((PasswordBoss.Views.UserControls.EnterPromoCodeControlDialog)(target));
                return;

            case 2:
                this.EnterPromoCodeScreen = ((QuickZip.UserControls.ConfirmationPopupWindow)(target));
                return;

            case 3:
                this.pConfirmationValue = ((System.Windows.Controls.TextBox)(target));

            #line 34 "..\..\..\..\..\Views\UserControls\EnterPromoCodeControlDialog.xaml"
                this.pConfirmationValue.IsVisibleChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.pConfirmationValue_IsVisibleChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.errorMessage = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.PromoCodeSuccessScreen = ((QuickZip.UserControls.ConfirmationPopupWindow)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#3
0
        private static void OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            ConfirmationPopupWindow control = d as ConfirmationPopupWindow;

            if (control != null)
            {
                control.OnCommandChanged((ICommand)e.OldValue, (ICommand)e.NewValue);
            }
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\..\..\..\Views\UserControls\ImportFromSecureExportControl.xaml"
                ((PasswordBoss.Views.UserControls.ImportFromSecureExportControl)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Grid_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.ImportFromSecureExportScreen1 = ((QuickZip.UserControls.ConfirmationPopupWindow)(target));
                return;

            case 3:
                this.ClickHereHyperlink = ((System.Windows.Documents.Hyperlink)(target));
                return;

            case 4:
                this.txtEmailSecureExportWatermark = ((System.Windows.Controls.TextBox)(target));

            #line 99 "..\..\..\..\..\Views\UserControls\ImportFromSecureExportControl.xaml"
                this.txtEmailSecureExportWatermark.GotFocus += new System.Windows.RoutedEventHandler(this.txtEmailSecureExportWatermark_GotFocus);

            #line default
            #line hidden
                return;

            case 5:
                this.txtEmailSecureExport = ((System.Windows.Controls.TextBox)(target));

            #line 103 "..\..\..\..\..\Views\UserControls\ImportFromSecureExportControl.xaml"
                this.txtEmailSecureExport.LostFocus += new System.Windows.RoutedEventHandler(this.txtEmailSecureExport_LostFocus);

            #line default
            #line hidden
                return;

            case 6:
                this.txtPasswordSecureExportWatermark = ((System.Windows.Controls.TextBox)(target));

            #line 114 "..\..\..\..\..\Views\UserControls\ImportFromSecureExportControl.xaml"
                this.txtPasswordSecureExportWatermark.GotFocus += new System.Windows.RoutedEventHandler(this.txtPasswordSecureExportWatermark_GotFocus);

            #line default
            #line hidden
                return;

            case 7:
                this.pbPasswordSecureExport = ((System.Windows.Controls.PasswordBox)(target));

            #line 119 "..\..\..\..\..\Views\UserControls\ImportFromSecureExportControl.xaml"
                this.pbPasswordSecureExport.LostFocus += new System.Windows.RoutedEventHandler(this.pbPasswordSecureExport_LostFocus);

            #line default
            #line hidden
                return;

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

            case 9:
                this.ImportPasswordFromBrowserSceen2 = ((QuickZip.UserControls.ConfirmationPopupWindow)(target));
                return;

            case 10:
                this.syncProgressBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 11:
                this.ImportFromApplicationScreen3 = ((QuickZip.UserControls.ConfirmationPopupWindow)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TwoStepInitialScreen = ((QuickZip.UserControls.ConfirmationPopupWindow)(target));
                return;

            case 2:
                this.TwoStepEnterMasterPasswordScreen = ((QuickZip.UserControls.ConfirmationPopupWindow)(target));
                return;

            case 3:
                this.pbMasterPasswordValue = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 4:
                this.TwoStepSecreetKeyScreen = ((QuickZip.UserControls.ConfirmationPopupWindow)(target));
                return;

            case 5:
                this.hyperlinkSupportedApps = ((System.Windows.Documents.Hyperlink)(target));
                return;

            case 6:
                this.TwoStepEnterConfirmationCodeScreen = ((QuickZip.UserControls.ConfirmationPopupWindow)(target));
                return;

            case 7:
                this.pConfirmationValueWatermark = ((System.Windows.Controls.TextBox)(target));

            #line 151 "..\..\..\..\..\Views\UserControls\TwoStepVerificationUserControl.xaml"
                this.pConfirmationValueWatermark.GotFocus += new System.Windows.RoutedEventHandler(this.pConfirmationValueWatermark_GotFocus);

            #line default
            #line hidden
                return;

            case 8:
                this.pConfirmationValue = ((System.Windows.Controls.TextBox)(target));

            #line 157 "..\..\..\..\..\Views\UserControls\TwoStepVerificationUserControl.xaml"
                this.pConfirmationValue.LostFocus += new System.Windows.RoutedEventHandler(this.pConfirmationValue_LostFocus);

            #line default
            #line hidden
                return;

            case 9:
                this.TwoStepMobilePhoneNumberScreen = ((QuickZip.UserControls.ConfirmationPopupWindow)(target));
                return;

            case 10:
                this.txtMobilePhone = ((PasswordBoss.Views.UserControls.PhoneNumberBox)(target));
                return;

            case 11:
                this.TwoStepBackupSecurityCodeScreen = ((QuickZip.UserControls.ConfirmationPopupWindow)(target));
                return;

            case 12:
                this.TwoStepCompletedScreen = ((QuickZip.UserControls.ConfirmationPopupWindow)(target));
                return;
            }
            this._contentLoaded = true;
        }