コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.GreeingWindow = ((AbitMan.MainWindow)(target));
                return;

            case 2:
                this.UserNameLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.QueryButton = ((System.Windows.Controls.Button)(target));

            #line 12 "..\..\MainWindow.xaml"
                this.QueryButton.Click += new System.Windows.RoutedEventHandler(this.QueryButton_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 14 "..\..\MainWindow.xaml"
                this.RegistryButton.Click += new System.Windows.RoutedEventHandler(this.RegistryButton_Click);

            #line default
            #line hidden
                return;

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

            #line 15 "..\..\MainWindow.xaml"
                this.ConnectButton.Click += new System.Windows.RoutedEventHandler(this.ConnectButton_Click);

            #line default
            #line hidden
                return;

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

            #line 16 "..\..\MainWindow.xaml"
                this.ManipulateButton.Click += new System.Windows.RoutedEventHandler(this.ManipulateButton_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.MarkLabel = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }