コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\MainWindow.xaml"
                ((WpfApp1.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.connectionControl = ((WpfApp1.ConnectionControl)(target));
                return;

            case 3:
                this.NavLocal = ((WpfApp1.LocalNavControl)(target));
                return;

            case 4:
                this.checkInControl = ((WpfApp1.CheckInControl)(target));
                return;

            case 5:
                this.NavRemote = ((WpfApp1.RemoteNavControl)(target));
                return;

            case 6:
                this.CheckOutControl = ((WpfApp1.CheckOutControl)(target));
                return;

            case 7:
                this.queryControl = ((WpfApp1.Query)(target));
                return;

            case 8:
                this.MetadataControl = ((WpfApp1.Metadata)(target));
                return;
            }
            this._contentLoaded = true;
        }