Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window = ((BMC.Presentation.POS.Views.PasswordRetry)(target));
                return;

            case 2:
                this.grdLoginFields = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 26 "..\..\..\Views\PasswordRetry.xaml"
                this.txtOldPassword.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.txtOldPassword_PreviewMouseUp);

            #line default
            #line hidden
                return;

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

            #line 27 "..\..\..\Views\PasswordRetry.xaml"
                this.txtNewPassword.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.txtNewPassword_PreviewMouseUp);

            #line default
            #line hidden
                return;

            case 5:
                this.txtRetypePassword = ((System.Windows.Controls.PasswordBox)(target));

            #line 28 "..\..\..\Views\PasswordRetry.xaml"
                this.txtRetypePassword.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.txtRetypePassword_PreviewMouseUp);

            #line default
            #line hidden
                return;

            case 6:
                this.lblOldPassword = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.lblNewPassword = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.lblConfirmPassword = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.btnOK = ((System.Windows.Controls.Button)(target));

            #line 34 "..\..\..\Views\PasswordRetry.xaml"
                this.btnOK.Click += new System.Windows.RoutedEventHandler(this.btnOK_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.btnCancel = ((System.Windows.Controls.Button)(target));

            #line 36 "..\..\..\Views\PasswordRetry.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((BMC.Presentation.POS.Views.PasswordRetry)(target));
     return;
     case 2:
     this.grdLoginFields = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.txtOldPassword = ((System.Windows.Controls.PasswordBox)(target));
     
     #line 26 "..\..\..\Views\PasswordRetry.xaml"
     this.txtOldPassword.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.txtOldPassword_PreviewMouseUp);
     
     #line default
     #line hidden
     return;
     case 4:
     this.txtNewPassword = ((System.Windows.Controls.PasswordBox)(target));
     
     #line 27 "..\..\..\Views\PasswordRetry.xaml"
     this.txtNewPassword.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.txtNewPassword_PreviewMouseUp);
     
     #line default
     #line hidden
     return;
     case 5:
     this.txtRetypePassword = ((System.Windows.Controls.PasswordBox)(target));
     
     #line 28 "..\..\..\Views\PasswordRetry.xaml"
     this.txtRetypePassword.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.txtRetypePassword_PreviewMouseUp);
     
     #line default
     #line hidden
     return;
     case 6:
     this.lblOldPassword = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 7:
     this.lblNewPassword = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 8:
     this.lblConfirmPassword = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 9:
     this.btnOK = ((System.Windows.Controls.Button)(target));
     
     #line 34 "..\..\..\Views\PasswordRetry.xaml"
     this.btnOK.Click += new System.Windows.RoutedEventHandler(this.btnOK_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.btnCancel = ((System.Windows.Controls.Button)(target));
     
     #line 36 "..\..\..\Views\PasswordRetry.xaml"
     this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }