void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.dashboard = ((ZdfFlatUI.Dashboard)(target));
     return;
     case 2:
     this.btnGetValue = ((System.Windows.Controls.Button)(target));
     
     #line 18 "..\..\..\UITest\UCTDashboardTest.xaml"
     this.btnGetValue.Click += new System.Windows.RoutedEventHandler(this.btnGetValue_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.slider = ((System.Windows.Controls.Slider)(target));
     return;
     case 4:
     this.dashboard1 = ((ZdfFlatUI.Dashboard)(target));
     return;
     case 5:
     this.slider1 = ((System.Windows.Controls.Slider)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 17 "..\..\TestingWindow.xaml"
                ((SCEEC.TTM.WindowTesting)(target)).StateChanged += new System.EventHandler(this.Window_StateChanged);

            #line default
            #line hidden

            #line 17 "..\..\TestingWindow.xaml"
                ((SCEEC.TTM.WindowTesting)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:

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

            #line default
            #line hidden
                return;

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

            #line 37 "..\..\TestingWindow.xaml"
                this.minimumButton.Click += new System.Windows.RoutedEventHandler(this.MinimumButton_Click);

            #line default
            #line hidden
                return;

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

            #line 40 "..\..\TestingWindow.xaml"
                this.maximumButton.Click += new System.Windows.RoutedEventHandler(this.MaximumButton_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.maximumButtonImage = ((System.Windows.Controls.Image)(target));
                return;

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

            #line 43 "..\..\TestingWindow.xaml"
                this.closeButton.Click += new System.Windows.RoutedEventHandler(this.CloseButton_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.TestItemListBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 8:
                this.RemainingTestNumLabel = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 10:
                this.progressBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 11:
                this.MeasurementPanelGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 12:
                this.DashboardTitle1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.DashboardValue1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 14:
                this.DashboardUnit1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.DashboardTitle2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:
                this.DashboardValue2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 17:
                this.DashboardUnit2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 18:
                this.dashboad1 = ((ZdfFlatUI.Dashboard)(target));
                return;

            case 19:
                this.dashboard2 = ((ZdfFlatUI.Dashboard)(target));
                return;

            case 20:
                this.ResultListBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 21:
                this.StartButton = ((System.Windows.Controls.Border)(target));

            #line 156 "..\..\TestingWindow.xaml"
                this.StartButton.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.StartButton_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.StarText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 23:
                this.StopButton = ((System.Windows.Controls.Border)(target));

            #line 168 "..\..\TestingWindow.xaml"
                this.StopButton.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.StopButton_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.WorkingStatusLabel = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }