Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainWindow = ((PASATTest.MainWindow)(target));

            #line 4 "..\..\..\MainWindow.xaml"
                this.mainWindow.Closing += new System.ComponentModel.CancelEventHandler(this.mainWindow_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.textBlock1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.textBlock2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.textBlock3 = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 9 "..\..\..\MainWindow.xaml"
                this.buttonRunTest.Click += new System.Windows.RoutedEventHandler(this.buttonRunTest_Click);

            #line default
            #line hidden
                return;

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

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

            case 8:
                this.textBoxNumOfPracticeTests = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 10:
                this.numOfRatePairs = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.textBlock4 = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

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

            case 15:
                this.rectangle1 = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 16:
                this.rectangle2 = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 17:
                this.groupBoxForm = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 18:
                this.radioButtonFormA = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 19:
                this.radioButtonFormB = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 20:
                this.groupBoxDelaySeconds = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 21:
                this.radioButton3seconds = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 22:
                this.radioButton2seconds = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 23:
                this.groupBoxTestType = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 24:
                this.radioButtonActualTest = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 25:
                this.radioButtonPractice = ((System.Windows.Controls.RadioButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.mainWindow = ((PASATTest.MainWindow)(target));
     
     #line 4 "..\..\..\MainWindow.xaml"
     this.mainWindow.Closing += new System.ComponentModel.CancelEventHandler(this.mainWindow_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.textBlock1 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 3:
     this.textBlock2 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 4:
     this.textBlock3 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 5:
     this.buttonRunTest = ((System.Windows.Controls.Button)(target));
     
     #line 9 "..\..\..\MainWindow.xaml"
     this.buttonRunTest.Click += new System.Windows.RoutedEventHandler(this.buttonRunTest_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.selectTestType = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 7:
     this.numOfRateTests = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 8:
     this.textBoxNumOfPracticeTests = ((System.Windows.Controls.TextBox)(target));
     return;
     case 9:
     this.textBlockPracticeTestLength = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 10:
     this.numOfRatePairs = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 11:
     this.textBlock4 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 12:
     this.textBlock5 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 13:
     this.textBlockEstTime = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 14:
     this.formsAvailable = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 15:
     this.rectangle1 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 16:
     this.rectangle2 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 17:
     this.groupBoxForm = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 18:
     this.radioButtonFormA = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 19:
     this.radioButtonFormB = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 20:
     this.groupBoxDelaySeconds = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 21:
     this.radioButton3seconds = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 22:
     this.radioButton2seconds = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 23:
     this.groupBoxTestType = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 24:
     this.radioButtonActualTest = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 25:
     this.radioButtonPractice = ((System.Windows.Controls.RadioButton)(target));
     return;
     }
     this._contentLoaded = true;
 }