private static void OnCurrentValuePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { //Get access to the instance of CircularGaugeConrol whose property value changed CircularGaugeControl gauge = d as CircularGaugeControl; gauge.OnCurrentValueChanged(e); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 2: this.myGauge1 = ((CircularGauge.CircularGaugeControl)(target)); return; case 3: this.myGauge2 = ((CircularGauge.CircularGaugeControl)(target)); return; case 4: this.myGauge3 = ((CircularGauge.CircularGaugeControl)(target)); return; case 5: this.myGauge4 = ((CircularGauge.CircularGaugeControl)(target)); return; case 6: this.slider = ((System.Windows.Controls.Slider)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 2: this.myGauge1 = ((CircularGauge.CircularGaugeControl)(target)); return; case 3: this.myGauge2 = ((CircularGauge.CircularGaugeControl)(target)); #line 103 "..\..\Window1.xaml" this.myGauge2.Loaded += new System.Windows.RoutedEventHandler(this.myGauge2_Loaded); #line default #line hidden return; case 4: this.myGauge3 = ((CircularGauge.CircularGaugeControl)(target)); return; case 5: this.myGauge4 = ((CircularGauge.CircularGaugeControl)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.button1 = ((System.Windows.Controls.Button)(target)); #line 7 "..\..\..\MainWindow.xaml" this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click); #line default #line hidden return; case 2: this.myGauge1 = ((CircularGauge.CircularGaugeControl)(target)); return; case 3: #line 26 "..\..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; } this._contentLoaded = true; }
private static void OnOptimalRangeStartValuePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { //Get access to the instance of CircularGaugeConrol whose property value changed CircularGaugeControl gauge = d as CircularGaugeControl; if ((double)e.NewValue < gauge.MinValue) { gauge.OptimalRangeStartValue = gauge.MinValue; } }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.myGauge1 = ((CircularGauge.CircularGaugeControl)(target)); return; case 2: this.Speed = ((CircularGauge.CircularGaugeControl)(target)); return; case 3: this.fuelGauge = ((CircularGauge.CircularGaugeControl)(target)); return; case 4: this.label = ((System.Windows.Controls.Label)(target)); return; case 5: this.fuelConsume = ((System.Windows.Controls.Label)(target)); return; case 6: this.engineTemp = ((System.Windows.Controls.Label)(target)); return; case 7: this.image = ((System.Windows.Controls.Image)(target)); return; case 8: this.imageAbs = ((System.Windows.Controls.Image)(target)); return; case 9: this.przebiegWindow = ((System.Windows.Controls.Label)(target)); return; case 10: this.oilImage = ((System.Windows.Controls.Image)(target)); return; case 11: this.batteryImage = ((System.Windows.Controls.Image)(target)); return; case 12: this.espImage = ((System.Windows.Controls.Image)(target)); return; case 13: this.groupBox = ((System.Windows.Controls.GroupBox)(target)); return; case 14: this.slider = ((System.Windows.Controls.Slider)(target)); #line 198 "..\..\MainWindow.xaml" this.slider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.slider_ValueChanged); #line default #line hidden return; case 15: this.espControl = ((System.Windows.Controls.CheckBox)(target)); #line 199 "..\..\MainWindow.xaml" this.espControl.Checked += new System.Windows.RoutedEventHandler(this.espControl_Checked); #line default #line hidden #line 199 "..\..\MainWindow.xaml" this.espControl.Unchecked += new System.Windows.RoutedEventHandler(this.espControl_Unchecked); #line default #line hidden return; case 16: this.accumulatorControl = ((System.Windows.Controls.CheckBox)(target)); #line 200 "..\..\MainWindow.xaml" this.accumulatorControl.Checked += new System.Windows.RoutedEventHandler(this.accumulatorControl_Checked); #line default #line hidden #line 200 "..\..\MainWindow.xaml" this.accumulatorControl.Unchecked += new System.Windows.RoutedEventHandler(this.accumulatorControl_Unchecked); #line default #line hidden return; case 17: this.oilControl = ((System.Windows.Controls.CheckBox)(target)); #line 201 "..\..\MainWindow.xaml" this.oilControl.Checked += new System.Windows.RoutedEventHandler(this.oilControl_Checked); #line default #line hidden #line 201 "..\..\MainWindow.xaml" this.oilControl.Unchecked += new System.Windows.RoutedEventHandler(this.oilControl_Unchecked); #line default #line hidden return; case 18: this.absControl = ((System.Windows.Controls.CheckBox)(target)); #line 202 "..\..\MainWindow.xaml" this.absControl.Checked += new System.Windows.RoutedEventHandler(this.absControl_Checked); #line default #line hidden #line 202 "..\..\MainWindow.xaml" this.absControl.Unchecked += new System.Windows.RoutedEventHandler(this.absControl_Unchecked); #line default #line hidden return; case 19: this.Wykres = ((System.Windows.Controls.Grid)(target)); #line 205 "..\..\MainWindow.xaml" this.Wykres.Loaded += new System.Windows.RoutedEventHandler(this.Wykres_Loaded); #line default #line hidden return; case 20: this.Chart = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.palettecombo = ((System.Windows.Controls.ComboBox)(target)); return; case 2: this.myGauge2 = ((CircularGauge.CircularGaugeControl)(target)); return; case 3: this.barChart = ((Syncfusion.UI.Xaml.Charts.SfChart)(target)); return; case 4: this.barSeries1 = ((Syncfusion.UI.Xaml.Charts.BarSeries)(target)); return; case 5: this.barChart1 = ((Syncfusion.UI.Xaml.Charts.SfChart)(target)); return; case 6: this.barSeries2 = ((Syncfusion.UI.Xaml.Charts.BarSeries)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 2: this.myGauge1 = ((CircularGauge.CircularGaugeControl)(target)); return; case 3: this.myGauge2 = ((CircularGauge.CircularGaugeControl)(target)); return; case 4: this.myGauge3 = ((CircularGauge.CircularGaugeControl)(target)); return; case 5: this.myGauge4 = ((CircularGauge.CircularGaugeControl)(target)); return; case 6: #line 176 "..\..\Window1.xaml" ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBox1_Checked); #line default #line hidden #line 177 "..\..\Window1.xaml" ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.CheckBox1_Unchecked); #line default #line hidden return; case 7: #line 179 "..\..\Window1.xaml" ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBox2_Checked); #line default #line hidden #line 180 "..\..\Window1.xaml" ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.CheckBox2_Unchecked); #line default #line hidden return; case 8: #line 182 "..\..\Window1.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.myGauge1 = ((CircularGauge.CircularGaugeControl)(target)); return; case 2: this.myGauge2 = ((CircularGauge.CircularGaugeControl)(target)); return; case 3: #line 114 "..\..\..\..\Pages\Home\RTDatas.xaml" ((System.Windows.Controls.Label)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ShowPressWin); #line default #line hidden return; case 4: this.press = ((System.Windows.Controls.Label)(target)); #line 115 "..\..\..\..\Pages\Home\RTDatas.xaml" this.press.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ShowPressWin); #line default #line hidden return; case 5: #line 116 "..\..\..\..\Pages\Home\RTDatas.xaml" ((System.Windows.Controls.Label)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ShowTempWin); #line default #line hidden return; case 6: this.temp = ((System.Windows.Controls.Label)(target)); #line 117 "..\..\..\..\Pages\Home\RTDatas.xaml" this.temp.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ShowTempWin); #line default #line hidden return; case 7: #line 118 "..\..\..\..\Pages\Home\RTDatas.xaml" ((System.Windows.Controls.Label)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ShowHumWin); #line default #line hidden return; case 8: this.hum = ((System.Windows.Controls.Label)(target)); #line 119 "..\..\..\..\Pages\Home\RTDatas.xaml" this.hum.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ShowHumWin); #line default #line hidden return; case 9: #line 120 "..\..\..\..\Pages\Home\RTDatas.xaml" ((System.Windows.Controls.Label)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ShowMotospeedWin); #line default #line hidden return; case 10: this.ms = ((System.Windows.Controls.Label)(target)); #line 121 "..\..\..\..\Pages\Home\RTDatas.xaml" this.ms.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ShowMotospeedWin); #line default #line hidden return; case 11: #line 122 "..\..\..\..\Pages\Home\RTDatas.xaml" ((System.Windows.Controls.Label)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ShowTorWin); #line default #line hidden return; case 12: this.mt = ((System.Windows.Controls.Label)(target)); #line 123 "..\..\..\..\Pages\Home\RTDatas.xaml" this.mt.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ShowTorWin); #line default #line hidden return; case 13: this.ff = ((System.Windows.Controls.Label)(target)); #line 124 "..\..\..\..\Pages\Home\RTDatas.xaml" this.ff.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ShowFricWin); #line default #line hidden return; case 14: this.ps = ((System.Windows.Controls.Label)(target)); #line 125 "..\..\..\..\Pages\Home\RTDatas.xaml" this.ps.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ShowPltspeedWin); #line default #line hidden return; case 15: #line 126 "..\..\..\..\Pages\Home\RTDatas.xaml" ((System.Windows.Controls.Label)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ShowPltspeedWin); #line default #line hidden return; case 16: #line 127 "..\..\..\..\Pages\Home\RTDatas.xaml" ((System.Windows.Controls.Label)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ShowFricWin); #line default #line hidden return; case 17: this.stopRecBtn = ((System.Windows.Controls.Button)(target)); #line 128 "..\..\..\..\Pages\Home\RTDatas.xaml" this.stopRecBtn.Click += new System.Windows.RoutedEventHandler(this.Button_Click_1); #line default #line hidden return; case 18: this.recDataBtn = ((System.Windows.Controls.Button)(target)); #line 129 "..\..\..\..\Pages\Home\RTDatas.xaml" this.recDataBtn.Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 19: this.stopMotoBtn1 = ((System.Windows.Controls.Button)(target)); #line 130 "..\..\..\..\Pages\Home\RTDatas.xaml" this.stopMotoBtn1.Click += new System.Windows.RoutedEventHandler(this.stopMotoBtn1_Click); #line default #line hidden return; case 20: this.startExper = ((System.Windows.Controls.Button)(target)); #line 131 "..\..\..\..\Pages\Home\RTDatas.xaml" this.startExper.Click += new System.Windows.RoutedEventHandler(this.startExper_Click); #line default #line hidden return; case 21: #line 132 "..\..\..\..\Pages\Home\RTDatas.xaml" ((System.Windows.Controls.Label)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ShowPltspeedWin); #line default #line hidden return; case 22: #line 133 "..\..\..\..\Pages\Home\RTDatas.xaml" ((System.Windows.Controls.Label)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ShowPltspeedWin); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.frmMain = ((AlyTaloSovellus.MainWindow)(target)); return; case 2: this.btnOnOLohuone = ((System.Windows.Controls.Button)(target)); #line 11 "..\..\MainWindow.xaml" this.btnOnOLohuone.Click += new System.Windows.RoutedEventHandler(this.btnOnOLohuone_Click); #line default #line hidden return; case 3: this.lblOlohuone = ((System.Windows.Controls.Label)(target)); return; case 4: this.btnOffOLohuone = ((System.Windows.Controls.Button)(target)); #line 15 "..\..\MainWindow.xaml" this.btnOffOLohuone.Click += new System.Windows.RoutedEventHandler(this.btnOffOLohuone_Click); #line default #line hidden return; case 5: this.btnOnKeitio = ((System.Windows.Controls.Button)(target)); #line 16 "..\..\MainWindow.xaml" this.btnOnKeitio.Click += new System.Windows.RoutedEventHandler(this.btnOnKeitio_Click); #line default #line hidden return; case 6: this.btnOffKeitio = ((System.Windows.Controls.Button)(target)); #line 17 "..\..\MainWindow.xaml" this.btnOffKeitio.Click += new System.Windows.RoutedEventHandler(this.btnOffKeitio_Click); #line default #line hidden return; case 7: this.btnOnSauna = ((System.Windows.Controls.Button)(target)); #line 19 "..\..\MainWindow.xaml" this.btnOnSauna.Click += new System.Windows.RoutedEventHandler(this.btnOnSauna_Click); #line default #line hidden return; case 8: this.btnOffSauna = ((System.Windows.Controls.Button)(target)); #line 20 "..\..\MainWindow.xaml" this.btnOffSauna.Click += new System.Windows.RoutedEventHandler(this.btnOffSauna_Click); #line default #line hidden return; case 9: this.lblOlohuone_Copy = ((System.Windows.Controls.Label)(target)); return; case 10: this.slider1 = ((System.Windows.Controls.Slider)(target)); #line 22 "..\..\MainWindow.xaml" this.slider1.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.slider1_ValueChanged); #line default #line hidden return; case 11: this.slider2 = ((System.Windows.Controls.Slider)(target)); #line 23 "..\..\MainWindow.xaml" this.slider2.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.slider2_ValueChanged); #line default #line hidden return; case 12: this.btnValoSauna = ((System.Windows.Controls.Button)(target)); return; case 13: this.btnKeitioValo = ((System.Windows.Controls.Button)(target)); return; case 14: this.lblTavoitelämpötila = ((System.Windows.Controls.Label)(target)); return; case 15: this.btnVaihdaLampo = ((System.Windows.Controls.Button)(target)); #line 28 "..\..\MainWindow.xaml" this.btnVaihdaLampo.Click += new System.Windows.RoutedEventHandler(this.btnVaihdaLampo_Click); #line default #line hidden return; case 16: this.txtlampo2 = ((System.Windows.Controls.TextBox)(target)); return; case 17: this.cgcSauna = ((CircularGauge.CircularGaugeControl)(target)); #line 30 "..\..\MainWindow.xaml" this.cgcSauna.Loaded += new System.Windows.RoutedEventHandler(this.cgcSauna_Loaded); #line default #line hidden return; case 18: this.btnOlohuoneValo = ((System.Windows.Controls.Button)(target)); return; case 19: this.txtlampo1 = ((System.Windows.Controls.TextBox)(target)); return; case 20: this.pbOlohuone = ((System.Windows.Controls.ProgressBar)(target)); return; case 21: this.pbKeitio = ((System.Windows.Controls.ProgressBar)(target)); return; case 22: this.txtSlider1 = ((System.Windows.Controls.TextBox)(target)); return; case 23: this.txtSlider2 = ((System.Windows.Controls.TextBox)(target)); return; case 24: this.txtSauna = ((System.Windows.Controls.TextBox)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.myGauge = ((CircularGauge.CircularGaugeControl)(target)); return; case 2: this.txtPrimary = ((System.Windows.Controls.TextBox)(target)); return; case 3: this.cmbConcert = ((System.Windows.Controls.ComboBox)(target)); #line 85 "..\..\MainWindow.xaml" this.cmbConcert.DropDownOpened += new System.EventHandler(this.cmbConcert_DropDownOpened); #line default #line hidden #line 85 "..\..\MainWindow.xaml" this.cmbConcert.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbConcert_SelectionChanged); #line default #line hidden return; case 4: this.cmbLevel = ((System.Windows.Controls.ComboBox)(target)); #line 87 "..\..\MainWindow.xaml" this.cmbLevel.DropDownOpened += new System.EventHandler(this.cmbLevel_DropDownOpened); #line default #line hidden return; case 5: this.txtTicketCount = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.cmbCustomer = ((System.Windows.Controls.ComboBox)(target)); #line 91 "..\..\MainWindow.xaml" this.cmbCustomer.DropDownOpened += new System.EventHandler(this.cmbCustomer_DropDownOpened); #line default #line hidden return; case 7: this.rdoNoClean = ((System.Windows.Controls.RadioButton)(target)); return; case 8: this.rdoCleanComplete = ((System.Windows.Controls.RadioButton)(target)); return; case 9: this.rdoCleanOnly = ((System.Windows.Controls.RadioButton)(target)); return; case 10: this.txtBulkPurchase = ((System.Windows.Controls.TextBox)(target)); return; case 11: this.lblPurchases = ((System.Windows.Controls.TextBlock)(target)); return; case 12: this.lblDuration = ((System.Windows.Controls.TextBlock)(target)); return; case 13: this.lblPurchasePerSec = ((System.Windows.Controls.TextBlock)(target)); return; case 14: this.prgPurchases = ((System.Windows.Controls.ProgressBar)(target)); return; case 15: this.btnStart = ((System.Windows.Controls.Button)(target)); #line 108 "..\..\MainWindow.xaml" this.btnStart.Click += new System.Windows.RoutedEventHandler(this.btnStart_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.btnNaytaAutonTiedot = ((System.Windows.Controls.Button)(target)); #line 15 "..\..\MainWindow.xaml" this.btnNaytaAutonTiedot.Click += new System.Windows.RoutedEventHandler(this.BtnNaytaAutonTiedot_Click); #line default #line hidden return; case 2: this.btnNaytaAutonTiedot2 = ((System.Windows.Controls.Button)(target)); #line 16 "..\..\MainWindow.xaml" this.btnNaytaAutonTiedot2.Click += new System.Windows.RoutedEventHandler(this.BtnNaytaAutonTiedot2_Click); #line default #line hidden return; case 3: this.btnStart = ((System.Windows.Controls.Button)(target)); #line 17 "..\..\MainWindow.xaml" this.btnStart.Click += new System.Windows.RoutedEventHandler(this.BtnStart_Click); #line default #line hidden return; case 4: this.btnStop = ((System.Windows.Controls.Button)(target)); #line 18 "..\..\MainWindow.xaml" this.btnStop.Click += new System.Windows.RoutedEventHandler(this.BtnStop_Click); #line default #line hidden return; case 5: this.btnStart2 = ((System.Windows.Controls.Button)(target)); #line 19 "..\..\MainWindow.xaml" this.btnStart2.Click += new System.Windows.RoutedEventHandler(this.BtnStart_Click); #line default #line hidden return; case 6: this.btnStop2 = ((System.Windows.Controls.Button)(target)); #line 20 "..\..\MainWindow.xaml" this.btnStop2.Click += new System.Windows.RoutedEventHandler(this.BtnStop_Click); #line default #line hidden return; case 7: this.btnIndicator = ((System.Windows.Controls.Button)(target)); return; case 8: this.btnIndicator2 = ((System.Windows.Controls.Button)(target)); return; case 9: this.txtMalli = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.txtVari = ((System.Windows.Controls.TextBox)(target)); return; case 11: this.txtHuippunopeus = ((System.Windows.Controls.TextBox)(target)); return; case 12: this.txtMalli2 = ((System.Windows.Controls.TextBox)(target)); return; case 13: this.txtVari2 = ((System.Windows.Controls.TextBox)(target)); return; case 14: this.txtHuippunopeus2 = ((System.Windows.Controls.TextBox)(target)); return; case 15: this.lblMalli = ((System.Windows.Controls.Label)(target)); return; case 16: this.lblMalli2 = ((System.Windows.Controls.Label)(target)); return; case 17: this.lblVari = ((System.Windows.Controls.Label)(target)); return; case 18: this.lblVari2 = ((System.Windows.Controls.Label)(target)); return; case 19: this.lblHuippunopeus = ((System.Windows.Controls.Label)(target)); return; case 20: this.lblHuippunopeus2 = ((System.Windows.Controls.Label)(target)); return; case 21: this.lblAuto1 = ((System.Windows.Controls.Label)(target)); return; case 22: this.lblAuto2 = ((System.Windows.Controls.Label)(target)); return; case 23: this.lblMerkki = ((System.Windows.Controls.Label)(target)); return; case 24: this.lblMerkki_Copy = ((System.Windows.Controls.Label)(target)); return; case 25: this.txtMerkki = ((System.Windows.Controls.TextBox)(target)); return; case 26: this.txtMerkki2 = ((System.Windows.Controls.TextBox)(target)); return; case 27: this.lblVaihteisto = ((System.Windows.Controls.Label)(target)); return; case 28: this.lblVaihteisto2 = ((System.Windows.Controls.Label)(target)); return; case 29: this.cbVaihteisto = ((System.Windows.Controls.ComboBox)(target)); return; case 30: this.cbVaihteisto2 = ((System.Windows.Controls.ComboBox)(target)); return; case 31: this.lblHevosvoimat = ((System.Windows.Controls.Label)(target)); return; case 32: this.lblHevosvoimat_Copy = ((System.Windows.Controls.Label)(target)); return; case 33: this.txtHevosvoimat = ((System.Windows.Controls.TextBox)(target)); return; case 34: this.txtHevosvoimat2 = ((System.Windows.Controls.TextBox)(target)); return; case 35: this.txtNopeus = ((System.Windows.Controls.TextBox)(target)); return; case 36: this.btnKiihdyta = ((System.Windows.Controls.Button)(target)); #line 50 "..\..\MainWindow.xaml" this.btnKiihdyta.Click += new System.Windows.RoutedEventHandler(this.BtnKiihdyta_Click); #line default #line hidden return; case 37: this.btnJarruta = ((System.Windows.Controls.Button)(target)); #line 51 "..\..\MainWindow.xaml" this.btnJarruta.Click += new System.Windows.RoutedEventHandler(this.BtnJarruta_Click); #line default #line hidden return; case 38: this.btnKiihdyta2 = ((System.Windows.Controls.Button)(target)); #line 52 "..\..\MainWindow.xaml" this.btnKiihdyta2.Click += new System.Windows.RoutedEventHandler(this.BtnKiihdyta2_Click); #line default #line hidden return; case 39: this.btnJarruta2 = ((System.Windows.Controls.Button)(target)); #line 53 "..\..\MainWindow.xaml" this.btnJarruta2.Click += new System.Windows.RoutedEventHandler(this.BtnJarruta2_Click); #line default #line hidden return; case 40: this.txtNopeus2 = ((System.Windows.Controls.TextBox)(target)); return; case 41: this.lblVaihteidenMaara = ((System.Windows.Controls.Label)(target)); return; case 42: this.txtVaihteidenMaara = ((System.Windows.Controls.TextBox)(target)); return; case 43: this.lblVaihteidenMaara2 = ((System.Windows.Controls.Label)(target)); return; case 44: this.txtVaihteidenMaara2 = ((System.Windows.Controls.TextBox)(target)); return; case 45: this.btnTyhjennys = ((System.Windows.Controls.Button)(target)); #line 59 "..\..\MainWindow.xaml" this.btnTyhjennys.Click += new System.Windows.RoutedEventHandler(this.BtnTyhjennys_Click); #line default #line hidden return; case 46: this.btnTyhjenny2 = ((System.Windows.Controls.Button)(target)); return; case 47: this.NopeusMittari = ((CircularGauge.CircularGaugeControl)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.menu = ((System.Windows.Controls.Menu)(target)); return; case 2: this.myGauge4_temp = ((CircularGauge.CircularGaugeControl)(target)); return; case 3: this.myGauge2 = ((CircularGauge.CircularGaugeControl)(target)); return; case 4: this.myGauge1 = ((CircularGauge.CircularGaugeControl)(target)); return; case 5: this.myGauge3_fuel = ((CircularGauge.CircularGaugeControl)(target)); return; case 6: this.timeText = ((System.Windows.Controls.TextBlock)(target)); return; case 7: this.PanelKontrolny = ((System.Windows.Controls.GroupBox)(target)); return; case 8: this.sliderSpeed = ((System.Windows.Controls.Slider)(target)); return; case 9: this.sliderFuel = ((System.Windows.Controls.Slider)(target)); #line 245 "..\..\..\MainWindow.xaml" this.sliderFuel.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.sliderFuel_ValueChanged); #line default #line hidden return; case 10: this.sliderTemp = ((System.Windows.Controls.Slider)(target)); #line 246 "..\..\..\MainWindow.xaml" this.sliderTemp.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.sliderTemp_ValueChanged); #line default #line hidden return; case 11: this.sliderFuelUsage = ((System.Windows.Controls.Slider)(target)); #line 247 "..\..\..\MainWindow.xaml" this.sliderFuelUsage.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.sliderFuelUsage_ValueChanged); #line default #line hidden return; case 12: this.ChckBx1 = ((System.Windows.Controls.CheckBox)(target)); #line 262 "..\..\..\MainWindow.xaml" this.ChckBx1.Click += new System.Windows.RoutedEventHandler(this.ChckBx1_Checked); #line default #line hidden return; case 13: this.ChckBx2 = ((System.Windows.Controls.CheckBox)(target)); #line 263 "..\..\..\MainWindow.xaml" this.ChckBx2.Click += new System.Windows.RoutedEventHandler(this.ChckBx2_Checked); #line default #line hidden return; case 14: this.ChckBx3 = ((System.Windows.Controls.CheckBox)(target)); #line 264 "..\..\..\MainWindow.xaml" this.ChckBx3.Click += new System.Windows.RoutedEventHandler(this.ChckBx3_Checked); #line default #line hidden return; case 15: this.ChckBx4 = ((System.Windows.Controls.CheckBox)(target)); #line 265 "..\..\..\MainWindow.xaml" this.ChckBx4.Click += new System.Windows.RoutedEventHandler(this.ChckBx4_Checked); #line default #line hidden return; case 16: this.ChckBx5 = ((System.Windows.Controls.CheckBox)(target)); #line 266 "..\..\..\MainWindow.xaml" this.ChckBx5.Click += new System.Windows.RoutedEventHandler(this.ChckBx5_Checked); #line default #line hidden return; case 17: this.ChckBx6 = ((System.Windows.Controls.CheckBox)(target)); #line 267 "..\..\..\MainWindow.xaml" this.ChckBx6.Click += new System.Windows.RoutedEventHandler(this.ChckBx6_Checked); #line default #line hidden return; case 18: this.ChckBx7 = ((System.Windows.Controls.CheckBox)(target)); #line 268 "..\..\..\MainWindow.xaml" this.ChckBx7.Click += new System.Windows.RoutedEventHandler(this.ChckBx7_Checked); #line default #line hidden return; case 19: this.ChckBx8 = ((System.Windows.Controls.CheckBox)(target)); #line 269 "..\..\..\MainWindow.xaml" this.ChckBx8.Click += new System.Windows.RoutedEventHandler(this.ChckBx8_Checked); #line default #line hidden return; case 20: this.ChckBx9 = ((System.Windows.Controls.CheckBox)(target)); #line 270 "..\..\..\MainWindow.xaml" this.ChckBx9.Click += new System.Windows.RoutedEventHandler(this.ChckBx9_Checked); #line default #line hidden return; case 21: this.ChckBx10 = ((System.Windows.Controls.CheckBox)(target)); #line 271 "..\..\..\MainWindow.xaml" this.ChckBx10.Click += new System.Windows.RoutedEventHandler(this.ChckBx10_Checked); #line default #line hidden return; case 22: this.ChckBx11 = ((System.Windows.Controls.CheckBox)(target)); #line 272 "..\..\..\MainWindow.xaml" this.ChckBx11.Click += new System.Windows.RoutedEventHandler(this.ChckBx11_Checked); #line default #line hidden return; case 23: this.ChckBx12 = ((System.Windows.Controls.CheckBox)(target)); #line 273 "..\..\..\MainWindow.xaml" this.ChckBx12.Click += new System.Windows.RoutedEventHandler(this.ChckBx12_Checked); #line default #line hidden return; case 24: this.ChckBx13 = ((System.Windows.Controls.CheckBox)(target)); #line 274 "..\..\..\MainWindow.xaml" this.ChckBx13.Click += new System.Windows.RoutedEventHandler(this.ChckBx13_Checked); #line default #line hidden return; case 25: this.ChckBx14 = ((System.Windows.Controls.CheckBox)(target)); #line 275 "..\..\..\MainWindow.xaml" this.ChckBx14.Click += new System.Windows.RoutedEventHandler(this.ChckBx14_Checked); #line default #line hidden return; case 26: this.ChckBx15 = ((System.Windows.Controls.CheckBox)(target)); #line 276 "..\..\..\MainWindow.xaml" this.ChckBx15.Click += new System.Windows.RoutedEventHandler(this.ChckBx15_Checked); #line default #line hidden return; case 27: this.scrollBar = ((System.Windows.Controls.Primitives.ScrollBar)(target)); #line 280 "..\..\..\MainWindow.xaml" this.scrollBar.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.scrollBar_ValueChanged); #line default #line hidden return; case 28: this.przebiegbutton = ((System.Windows.Controls.Button)(target)); #line 290 "..\..\..\MainWindow.xaml" this.przebiegbutton.Click += new System.Windows.RoutedEventHandler(this.przebiegbutton_Click); #line default #line hidden return; case 29: this._1_png = ((System.Windows.Controls.Image)(target)); return; case 30: this._2_png = ((System.Windows.Controls.Image)(target)); return; case 31: this._3_png = ((System.Windows.Controls.Image)(target)); return; case 32: this._4_png = ((System.Windows.Controls.Image)(target)); return; case 33: this._6_png = ((System.Windows.Controls.Image)(target)); return; case 34: this._7_png = ((System.Windows.Controls.Image)(target)); return; case 35: this._8_png = ((System.Windows.Controls.Image)(target)); return; case 36: this._9_png = ((System.Windows.Controls.Image)(target)); return; case 37: this._10_png = ((System.Windows.Controls.Image)(target)); return; case 38: this._11_png = ((System.Windows.Controls.Image)(target)); return; case 39: this._12_png = ((System.Windows.Controls.Image)(target)); return; case 40: this._13_png = ((System.Windows.Controls.Image)(target)); return; case 41: this._14_png = ((System.Windows.Controls.Image)(target)); return; case 42: this._15_png = ((System.Windows.Controls.Image)(target)); return; case 43: this._16_png = ((System.Windows.Controls.Image)(target)); return; case 44: this._17_png = ((System.Windows.Controls.Image)(target)); return; case 45: this._18_png = ((System.Windows.Controls.Image)(target)); return; case 46: this.tempText = ((System.Windows.Controls.TextBlock)(target)); return; case 47: this.przebiegText = ((System.Windows.Controls.TextBlock)(target)); return; case 48: this.myMap = ((Microsoft.Maps.MapControl.WPF.Map)(target)); return; case 49: #line 327 "..\..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Location_Click); #line default #line hidden return; case 50: #line 330 "..\..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Zoom_Plus); #line default #line hidden return; case 51: #line 331 "..\..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Zoom_Minus); #line default #line hidden return; case 52: this.fuelUsageTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 53: this.fuelUsageTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 54: this.txtSpeech = ((System.Windows.Controls.TextBox)(target)); return; case 55: this.btnLocation = ((System.Windows.Controls.Button)(target)); #line 339 "..\..\..\MainWindow.xaml" this.btnLocation.Click += new System.Windows.RoutedEventHandler(this.btnLocation_Click); #line default #line hidden return; case 56: this.btnAutoPilot = ((System.Windows.Controls.Button)(target)); #line 340 "..\..\..\MainWindow.xaml" this.btnAutoPilot.Click += new System.Windows.RoutedEventHandler(this.btnAutoPilot_Click); #line default #line hidden return; case 57: this.btnAutoPilotDct = ((System.Windows.Controls.Button)(target)); #line 341 "..\..\..\MainWindow.xaml" this.btnAutoPilotDct.Click += new System.Windows.RoutedEventHandler(this.btnAutoPilotDct_Click); #line default #line hidden return; case 58: this.Plot1 = ((OxyPlot.Wpf.Plot)(target)); return; case 59: this.button = ((System.Windows.Controls.Button)(target)); #line 343 "..\..\..\MainWindow.xaml" this.button.Click += new System.Windows.RoutedEventHandler(this.button_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 5: this.箱开关 = ((System.Windows.Controls.Primitives.ToggleButton)(target)); #line 53 "..\..\MainWindow.xaml" this.箱开关.Click += new System.Windows.RoutedEventHandler(this.实验箱开关); #line default #line hidden return; case 6: this.灯1 = ((System.Windows.Controls.Primitives.ToggleButton)(target)); #line 60 "..\..\MainWindow.xaml" this.灯1.Click += new System.Windows.RoutedEventHandler(this.灯1开关); #line default #line hidden return; case 7: this.灯2 = ((System.Windows.Controls.Primitives.ToggleButton)(target)); #line 63 "..\..\MainWindow.xaml" this.灯2.Click += new System.Windows.RoutedEventHandler(this.灯2开关); #line default #line hidden return; case 8: this.灯3 = ((System.Windows.Controls.Primitives.ToggleButton)(target)); #line 66 "..\..\MainWindow.xaml" this.灯3.Click += new System.Windows.RoutedEventHandler(this.灯3开关); #line default #line hidden return; case 9: this.progress = ((System.Windows.Controls.ProgressBar)(target)); return; case 10: this.start = ((System.Windows.Controls.Button)(target)); #line 79 "..\..\MainWindow.xaml" this.start.Click += new System.Windows.RoutedEventHandler(this.窗帘_开); #line default #line hidden return; case 11: this.pause = ((System.Windows.Controls.Button)(target)); #line 82 "..\..\MainWindow.xaml" this.pause.Click += new System.Windows.RoutedEventHandler(this.窗帘_停); #line default #line hidden return; case 12: this.close = ((System.Windows.Controls.Button)(target)); #line 85 "..\..\MainWindow.xaml" this.close.Click += new System.Windows.RoutedEventHandler(this.窗帘_关); #line default #line hidden return; case 13: this.智能插座 = ((System.Windows.Controls.Primitives.ToggleButton)(target)); #line 92 "..\..\MainWindow.xaml" this.智能插座.Click += new System.Windows.RoutedEventHandler(this.智能插座开关); #line default #line hidden return; case 14: this.chart1 = ((Visifire.Charts.Chart)(target)); return; case 15: this.开启多次取样 = ((System.Windows.Controls.Button)(target)); #line 138 "..\..\MainWindow.xaml" this.开启多次取样.Click += new System.Windows.RoutedEventHandler(this.开启多次温度取样); #line default #line hidden return; case 16: this.关闭多次取样 = ((System.Windows.Controls.Button)(target)); #line 139 "..\..\MainWindow.xaml" this.关闭多次取样.Click += new System.Windows.RoutedEventHandler(this.关闭多次温度取样); #line default #line hidden return; case 17: this.单次取样 = ((System.Windows.Controls.Button)(target)); #line 140 "..\..\MainWindow.xaml" this.单次取样.Click += new System.Windows.RoutedEventHandler(this.温度单次取样); #line default #line hidden return; case 18: this.温度报警 = ((System.Windows.Controls.ListView)(target)); return; case 19: #line 159 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.温度查询范围); #line default #line hidden return; case 20: #line 160 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.温度应用范围); #line default #line hidden return; case 21: this.myGauge1 = ((CircularGauge.CircularGaugeControl)(target)); return; case 22: this.chart2 = ((Visifire.Charts.Chart)(target)); return; case 23: this.开启多次取样2 = ((System.Windows.Controls.Button)(target)); #line 251 "..\..\MainWindow.xaml" this.开启多次取样2.Click += new System.Windows.RoutedEventHandler(this.开启多次温湿度取样); #line default #line hidden return; case 24: this.关闭多次取样2 = ((System.Windows.Controls.Button)(target)); #line 252 "..\..\MainWindow.xaml" this.关闭多次取样2.Click += new System.Windows.RoutedEventHandler(this.关闭多次温湿度取样); #line default #line hidden return; case 25: this.单次取样2 = ((System.Windows.Controls.Button)(target)); #line 253 "..\..\MainWindow.xaml" this.单次取样2.Click += new System.Windows.RoutedEventHandler(this.单次温湿度取样); #line default #line hidden return; case 26: this.温湿度报警 = ((System.Windows.Controls.ListView)(target)); return; case 27: #line 273 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.温湿度设置范围); #line default #line hidden return; case 28: #line 277 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.温湿度查询范围); #line default #line hidden return; case 29: this.chart3 = ((Visifire.Charts.Chart)(target)); return; case 30: this.开启多次取样3 = ((System.Windows.Controls.Button)(target)); #line 328 "..\..\MainWindow.xaml" this.开启多次取样3.Click += new System.Windows.RoutedEventHandler(this.开启多次光照度取样); #line default #line hidden return; case 31: this.关闭多次取样3 = ((System.Windows.Controls.Button)(target)); #line 329 "..\..\MainWindow.xaml" this.关闭多次取样3.Click += new System.Windows.RoutedEventHandler(this.关闭多次光照度取样); #line default #line hidden return; case 32: this.单次取样3 = ((System.Windows.Controls.Button)(target)); #line 330 "..\..\MainWindow.xaml" this.单次取样3.Click += new System.Windows.RoutedEventHandler(this.单次光照度取样); #line default #line hidden return; case 33: this.光照度报警 = ((System.Windows.Controls.ListView)(target)); return; case 34: #line 350 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.光照度应用范围); #line default #line hidden return; case 35: this.myGauge2 = ((CircularGauge.CircularGaugeControl)(target)); return; case 36: #line 394 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.光照度查询范围); #line default #line hidden return; case 37: this.video = ((System.Windows.Controls.Grid)(target)); return; case 38: #line 402 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.video_open); #line default #line hidden return; case 39: #line 403 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.video_close); #line default #line hidden return; case 40: this.time = ((System.Windows.Controls.TextBox)(target)); return; case 41: #line 411 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.报警); #line default #line hidden return; case 42: #line 412 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.关闭报警); #line default #line hidden return; case 43: #line 429 "..\..\MainWindow.xaml" ((System.Windows.Controls.Label)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.setting_click); #line default #line hidden return; case 44: #line 433 "..\..\MainWindow.xaml" ((System.Windows.Controls.Label)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.about_click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Col1 = ((System.Windows.Controls.ColumnDefinition)(target)); return; case 2: this.Col2 = ((System.Windows.Controls.ColumnDefinition)(target)); return; case 3: this.Col3 = ((System.Windows.Controls.ColumnDefinition)(target)); return; case 4: this.txblckTalo = ((System.Windows.Controls.TextBlock)(target)); return; case 5: this.txtLampotila = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.txblckTaloTemp = ((System.Windows.Controls.TextBlock)(target)); return; case 7: this.txtTempNow = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.txblckTaloTempSet = ((System.Windows.Controls.TextBlock)(target)); return; case 9: this.txtTempSet = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.btnTempSet = ((System.Windows.Controls.Button)(target)); #line 24 "..\..\MainWindow.xaml" this.btnTempSet.Click += new System.Windows.RoutedEventHandler(this.btnTempSet_Click); #line default #line hidden return; case 11: this.txtValot = ((System.Windows.Controls.TextBox)(target)); return; case 12: this.txblckOlohuone = ((System.Windows.Controls.TextBlock)(target)); return; case 13: this.txblckOlohuoneValot = ((System.Windows.Controls.TextBlock)(target)); return; case 14: this.btnValo1On = ((System.Windows.Controls.Button)(target)); #line 32 "..\..\MainWindow.xaml" this.btnValo1On.Click += new System.Windows.RoutedEventHandler(this.btnValoOn_Click); #line default #line hidden return; case 15: this.txtValo1 = ((System.Windows.Controls.TextBox)(target)); return; case 16: this.btnValo1Off = ((System.Windows.Controls.Button)(target)); #line 34 "..\..\MainWindow.xaml" this.btnValo1Off.Click += new System.Windows.RoutedEventHandler(this.btnValoOff_Click); #line default #line hidden return; case 17: this.txblckOlohuoneValosäädin = ((System.Windows.Controls.TextBlock)(target)); return; case 18: this.sldValo1 = ((System.Windows.Controls.Slider)(target)); #line 36 "..\..\MainWindow.xaml" this.sldValo1.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.SldValo_ValueChanged); #line default #line hidden return; case 19: this.txblckKeittio = ((System.Windows.Controls.TextBlock)(target)); return; case 20: this.txblckKeittioValot = ((System.Windows.Controls.TextBlock)(target)); return; case 21: this.btnValo2On = ((System.Windows.Controls.Button)(target)); #line 41 "..\..\MainWindow.xaml" this.btnValo2On.Click += new System.Windows.RoutedEventHandler(this.btnValoOn_Click); #line default #line hidden return; case 22: this.txtValo2 = ((System.Windows.Controls.TextBox)(target)); return; case 23: this.btnValo2Off = ((System.Windows.Controls.Button)(target)); #line 43 "..\..\MainWindow.xaml" this.btnValo2Off.Click += new System.Windows.RoutedEventHandler(this.btnValoOff_Click); #line default #line hidden return; case 24: this.txblckKeittioValosäädin = ((System.Windows.Controls.TextBlock)(target)); return; case 25: this.sldValo2 = ((System.Windows.Controls.Slider)(target)); #line 45 "..\..\MainWindow.xaml" this.sldValo2.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.SldValo_ValueChanged); #line default #line hidden return; case 26: this.txtSauna = ((System.Windows.Controls.TextBox)(target)); return; case 27: this.txblckKiuas = ((System.Windows.Controls.TextBlock)(target)); return; case 28: this.txtKiuas = ((System.Windows.Controls.TextBox)(target)); return; case 29: this.btnKiuasOn = ((System.Windows.Controls.Button)(target)); #line 51 "..\..\MainWindow.xaml" this.btnKiuasOn.Click += new System.Windows.RoutedEventHandler(this.btnKiuas_Click); #line default #line hidden return; case 30: this.btnKiuasOff = ((System.Windows.Controls.Button)(target)); #line 52 "..\..\MainWindow.xaml" this.btnKiuasOff.Click += new System.Windows.RoutedEventHandler(this.btnKiuas_Click); #line default #line hidden return; case 31: this.txblckKiuasTemp = ((System.Windows.Controls.TextBlock)(target)); return; case 32: this.txtKiuasTempSet = ((System.Windows.Controls.TextBox)(target)); return; case 33: this.btnTempSetKiuas = ((System.Windows.Controls.Button)(target)); #line 55 "..\..\MainWindow.xaml" this.btnTempSetKiuas.Click += new System.Windows.RoutedEventHandler(this.btnTempSetKiuas_Click); #line default #line hidden return; case 34: this.SaunaLampomittari = ((CircularGauge.CircularGaugeControl)(target)); return; case 35: this.btnStatuspdate = ((System.Windows.Controls.Button)(target)); #line 61 "..\..\MainWindow.xaml" this.btnStatuspdate.Click += new System.Windows.RoutedEventHandler(this.btnStatuspdate_Click); #line default #line hidden return; case 36: this.txblckTaloStatus = ((System.Windows.Controls.TextBlock)(target)); return; case 37: this.dgStatus = ((System.Windows.Controls.DataGrid)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.myGauge1 = ((CircularGauge.CircularGaugeControl)(target)); return; case 2: this.myGauge2 = ((CircularGauge.CircularGaugeControl)(target)); return; case 3: #line 95 "..\..\..\..\Pages\RealTimeData\RTDatas.xaml" ((System.Windows.Controls.Label)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ShowPltspeedWin); #line default #line hidden return; case 4: #line 96 "..\..\..\..\Pages\RealTimeData\RTDatas.xaml" ((System.Windows.Controls.Label)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ShowPltspeedWin); #line default #line hidden return; case 5: #line 97 "..\..\..\..\Pages\RealTimeData\RTDatas.xaml" ((System.Windows.Controls.Label)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ShowMotospeedWin); #line default #line hidden return; case 6: this.ms = ((System.Windows.Controls.Label)(target)); #line 98 "..\..\..\..\Pages\RealTimeData\RTDatas.xaml" this.ms.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ShowMotospeedWin); #line default #line hidden return; case 7: #line 99 "..\..\..\..\Pages\RealTimeData\RTDatas.xaml" ((System.Windows.Controls.Label)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ShowFricSpeedWin); #line default #line hidden return; case 8: #line 100 "..\..\..\..\Pages\RealTimeData\RTDatas.xaml" ((System.Windows.Controls.Label)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ShowFricSpeedWin); #line default #line hidden return; case 9: #line 101 "..\..\..\..\Pages\RealTimeData\RTDatas.xaml" ((System.Windows.Controls.Label)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ShowFricWin); #line default #line hidden return; case 10: #line 102 "..\..\..\..\Pages\RealTimeData\RTDatas.xaml" ((System.Windows.Controls.Label)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ShowFricWin); #line default #line hidden return; case 11: #line 103 "..\..\..\..\Pages\RealTimeData\RTDatas.xaml" ((System.Windows.Controls.Label)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ShowTorWin); #line default #line hidden return; case 12: this.mt = ((System.Windows.Controls.Label)(target)); #line 104 "..\..\..\..\Pages\RealTimeData\RTDatas.xaml" this.mt.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ShowTorWin); #line default #line hidden return; case 13: #line 105 "..\..\..\..\Pages\RealTimeData\RTDatas.xaml" ((System.Windows.Controls.Label)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ShowPressWin); #line default #line hidden return; case 14: this.press = ((System.Windows.Controls.Label)(target)); #line 106 "..\..\..\..\Pages\RealTimeData\RTDatas.xaml" this.press.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ShowPressWin); #line default #line hidden return; case 15: #line 107 "..\..\..\..\Pages\RealTimeData\RTDatas.xaml" ((System.Windows.Controls.Label)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ShowTempWin); #line default #line hidden return; case 16: this.temp = ((System.Windows.Controls.Label)(target)); #line 108 "..\..\..\..\Pages\RealTimeData\RTDatas.xaml" this.temp.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ShowTempWin); #line default #line hidden return; case 17: #line 109 "..\..\..\..\Pages\RealTimeData\RTDatas.xaml" ((System.Windows.Controls.Label)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ShowHumWin); #line default #line hidden return; case 18: this.hum = ((System.Windows.Controls.Label)(target)); #line 110 "..\..\..\..\Pages\RealTimeData\RTDatas.xaml" this.hum.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ShowHumWin); #line default #line hidden return; case 19: #line 113 "..\..\..\..\Pages\RealTimeData\RTDatas.xaml" ((System.Windows.Controls.Label)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ShowPltspeedWin); #line default #line hidden return; case 20: this.ps = ((System.Windows.Controls.Label)(target)); #line 114 "..\..\..\..\Pages\RealTimeData\RTDatas.xaml" this.ps.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ShowPltspeedWin); #line default #line hidden return; case 21: #line 115 "..\..\..\..\Pages\RealTimeData\RTDatas.xaml" ((System.Windows.Controls.Label)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ShowFricWin); #line default #line hidden return; case 22: this.ff = ((System.Windows.Controls.Label)(target)); #line 116 "..\..\..\..\Pages\RealTimeData\RTDatas.xaml" this.ff.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ShowFricWin); #line default #line hidden return; case 23: this.stopRecBtn = ((System.Windows.Controls.Button)(target)); #line 119 "..\..\..\..\Pages\RealTimeData\RTDatas.xaml" this.stopRecBtn.Click += new System.Windows.RoutedEventHandler(this.Button_Click_1); #line default #line hidden return; case 24: this.recDataBtn = ((System.Windows.Controls.Button)(target)); #line 120 "..\..\..\..\Pages\RealTimeData\RTDatas.xaml" this.recDataBtn.Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 25: this.stopMotoBtn = ((System.Windows.Controls.Button)(target)); #line 121 "..\..\..\..\Pages\RealTimeData\RTDatas.xaml" this.stopMotoBtn.Click += new System.Windows.RoutedEventHandler(this.stopMotoBtn_Click); #line default #line hidden return; case 26: this.proBar1 = ((System.Windows.Controls.ProgressBar)(target)); return; case 27: this.proBar2 = ((System.Windows.Controls.ProgressBar)(target)); return; } this._contentLoaded = true; }