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

            case 2:

            #line 14 "..\..\ImportControl.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnClear);

            #line default
            #line hidden
                return;

            case 3:

            #line 49 "..\..\ImportControl.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnImportFromOriginal);

            #line default
            #line hidden
                return;

            case 4:

            #line 60 "..\..\ImportControl.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnImportFromWeb);

            #line default
            #line hidden
                return;

            case 5:

            #line 71 "..\..\ImportControl.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnImportFromOpenCartWeb);

            #line default
            #line hidden
                return;

            case 6:

            #line 85 "..\..\ImportControl.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnExportChanges);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.uc = ((SBMLibrary.Controls.ImportControl)(target));
     return;
     case 2:
     
     #line 14 "..\..\ImportControl.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnClear);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 49 "..\..\ImportControl.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnImportFromOriginal);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 60 "..\..\ImportControl.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnImportFromWeb);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 71 "..\..\ImportControl.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnImportFromOpenCartWeb);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 85 "..\..\ImportControl.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnExportChanges);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }