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

            case 2:

            #line 36 "..\..\..\..\View\MainWindow.xaml"
                ((System.Windows.Controls.ToolBar)(target)).Loaded += new System.Windows.RoutedEventHandler(this.ToolBar_Loaded);

            #line default
            #line hidden
                return;

            case 3:

            #line 103 "..\..\..\..\View\MainWindow.xaml"
                ((System.Windows.Controls.ToolBar)(target)).Loaded += new System.Windows.RoutedEventHandler(this.ToolBar_Loaded);

            #line default
            #line hidden
                return;

            case 4:
                this.iCameraVM = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.borderInstance = ((RamanMapping.ViewModel.ZoomBorder)(target));
                return;

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

            case 7:
                this.CanvasDraw = ((System.Windows.Controls.Canvas)(target));
                return;

            case 8:
                this.iXYZMotorVM = ((System.Windows.Controls.Grid)(target));
                return;

            case 9:
                this.cbXEnable = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 10:
                this.cbYEnable = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 11:
                this.iStatusVM = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

            case 12:
                this.pbStatus = ((System.Windows.Controls.ProgressBar)(target));
                return;
            }
            this._contentLoaded = true;
        }