Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PasswdChangeWindow = ((SecureMe.PasswdChange)(target));
                return;

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

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

            case 4:
                this.LockImage = ((System.Windows.Controls.Image)(target));
                return;

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

            #line 9 "..\..\PasswdChange.xaml"
                this.SetPasswdButton.Click += new System.Windows.RoutedEventHandler(this.SetPasswdButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PasswdChangeWindow = ((SecureMe.PasswdChange)(target));
                return;

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

            case 3:
                this.LockImage = ((System.Windows.Controls.Image)(target));
                return;

            case 4:
                this.SetPasswdBox = ((System.Windows.Controls.PasswordBox)(target));

            #line 8 "..\..\PasswdChange.xaml"
                this.SetPasswdBox.KeyDown += new System.Windows.Input.KeyEventHandler(this.SetPasswdBox_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 9 "..\..\PasswdChange.xaml"
                this.SetPasswdBtn.MouseEnter += new System.Windows.Input.MouseEventHandler(this.SetPasswdBtn_MouseEnter);

            #line default
            #line hidden

            #line 9 "..\..\PasswdChange.xaml"
                this.SetPasswdBtn.MouseLeave += new System.Windows.Input.MouseEventHandler(this.SetPasswdBtn_MouseLeave);

            #line default
            #line hidden

            #line 9 "..\..\PasswdChange.xaml"
                this.SetPasswdBtn.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.SetPasswdBtn_MouseDown);

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