Viewer
Inheritance: System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector
Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txtFilePath = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:

            #line 26 "..\..\XMLViewerDemoApplication.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BrowseXmlFile);

            #line default
            #line hidden
                return;

            case 3:

            #line 28 "..\..\XMLViewerDemoApplication.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ClearXmlFile);

            #line default
            #line hidden
                return;

            case 4:
                this.vXMLViwer = ((XMLViewer.Viewer)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.vXMLViwer = ((XMLViewer.Viewer)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.txtFilePath = ((System.Windows.Controls.TextBox)(target));
     return;
     case 2:
     
     #line 26 "..\..\XMLViewerDemoApplication.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BrowseXmlFile);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 28 "..\..\XMLViewerDemoApplication.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ClearXmlFile);
     
     #line default
     #line hidden
     return;
     case 4:
     this.vXMLViwer = ((XMLViewer.Viewer)(target));
     return;
     }
     this._contentLoaded = true;
 }