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

            case 2:
                this.MainBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 3:

            #line 35 "..\..\LogIn.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_3);

            #line default
            #line hidden
                return;

            case 4:
                this.Login = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            #line 57 "..\..\LogIn.xaml"
                this.Confirm.Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #line default
            #line hidden
                return;

            case 7:
                this.REG = ((System.Windows.Controls.Button)(target));

            #line 66 "..\..\LogIn.xaml"
                this.REG.Click += new System.Windows.RoutedEventHandler(this.REG_Click);

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