コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 13 "..\..\..\ParameterSetWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 2:
                this.miniumBtn = ((System.Windows.Controls.Button)(target));

            #line 28 "..\..\..\ParameterSetWindow.xaml"
                this.miniumBtn.Click += new System.Windows.RoutedEventHandler(this.miniumBtn_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.closeBtn = ((System.Windows.Controls.Button)(target));

            #line 29 "..\..\..\ParameterSetWindow.xaml"
                this.closeBtn.Click += new System.Windows.RoutedEventHandler(this.closeBtn_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.CalibratedAxleNo = ((DirectConnectionPredictControl.ComboBoxControl)(target));
                return;

            case 5:
                this.CalibratedWheelSize = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.NominalWheelSize = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.PulsesPerRev = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.WheelSize = ((DirectConnectionPredictControl.ComboBoxControl)(target));
                return;

            case 9:
                this.MaxSize = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 15 "..\..\CanDownload.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 2:
                this.miniumBtn = ((System.Windows.Controls.Button)(target));

            #line 30 "..\..\CanDownload.xaml"
                this.miniumBtn.Click += new System.Windows.RoutedEventHandler(this.miniumBtn_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.closeBtn = ((System.Windows.Controls.Button)(target));

            #line 31 "..\..\CanDownload.xaml"
                this.closeBtn.Click += new System.Windows.RoutedEventHandler(this.closeBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 49 "..\..\CanDownload.xaml"
                this.startDownloadBtn.Click += new System.Windows.RoutedEventHandler(this.startDownloadBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 51 "..\..\CanDownload.xaml"
                this.cancelDownloadBtn.Click += new System.Windows.RoutedEventHandler(this.cancelDownloadBtn_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.openCanBtn = ((System.Windows.Controls.Button)(target));
                return;

            case 7:
                this.closeCanBtn = ((System.Windows.Controls.Button)(target));
                return;

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

            #line 96 "..\..\CanDownload.xaml"
                this.chooseFileBtn.Click += new System.Windows.RoutedEventHandler(this.chooseFileBtn_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.boundRateCbx = ((DirectConnectionPredictControl.ComboBoxControl)(target));
                return;
            }
            this._contentLoaded = true;
        }