void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mainGrid = ((System.Windows.Controls.Grid)(target)); return; case 2: this.section3 = ((LiveCharts.Wpf.AngularSection)(target)); return; case 3: this.section0 = ((LiveCharts.Wpf.AngularSection)(target)); return; case 4: this.section1 = ((LiveCharts.Wpf.AngularSection)(target)); return; case 5: this.section2 = ((LiveCharts.Wpf.AngularSection)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.PreConfig_Box = ((System.Windows.Controls.Grid)(target)); return; case 2: this.Connect_Button = ((System.Windows.Controls.Button)(target)); #line 35 "..\..\MainWindow.xaml" this.Connect_Button.Click += new System.Windows.RoutedEventHandler(this.Connect_Button_Click); #line default #line hidden return; case 3: this.Config_Container = ((System.Windows.Controls.Grid)(target)); return; case 4: this.BCT_Text = ((System.Windows.Controls.TextBox)(target)); #line 37 "..\..\MainWindow.xaml" this.BCT_Text.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput); #line default #line hidden #line 37 "..\..\MainWindow.xaml" this.BCT_Text.LostFocus += new System.Windows.RoutedEventHandler(this.BCT_Text_LostFocus); #line default #line hidden #line 37 "..\..\MainWindow.xaml" this.BCT_Text.KeyUp += new System.Windows.Input.KeyEventHandler(this.BCT_Text_KeyUp); #line default #line hidden return; case 5: this.Start_Button = ((System.Windows.Controls.Button)(target)); #line 38 "..\..\MainWindow.xaml" this.Start_Button.Click += new System.Windows.RoutedEventHandler(this.Start_Button_Click); #line default #line hidden return; case 6: this.BMT_Slider = ((System.Windows.Controls.Slider)(target)); #line 41 "..\..\MainWindow.xaml" this.BMT_Slider.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.BMT_Slider_PreviewMouseLeftButtonUp); #line default #line hidden return; case 7: this.MGH_Text = ((System.Windows.Controls.TextBox)(target)); #line 43 "..\..\MainWindow.xaml" this.MGH_Text.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput); #line default #line hidden #line 43 "..\..\MainWindow.xaml" this.MGH_Text.LostFocus += new System.Windows.RoutedEventHandler(this.MGH_Text_LostFocus); #line default #line hidden #line 43 "..\..\MainWindow.xaml" this.MGH_Text.KeyUp += new System.Windows.Input.KeyEventHandler(this.MGH_Text_KeyUp); #line default #line hidden return; case 8: this.MGL_Text = ((System.Windows.Controls.TextBox)(target)); #line 47 "..\..\MainWindow.xaml" this.MGL_Text.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput); #line default #line hidden #line 47 "..\..\MainWindow.xaml" this.MGL_Text.LostFocus += new System.Windows.RoutedEventHandler(this.MGL_Text_LostFocus); #line default #line hidden #line 47 "..\..\MainWindow.xaml" this.MGL_Text.KeyUp += new System.Windows.Input.KeyEventHandler(this.MGL_Text_KeyUp); #line default #line hidden return; case 9: this.MGH_Slider = ((System.Windows.Controls.Slider)(target)); #line 48 "..\..\MainWindow.xaml" this.MGH_Slider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.MGH_Slider_ValueChanged); #line default #line hidden return; case 10: this.MGL_Slider = ((System.Windows.Controls.Slider)(target)); #line 49 "..\..\MainWindow.xaml" this.MGL_Slider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.MGL_Slider_ValueChanged); #line default #line hidden return; case 11: this.Zero_Text = ((System.Windows.Controls.TextBox)(target)); #line 50 "..\..\MainWindow.xaml" this.Zero_Text.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput); #line default #line hidden #line 50 "..\..\MainWindow.xaml" this.Zero_Text.LostFocus += new System.Windows.RoutedEventHandler(this.Zero_Text_LostFocus); #line default #line hidden return; case 12: this.Zero_Button = ((System.Windows.Controls.Button)(target)); #line 53 "..\..\MainWindow.xaml" this.Zero_Button.Click += new System.Windows.RoutedEventHandler(this.Zero_Button_Click); #line default #line hidden return; case 13: this.Save_Button = ((System.Windows.Controls.Button)(target)); #line 54 "..\..\MainWindow.xaml" this.Save_Button.Click += new System.Windows.RoutedEventHandler(this.Save_Button_Click); #line default #line hidden return; case 14: this.MGH_Rise = ((System.Windows.Controls.TextBox)(target)); #line 56 "..\..\MainWindow.xaml" this.MGH_Rise.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput); #line default #line hidden #line 56 "..\..\MainWindow.xaml" this.MGH_Rise.LostFocus += new System.Windows.RoutedEventHandler(this.Zero_Text_LostFocus); #line default #line hidden return; case 15: this.MGH_Fall = ((System.Windows.Controls.TextBox)(target)); #line 58 "..\..\MainWindow.xaml" this.MGH_Fall.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput); #line default #line hidden #line 58 "..\..\MainWindow.xaml" this.MGH_Fall.LostFocus += new System.Windows.RoutedEventHandler(this.Zero_Text_LostFocus); #line default #line hidden return; case 16: this.MGL_Rise = ((System.Windows.Controls.TextBox)(target)); #line 63 "..\..\MainWindow.xaml" this.MGL_Rise.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput); #line default #line hidden #line 63 "..\..\MainWindow.xaml" this.MGL_Rise.LostFocus += new System.Windows.RoutedEventHandler(this.Zero_Text_LostFocus); #line default #line hidden return; case 17: this.MGL_Fall = ((System.Windows.Controls.TextBox)(target)); #line 65 "..\..\MainWindow.xaml" this.MGL_Fall.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput); #line default #line hidden #line 65 "..\..\MainWindow.xaml" this.MGL_Fall.LostFocus += new System.Windows.RoutedEventHandler(this.Zero_Text_LostFocus); #line default #line hidden return; case 18: this.Position_Graph = ((System.Windows.Controls.ProgressBar)(target)); return; case 19: this.Position_Value_Text = ((System.Windows.Controls.TextBox)(target)); return; case 20: this.Angle_Graph = ((LiveCharts.Wpf.AngularGauge)(target)); return; case 21: this.Angle_Graph_OFF = ((LiveCharts.Wpf.AngularSection)(target)); return; case 22: this.Angle_Graph_ON = ((LiveCharts.Wpf.AngularSection)(target)); return; case 23: this.Angle_Value_Text = ((System.Windows.Controls.TextBlock)(target)); return; case 24: this.Control_Buttons = ((System.Windows.Controls.Grid)(target)); return; case 25: this.LED_Drill_Text = ((System.Windows.Controls.TextBox)(target)); return; case 26: this.LED_Drill = ((System.Windows.Shapes.Ellipse)(target)); return; case 27: this.MGH_Led = ((System.Windows.Shapes.Ellipse)(target)); return; case 28: this.MGL_Led = ((System.Windows.Shapes.Ellipse)(target)); return; } this._contentLoaded = true; }