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

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

            case 3:
                this.browseComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:
                this.TypesComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 25 "..\..\UserControl1.xaml"
                this.BrowseButton.Click += new System.Windows.RoutedEventHandler(this.BrowseButton_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.browseImage = ((System.Windows.Controls.Image)(target));
                return;

            case 7:
                this.MyRdfRes = ((MyRdfResultControl.MyWpfRdfResultControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\RdfBrowser.xaml"
                ((MyRdfBrowserUserControl.RdfBrowser)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.myDockPanel = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 3:
                this.promptLabel = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 28 "..\..\RdfBrowser.xaml"
                this.BackButton.Click += new System.Windows.RoutedEventHandler(this.BackButton_Click);

            #line default
            #line hidden
                return;

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

            #line 33 "..\..\RdfBrowser.xaml"
                this.ForwardButton.Click += new System.Windows.RoutedEventHandler(this.ForwardButton_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.browseComboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 39 "..\..\RdfBrowser.xaml"
                this.browseComboBox.KeyDown += new System.Windows.Input.KeyEventHandler(this.browseComboBox_KeyDown);

            #line default
            #line hidden
                return;

            case 7:
                this.TypesComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 8:
                this.BrowseButton = ((System.Windows.Controls.Button)(target));

            #line 41 "..\..\RdfBrowser.xaml"
                this.BrowseButton.Click += new System.Windows.RoutedEventHandler(this.BrowseButton_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.Connect2WebButton = ((System.Windows.Controls.Button)(target));

            #line 48 "..\..\RdfBrowser.xaml"
                this.Connect2WebButton.Click += new System.Windows.RoutedEventHandler(this.Connect2WebButton_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.SaveGraphButton = ((System.Windows.Controls.Button)(target));

            #line 49 "..\..\RdfBrowser.xaml"
                this.SaveGraphButton.Click += new System.Windows.RoutedEventHandler(this.SaveGraphButton_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.MyRdfRes = ((MyRdfResultControl.MyWpfRdfResultControl)(target));
                return;

            case 12:
                this.loadingPopup = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 13:
                this.popLink = ((System.Windows.Controls.Primitives.Popup)(target));

            #line 66 "..\..\RdfBrowser.xaml"
                this.popLink.IsEnabledChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.popLink_IsEnabledChanged);

            #line default
            #line hidden

            #line 67 "..\..\RdfBrowser.xaml"
                this.popLink.MouseLeave += new System.Windows.Input.MouseEventHandler(this.popLink_MouseLeave);

            #line default
            #line hidden
                return;

            case 14:
                this.MyRdfResInPopup = ((MyRdfResultControl.MyWpfRdfResultControl)(target));
                return;
            }
            this._contentLoaded = true;
        }