Exemple #1
0
        private static object PinChanged(DependencyObject d, Object baseValue)
        {
            PinUserControl control = (PinUserControl)d;

            if (!control.LocalChange)
            {
                control.SetPinValue((string)baseValue);
            }

            control.LocalChange = false;

            return(baseValue);
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.accountsetting_grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:

            #line 58 "..\..\..\..\..\Views\AccountSettings\AccountSettings.xaml"
                ((System.Windows.Controls.TextBlock)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TextBlock_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 3:
                this.accountSettingsTab = ((System.Windows.Controls.TabControl)(target));

            #line 67 "..\..\..\..\..\Views\AccountSettings\AccountSettings.xaml"
                this.accountSettingsTab.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.accountSettingsTab_SelectionChanged);

            #line default
            #line hidden

            #line 67 "..\..\..\..\..\Views\AccountSettings\AccountSettings.xaml"
                this.accountSettingsTab.IsVisibleChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.accountSettingsTab_IsVisibleChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.tabGeneral = ((System.Windows.Controls.TabItem)(target));
                return;

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

            case 6:
                this.emailHelp = ((System.Windows.Controls.ContentControl)(target));
                return;

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

            #line 185 "..\..\..\..\..\Views\AccountSettings\AccountSettings.xaml"
                this.AccountSettingsLanguageCombobox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 205 "..\..\..\..\..\Views\AccountSettings\AccountSettings.xaml"
                this.AccountSettingsCountriesCombobox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 9:

            #line 232 "..\..\..\..\..\Views\AccountSettings\AccountSettings.xaml"
                ((System.Windows.Controls.TextBlock)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TextBlock_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 10:

            #line 241 "..\..\..\..\..\Views\AccountSettings\AccountSettings.xaml"
                ((System.Windows.Controls.TextBlock)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TextBlock_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 11:
                this.tabPreferences = ((System.Windows.Controls.TabItem)(target));
                return;

            case 12:
                this.PreferencesTabGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 13:
                this.tabSecurity = ((System.Windows.Controls.TabItem)(target));
                return;

            case 14:
                this.SecurityTabGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 15:
                this.chkTwoStepVerification = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 16:
                this.chkTwoStepTrustedDevice = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 17:
                this.changepassword_grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 18:
                this.OldPasswordBox = ((PasswordBoss.Views.UserControls.PasswordTextBox)(target));
                return;

            case 19:
                this.SetNewPasswordBox = ((PasswordBoss.Views.UserControls.PasswordTextBox)(target));
                return;

            case 20:
                this.cbxletters = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 21:
                this.cbxsymbols = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 22:
                this.cbxnumbers = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 23:
                this.cbxcapitals = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 24:
                this.cbx8characters = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 25:
                this.ConfirmPasswordBox = ((PasswordBoss.Views.UserControls.PasswordTextBox)(target));
                return;

            case 26:
                this.SetAutoLockGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 27:
                this.ChangePINGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 28:
                this.ExistingPinUc = ((PasswordBoss.Views.UserControls.PinUserControl)(target));
                return;

            case 29:
                this.NewPinUc = ((PasswordBoss.Views.UserControls.PinUserControl)(target));
                return;

            case 30:
                this.ConfirmPinUc = ((PasswordBoss.Views.UserControls.PinUserControl)(target));
                return;

            case 31:
                this.tabSync = ((System.Windows.Controls.TabItem)(target));
                return;

            case 32:
                this.SyncDeviceGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 33:
                this.SyncDevicesList = ((System.Windows.Controls.ListView)(target));
                return;

            case 34:
                this.tabCategory = ((System.Windows.Controls.TabItem)(target));
                return;

            case 35:
                this.PasswordVaultGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 36:
                this.CategoryList = ((System.Windows.Controls.ListView)(target));
                return;

            case 37:
                this.tabAdvanced = ((System.Windows.Controls.TabItem)(target));
                return;
            }
            this._contentLoaded = true;
        }