コード例 #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MainWindow = ((GC_comparison_wpf.MainWindow2)(target));
     return;
     case 2:
     this.mainGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.textBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 4:
     this.textBlock1 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 5:
     this.radioButton = ((System.Windows.Controls.RadioButton)(target));
     
     #line 18 "..\..\MainWindow2.xaml"
     this.radioButton.Checked += new System.Windows.RoutedEventHandler(this.radioButton_Checked);
     
     #line default
     #line hidden
     return;
     case 6:
     this.radioButton1 = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 7:
     this.radioButton2 = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 8:
     this.textBlock2 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 9:
     this.comboBox = ((System.Windows.Controls.ComboBox)(target));
     
     #line 22 "..\..\MainWindow2.xaml"
     this.comboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 10:
     this.button = ((System.Windows.Controls.Button)(target));
     
     #line 28 "..\..\MainWindow2.xaml"
     this.button.Click += new System.Windows.RoutedEventHandler(this.button_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
コード例 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MainWindow = ((GC_comparison_wpf.MainWindow2)(target));
     return;
     case 2:
     this.mainGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.mainStackPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 4:
     this.textBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 5:
     this.textBlock1 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 6:
     this.radioButton = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 7:
     this.radioButton1 = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 8:
     this.radioButton2 = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 9:
     this.textBlock2 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 10:
     this.comboBox = ((System.Windows.Controls.ComboBox)(target));
     
     #line 23 "..\..\MainWindow.xaml"
     this.comboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 11:
     this.textBlock2_Copy = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 12:
     this.testsAmount = ((System.Windows.Controls.ComboBox)(target));
     
     #line 30 "..\..\MainWindow.xaml"
     this.testsAmount.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 13:
     this.button = ((System.Windows.Controls.Button)(target));
     
     #line 39 "..\..\MainWindow.xaml"
     this.button.Click += new System.Windows.RoutedEventHandler(this.button_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.statusStackPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 15:
     this.textBlock3 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 16:
     this.objectsInMemoryCaption = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 17:
     this.objectsInMemory = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 18:
     this.collectorWorkTimeCaption = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 19:
     this.collectorWorkTime = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 20:
     this.mutatorWorkTimeCaption = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 21:
     this.mutatorWorkTime = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 22:
     this.totalWorkTimeCaption = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 23:
     this.totalWorkTime = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 24:
     this.totalWorkTimeCaption_Copy1 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 25:
     this.currentTest = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 26:
     this.totalWorkTimeCaption_Copy = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 27:
     this.avarageWorkTime = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 28:
     this.messageBorder = ((System.Windows.Controls.Border)(target));
     return;
     case 29:
     this.message = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }