void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MainForm = ((HardwareInfo.MainWindow)(target)); #line 8 "..\..\MainWindow.xaml" this.MainForm.Closing += new System.ComponentModel.CancelEventHandler(this.MainForm_Closing); #line default #line hidden #line 8 "..\..\MainWindow.xaml" this.MainForm.Loaded += new System.Windows.RoutedEventHandler(this.MainForm_Loaded); #line default #line hidden return; case 2: this.MainGrid = ((System.Windows.Controls.Grid)(target)); return; case 3: this.CPUUsageLabel = ((System.Windows.Controls.Label)(target)); return; case 4: this.CPUInfoTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.CPUUsageBar = ((System.Windows.Controls.ProgressBar)(target)); return; case 6: this.GPUUsageLabel = ((System.Windows.Controls.Label)(target)); return; case 7: this.GPUInfoTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.GPUUsageBar = ((System.Windows.Controls.ProgressBar)(target)); return; case 9: this.CPUBriefInfo = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.AdvanceInfoTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 11: this.CPUTickerCheckBox = ((System.Windows.Controls.CheckBox)(target)); #line 22 "..\..\MainWindow.xaml" this.CPUTickerCheckBox.Checked += new System.Windows.RoutedEventHandler(this.CPUTickerCheckBox_Checked); #line default #line hidden #line 22 "..\..\MainWindow.xaml" this.CPUTickerCheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.CPUTickerCheckBox_Unchecked); #line default #line hidden return; case 12: this.RefreshTime = ((System.Windows.Controls.Slider)(target)); #line 23 "..\..\MainWindow.xaml" this.RefreshTime.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.RefreshTime_ValueChanged); #line default #line hidden return; case 13: this.RefreshTimeLabel = ((System.Windows.Controls.Label)(target)); return; case 14: this.x32ModeCheckBox = ((System.Windows.Controls.CheckBox)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MainForm = ((HardwareInfo.MainWindow)(target)); #line 9 "..\..\MainWindow.xaml" this.MainForm.Closing += new System.ComponentModel.CancelEventHandler(this.MainForm_Closing); #line default #line hidden #line 9 "..\..\MainWindow.xaml" this.MainForm.Loaded += new System.Windows.RoutedEventHandler(this.MainForm_Loaded); #line default #line hidden return; case 2: this.MainGrid = ((System.Windows.Controls.Grid)(target)); return; case 3: this.CPUUsageLabel = ((System.Windows.Controls.Label)(target)); return; case 4: this.CPUUsageBar = ((System.Windows.Controls.ProgressBar)(target)); return; case 5: this.GPUInfoTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.CPUAdvancedInfo = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.CPUTickerCheckBox = ((System.Windows.Controls.CheckBox)(target)); #line 22 "..\..\MainWindow.xaml" this.CPUTickerCheckBox.Click += new System.Windows.RoutedEventHandler(this.CPUTickerCheckBox_Click); #line default #line hidden return; case 8: this.RefreshTime = ((System.Windows.Controls.Slider)(target)); #line 23 "..\..\MainWindow.xaml" this.RefreshTime.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.RefreshTime_ValueChanged); #line default #line hidden return; case 9: this.CurrentRefreshTimeLabel = ((System.Windows.Controls.Label)(target)); return; case 10: this.RefreshTimeLabel = ((System.Windows.Controls.Label)(target)); return; case 11: this.x32SwichCheckBox = ((System.Windows.Controls.CheckBox)(target)); #line 26 "..\..\MainWindow.xaml" this.x32SwichCheckBox.Click += new System.Windows.RoutedEventHandler(this.X32SwichCheckBox_Click); #line default #line hidden return; case 12: this.AdvancedInfoLabel = ((System.Windows.Controls.Label)(target)); return; case 13: this.ShowAdvanceInfo = ((System.Windows.Controls.Button)(target)); #line 28 "..\..\MainWindow.xaml" this.ShowAdvanceInfo.Click += new System.Windows.RoutedEventHandler(this.ShowAdvanceInfo_Click); #line default #line hidden return; case 14: this.CPUInfoBox = ((System.Windows.Controls.GroupBox)(target)); return; case 15: this.CPUIndoGrid = ((System.Windows.Controls.Grid)(target)); return; case 16: this.AddressWidthLabel = ((System.Windows.Controls.Label)(target)); return; case 17: this.ArchitectureLabel = ((System.Windows.Controls.Label)(target)); return; case 18: this.CpuStatusLabel = ((System.Windows.Controls.Label)(target)); return; case 19: this.CurrentClockSpeedLabel = ((System.Windows.Controls.Label)(target)); return; case 20: this.MaxClockSpeedLabel = ((System.Windows.Controls.Label)(target)); return; case 21: this.AddressWidthValue = ((System.Windows.Controls.Label)(target)); return; case 22: this.ArchitectureValue = ((System.Windows.Controls.Label)(target)); return; case 23: this.CpuStatusValue = ((System.Windows.Controls.Label)(target)); return; case 24: this.CurrentClockSpeedValue = ((System.Windows.Controls.Label)(target)); return; case 25: this.MaxClockSpeedValue = ((System.Windows.Controls.Label)(target)); return; case 26: this.GPUInfoLabel = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }