Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Authorize = ((BMC.Presentation.CAuthorize)(target));
                return;

            case 2:
                this.pnlMain = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:
                this.Title = ((System.Windows.Controls.Label)(target));
                return;

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

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

            #line 23 "..\..\Authorize.xaml"
                this.txtUname.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.txtUname_PreviewMouseUp);

            #line default
            #line hidden

            #line 23 "..\..\Authorize.xaml"
                this.txtUname.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtUname_KeyDown);

            #line default
            #line hidden
                return;

            case 6:
                this.txtPWD = ((System.Windows.Controls.PasswordBox)(target));

            #line 24 "..\..\Authorize.xaml"
                this.txtPWD.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.txtPwd_PreviewMouseUp);

            #line default
            #line hidden

            #line 24 "..\..\Authorize.xaml"
                this.txtPWD.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtPWD_KeyDown);

            #line default
            #line hidden
                return;

            case 7:
                this.vbUsername = ((System.Windows.Controls.Viewbox)(target));
                return;

            case 8:
                this.Path_4 = ((System.Windows.Shapes.Path)(target));
                return;

            case 9:
                this.Path_5 = ((System.Windows.Shapes.Path)(target));
                return;

            case 10:
                this.Path_6 = ((System.Windows.Shapes.Path)(target));
                return;

            case 11:
                this.Path_7 = ((System.Windows.Shapes.Path)(target));
                return;

            case 12:
                this.Path_8 = ((System.Windows.Shapes.Path)(target));
                return;

            case 13:
                this.Path_9 = ((System.Windows.Shapes.Path)(target));
                return;

            case 14:
                this.Path_10 = ((System.Windows.Shapes.Path)(target));
                return;

            case 15:
                this.Path_11 = ((System.Windows.Shapes.Path)(target));
                return;

            case 16:
                this.Path_12 = ((System.Windows.Shapes.Path)(target));
                return;

            case 17:
                this.vbPassword = ((System.Windows.Controls.Viewbox)(target));
                return;

            case 18:
                this.Path_14 = ((System.Windows.Shapes.Path)(target));
                return;

            case 19:
                this.Path_15 = ((System.Windows.Shapes.Path)(target));
                return;

            case 20:
                this.Path_16 = ((System.Windows.Shapes.Path)(target));
                return;

            case 21:
                this.Path_17 = ((System.Windows.Shapes.Path)(target));
                return;

            case 22:
                this.Path_18 = ((System.Windows.Shapes.Path)(target));
                return;

            case 23:
                this.Path_19 = ((System.Windows.Shapes.Path)(target));
                return;

            case 24:
                this.Path_20 = ((System.Windows.Shapes.Path)(target));
                return;

            case 25:
                this.Path_21 = ((System.Windows.Shapes.Path)(target));
                return;

            case 26:
                this.Path_22 = ((System.Windows.Shapes.Path)(target));
                return;

            case 27:
                this.btnLogin = ((System.Windows.Controls.Button)(target));

            #line 52 "..\..\Authorize.xaml"
                this.btnLogin.Click += new System.Windows.RoutedEventHandler(this.Login_Button_Click);

            #line default
            #line hidden
                return;

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

            #line 53 "..\..\Authorize.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.Cancel_Button_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Authorize = ((BMC.Presentation.CAuthorize)(target));
     return;
     case 2:
     this.pnlMain = ((System.Windows.Controls.Canvas)(target));
     return;
     case 3:
     this.Title = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.grdLoginFields = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this.txtUname = ((System.Windows.Controls.TextBox)(target));
     
     #line 23 "..\..\Authorize.xaml"
     this.txtUname.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.txtUname_PreviewMouseUp);
     
     #line default
     #line hidden
     
     #line 23 "..\..\Authorize.xaml"
     this.txtUname.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtUname_KeyDown);
     
     #line default
     #line hidden
     return;
     case 6:
     this.txtPWD = ((System.Windows.Controls.PasswordBox)(target));
     
     #line 24 "..\..\Authorize.xaml"
     this.txtPWD.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.txtPwd_PreviewMouseUp);
     
     #line default
     #line hidden
     
     #line 24 "..\..\Authorize.xaml"
     this.txtPWD.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtPWD_KeyDown);
     
     #line default
     #line hidden
     return;
     case 7:
     this.vbUsername = ((System.Windows.Controls.Viewbox)(target));
     return;
     case 8:
     this.Path_4 = ((System.Windows.Shapes.Path)(target));
     return;
     case 9:
     this.Path_5 = ((System.Windows.Shapes.Path)(target));
     return;
     case 10:
     this.Path_6 = ((System.Windows.Shapes.Path)(target));
     return;
     case 11:
     this.Path_7 = ((System.Windows.Shapes.Path)(target));
     return;
     case 12:
     this.Path_8 = ((System.Windows.Shapes.Path)(target));
     return;
     case 13:
     this.Path_9 = ((System.Windows.Shapes.Path)(target));
     return;
     case 14:
     this.Path_10 = ((System.Windows.Shapes.Path)(target));
     return;
     case 15:
     this.Path_11 = ((System.Windows.Shapes.Path)(target));
     return;
     case 16:
     this.Path_12 = ((System.Windows.Shapes.Path)(target));
     return;
     case 17:
     this.vbPassword = ((System.Windows.Controls.Viewbox)(target));
     return;
     case 18:
     this.Path_14 = ((System.Windows.Shapes.Path)(target));
     return;
     case 19:
     this.Path_15 = ((System.Windows.Shapes.Path)(target));
     return;
     case 20:
     this.Path_16 = ((System.Windows.Shapes.Path)(target));
     return;
     case 21:
     this.Path_17 = ((System.Windows.Shapes.Path)(target));
     return;
     case 22:
     this.Path_18 = ((System.Windows.Shapes.Path)(target));
     return;
     case 23:
     this.Path_19 = ((System.Windows.Shapes.Path)(target));
     return;
     case 24:
     this.Path_20 = ((System.Windows.Shapes.Path)(target));
     return;
     case 25:
     this.Path_21 = ((System.Windows.Shapes.Path)(target));
     return;
     case 26:
     this.Path_22 = ((System.Windows.Shapes.Path)(target));
     return;
     case 27:
     this.btnLogin = ((System.Windows.Controls.Button)(target));
     
     #line 52 "..\..\Authorize.xaml"
     this.btnLogin.Click += new System.Windows.RoutedEventHandler(this.Login_Button_Click);
     
     #line default
     #line hidden
     return;
     case 28:
     this.btnCancel = ((System.Windows.Controls.Button)(target));
     
     #line 53 "..\..\Authorize.xaml"
     this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.Cancel_Button_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }