void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.laser = ((System.Windows.Controls.Grid)(target)); return; case 2: this.laserPanel = ((NirIdentifier.Calibration.EachCalibratePanel)(target)); return; case 3: this.checkBoxCal = ((System.Windows.Controls.CheckBox)(target)); #line 76 "..\..\..\..\Calibration\NirCalibration.xaml" this.checkBoxCal.Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked); #line default #line hidden #line 76 "..\..\..\..\Calibration\NirCalibration.xaml" this.checkBoxCal.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBox_UnChecked); #line default #line hidden return; case 4: this.stackCal = ((System.Windows.Controls.StackPanel)(target)); return; case 5: this.peakAuto = ((System.Windows.Controls.TextBox)(target)); #line 83 "..\..\..\..\Calibration\NirCalibration.xaml" this.peakAuto.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput); #line default #line hidden return; case 6: #line 85 "..\..\..\..\Calibration\NirCalibration.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.Paste_CanExecute); #line default #line hidden return; case 7: #line 88 "..\..\..\..\Calibration\NirCalibration.xaml" ((Ai.Hong.CommonLibrary.Controls.UserButton)(target)).Click += new System.Windows.RoutedEventHandler(this.Manual_Click); #line default #line hidden return; case 8: this.btnLWStart = ((Ai.Hong.CommonLibrary.Controls.UserButton)(target)); #line 93 "..\..\..\..\Calibration\NirCalibration.xaml" this.btnLWStart.Click += new System.Windows.RoutedEventHandler(this.btnLWStart_Click); #line default #line hidden return; case 9: this.pq = ((System.Windows.Controls.Grid)(target)); return; case 10: this.stack = ((System.Windows.Controls.StackPanel)(target)); return; case 11: #line 114 "..\..\..\..\Calibration\NirCalibration.xaml" ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckAll_Checked); #line default #line hidden #line 114 "..\..\..\..\Calibration\NirCalibration.xaml" ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.CheckAll_UnChecked); #line default #line hidden return; case 12: #line 117 "..\..\..\..\Calibration\NirCalibration.xaml" ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.IsTestChecked_Click); #line default #line hidden #line 117 "..\..\..\..\Calibration\NirCalibration.xaml" ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.IsTestUnChecked_Click); #line default #line hidden return; case 13: this.snrPanel = ((NirIdentifier.Calibration.PPDeviation)(target)); return; case 14: #line 123 "..\..\..\..\Calibration\NirCalibration.xaml" ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.IsTestChecked_Click); #line default #line hidden #line 123 "..\..\..\..\Calibration\NirCalibration.xaml" ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.IsTestUnChecked_Click); #line default #line hidden return; case 15: this.accuracyPanel = ((NirIdentifier.Calibration.Accuracy)(target)); return; case 16: #line 129 "..\..\..\..\Calibration\NirCalibration.xaml" ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.IsTestChecked_Click); #line default #line hidden #line 129 "..\..\..\..\Calibration\NirCalibration.xaml" ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.IsTestUnChecked_Click); #line default #line hidden return; case 17: this.yaxisPanel = ((NirIdentifier.Calibration.EachCalibratePanel)(target)); return; case 18: this.btnPQStart = ((Ai.Hong.CommonLibrary.Controls.UserButton)(target)); #line 135 "..\..\..\..\Calibration\NirCalibration.xaml" this.btnPQStart.Click += new System.Windows.RoutedEventHandler(this.btnPQStart_Click); #line default #line hidden return; case 19: #line 136 "..\..\..\..\Calibration\NirCalibration.xaml" ((Ai.Hong.CommonLibrary.Controls.UserButton)(target)).Click += new System.Windows.RoutedEventHandler(this.btnPQCancel_Click); #line default #line hidden return; case 20: this.btnPQPrintReport = ((Ai.Hong.CommonLibrary.Controls.UserButton)(target)); #line 137 "..\..\..\..\Calibration\NirCalibration.xaml" this.btnPQPrintReport.Click += new System.Windows.RoutedEventHandler(this.btnPQPrintReport_Click); #line default #line hidden return; case 21: this.oq = ((System.Windows.Controls.Grid)(target)); return; case 22: this.oqStack = ((System.Windows.Controls.StackPanel)(target)); return; case 23: #line 153 "..\..\..\..\Calibration\NirCalibration.xaml" ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckAll_Checked); #line default #line hidden #line 153 "..\..\..\..\Calibration\NirCalibration.xaml" ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.CheckAll_UnChecked); #line default #line hidden return; case 24: #line 156 "..\..\..\..\Calibration\NirCalibration.xaml" ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.IsTestChecked_Click); #line default #line hidden #line 156 "..\..\..\..\Calibration\NirCalibration.xaml" ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.IsTestUnChecked_Click); #line default #line hidden return; case 25: this.resolutionTest = ((NirIdentifier.Calibration.EachCalibratePanel)(target)); return; case 26: #line 162 "..\..\..\..\Calibration\NirCalibration.xaml" ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.IsTestChecked_Click); #line default #line hidden #line 162 "..\..\..\..\Calibration\NirCalibration.xaml" ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.IsTestUnChecked_Click); #line default #line hidden return; case 27: this.lineNoisePanel = ((NirIdentifier.Calibration.EachCalibratePanel)(target)); return; case 28: #line 168 "..\..\..\..\Calibration\NirCalibration.xaml" ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.IsTestChecked_Click); #line default #line hidden #line 168 "..\..\..\..\Calibration\NirCalibration.xaml" ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.IsTestUnChecked_Click); #line default #line hidden return; case 29: this.energyDisPanel = ((NirIdentifier.Calibration.EachCalibratePanel)(target)); return; case 30: #line 174 "..\..\..\..\Calibration\NirCalibration.xaml" ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.IsTestChecked_Click); #line default #line hidden #line 174 "..\..\..\..\Calibration\NirCalibration.xaml" ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.IsTestUnChecked_Click); #line default #line hidden return; case 31: this.lineSlopeTest = ((NirIdentifier.Calibration.LineSlopeTest)(target)); return; case 32: #line 180 "..\..\..\..\Calibration\NirCalibration.xaml" ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.IsTestChecked_Click); #line default #line hidden #line 180 "..\..\..\..\Calibration\NirCalibration.xaml" ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.IsTestUnChecked_Click); #line default #line hidden return; case 33: this.tranRepPanel = ((NirIdentifier.Calibration.EachCalibratePanel)(target)); return; case 34: #line 186 "..\..\..\..\Calibration\NirCalibration.xaml" ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.IsTestChecked_Click); #line default #line hidden #line 186 "..\..\..\..\Calibration\NirCalibration.xaml" ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.IsTestUnChecked_Click); #line default #line hidden return; case 35: this.waveNumAccPanel = ((NirIdentifier.Calibration.Accuracy)(target)); return; case 36: #line 192 "..\..\..\..\Calibration\NirCalibration.xaml" ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.IsTestChecked_Click); #line default #line hidden #line 192 "..\..\..\..\Calibration\NirCalibration.xaml" ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.IsTestUnChecked_Click); #line default #line hidden return; case 37: this.waveNumRepPanel = ((NirIdentifier.Calibration.EachCalibratePanel)(target)); return; case 38: this.btnOQStart = ((Ai.Hong.CommonLibrary.Controls.UserButton)(target)); #line 199 "..\..\..\..\Calibration\NirCalibration.xaml" this.btnOQStart.Click += new System.Windows.RoutedEventHandler(this.btnOQStart_Click); #line default #line hidden return; case 39: #line 200 "..\..\..\..\Calibration\NirCalibration.xaml" ((Ai.Hong.CommonLibrary.Controls.UserButton)(target)).Click += new System.Windows.RoutedEventHandler(this.btnOQCancel_Click); #line default #line hidden return; case 40: this.btnOQPrintReport = ((Ai.Hong.CommonLibrary.Controls.UserButton)(target)); #line 201 "..\..\..\..\Calibration\NirCalibration.xaml" this.btnOQPrintReport.Click += new System.Windows.RoutedEventHandler(this.btnOQPrintReport_Click); #line default #line hidden return; case 41: this.beginDatePicker = ((System.Windows.Controls.DatePicker)(target)); return; case 42: this.endDatePicker = ((System.Windows.Controls.DatePicker)(target)); return; case 43: this.list = ((System.Windows.Controls.ComboBox)(target)); #line 232 "..\..\..\..\Calibration\NirCalibration.xaml" this.list.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.list_SelectionChanged); #line default #line hidden return; case 44: this.listPqOq = ((System.Windows.Controls.ComboBox)(target)); return; case 45: this.btnSearch = ((Ai.Hong.CommonLibrary.Controls.UserButton)(target)); #line 241 "..\..\..\..\Calibration\NirCalibration.xaml" this.btnSearch.Click += new System.Windows.RoutedEventHandler(this.btnSearch_Click); #line default #line hidden return; case 46: this.spectrumChart = ((Ai.Hong.CommonLibrary.GraphicChart)(target)); return; case 47: this.mainFGrid = ((System.Windows.Forms.Integration.WindowsFormsHost)(target)); return; case 48: this.mainChart = ((System.Windows.Forms.DataVisualization.Charting.Chart)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.listFiles = ((Ai.Hong.CommonLibrary.Controls.SelectColorList)(target)); #line 27 "..\..\..\..\Detect\SampleResult.xaml" this.listFiles.ItemSelected += new System.Windows.RoutedEventHandler(this.listFiles_ItemSelected); #line default #line hidden return; case 2: this.gridDrugInfo = ((System.Windows.Controls.Grid)(target)); return; case 3: this.txtMemo = ((System.Windows.Controls.TextBlock)(target)); return; case 4: this.graphicChart = ((Ai.Hong.CommonLibrary.GraphicChart)(target)); return; case 5: this.btnLoad = ((Ai.Hong.CommonLibrary.Controls.UserButton)(target)); #line 119 "..\..\..\..\Detect\SampleResult.xaml" this.btnLoad.Click += new System.Windows.RoutedEventHandler(this.btnLoad_Click); #line default #line hidden return; case 6: this.btnUnload = ((Ai.Hong.CommonLibrary.Controls.UserButton)(target)); #line 120 "..\..\..\..\Detect\SampleResult.xaml" this.btnUnload.Click += new System.Windows.RoutedEventHandler(this.btnUnload_Click); #line default #line hidden return; case 7: this.btnReIdentify = ((Ai.Hong.CommonLibrary.Controls.UserButton)(target)); #line 121 "..\..\..\..\Detect\SampleResult.xaml" this.btnReIdentify.Click += new System.Windows.RoutedEventHandler(this.btnReIdentify_Click); #line default #line hidden return; case 8: this.btnPrint = ((Ai.Hong.CommonLibrary.Controls.UserButton)(target)); #line 122 "..\..\..\..\Detect\SampleResult.xaml" this.btnPrint.Click += new System.Windows.RoutedEventHandler(this.btnPrint_Click); #line default #line hidden return; } this._contentLoaded = true; }