Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\..\ImportExport.xaml"
                ((UbiDisplays.ImportExport)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this._ExplanPanel = ((UbiDisplays.Interface.Controls.ExplanationPanel)(target));
                return;

            case 3:
                this._chkSurfaces = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 4:
                this._chkDisplays = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 5:
                this._chkCalibration = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:

            #line 29 "..\..\..\ImportExport.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_OkClicked);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 5 "..\..\..\ImportExport.xaml"
     ((UbiDisplays.ImportExport)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this._ExplanPanel = ((UbiDisplays.Interface.Controls.ExplanationPanel)(target));
     return;
     case 3:
     this._chkSurfaces = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 4:
     this._chkDisplays = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 5:
     this._chkCalibration = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 6:
     
     #line 28 "..\..\..\ImportExport.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_CancelClicked);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 29 "..\..\..\ImportExport.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_OkClicked);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }