示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LogInPage = ((Hotel_Management_System.LogIn)(target));
                return;

            case 2:
                this.TrasitioningContentSlide = ((MaterialDesignThemes.Wpf.Transitions.TransitioningContent)(target));
                return;

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

            #line 36 "..\..\LogIn.xaml"
                this.UserNameBox.TextInput += new System.Windows.Input.TextCompositionEventHandler(this.UserNameBox_TextInput);

            #line default
            #line hidden
                return;

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

            #line 37 "..\..\LogIn.xaml"
                this.PassWordBox.TextInput += new System.Windows.Input.TextCompositionEventHandler(this.PassWordBox_TextInput);

            #line default
            #line hidden
                return;

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

            #line 40 "..\..\LogIn.xaml"
                this.LogInButton.Click += new System.Windows.RoutedEventHandler(this.LogInButton_Click);

            #line default
            #line hidden
                return;

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

            #line 44 "..\..\LogIn.xaml"
                this.ShutDown.Click += new System.Windows.RoutedEventHandler(this.ShutDown_Click);

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