Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LoginWindow = ((LL.Solutions.PMS.Login)(target));
                return;

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

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

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

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

            #line 38 "..\..\..\Login\Login.xaml"
                this.btnLogin.Click += new System.Windows.RoutedEventHandler(this.btnLogin_Click);

            #line default
            #line hidden
                return;

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

            #line 44 "..\..\..\Login\Login.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.lblError = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.LoginWindow = ((LL.Solutions.PMS.Login)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.txtUserName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.txtPassword = ((System.Windows.Controls.PasswordBox)(target));
     return;
     case 5:
     this.btnLogin = ((System.Windows.Controls.Button)(target));
     
     #line 38 "..\..\..\Login\Login.xaml"
     this.btnLogin.Click += new System.Windows.RoutedEventHandler(this.btnLogin_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.btnCancel = ((System.Windows.Controls.Button)(target));
     
     #line 44 "..\..\..\Login\Login.xaml"
     this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.lblError = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }