void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 7 "..\..\..\MainWindow.xaml" ((abaqus_helper.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden #line 7 "..\..\..\MainWindow.xaml" ((abaqus_helper.MainWindow)(target)).PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Window_PreviewKeyDown); #line default #line hidden return; case 2: this.CADctrl_frame = ((abaqus_helper.CADCtrl.CADCtrl)(target)); return; case 3: this.dockPanel_bottom = ((System.Windows.Controls.DockPanel)(target)); return; case 4: this.statusBar = ((System.Windows.Controls.Primitives.StatusBarItem)(target)); return; case 5: this.progressBar = ((System.Windows.Controls.ProgressBar)(target)); return; case 6: this.button1 = ((System.Windows.Controls.Button)(target)); #line 38 "..\..\..\MainWindow.xaml" this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click); #line default #line hidden return; case 7: this.btn_output = ((System.Windows.Controls.Button)(target)); #line 39 "..\..\..\MainWindow.xaml" this.btn_output.Click += new System.Windows.RoutedEventHandler(this.btn_output_Click); #line default #line hidden return; case 8: this.dataGrid_sel = ((System.Windows.Controls.DataGrid)(target)); #line 40 "..\..\..\MainWindow.xaml" this.dataGrid_sel.SelectedCellsChanged += new System.Windows.Controls.SelectedCellsChangedEventHandler(this.dataGrid_sel_SelectedCellsChanged); #line default #line hidden #line 40 "..\..\..\MainWindow.xaml" this.dataGrid_sel.CellEditEnding += new System.EventHandler <System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.dataGrid_sel_CellEditEnding); #line default #line hidden #line 40 "..\..\..\MainWindow.xaml" this.dataGrid_sel.BeginningEdit += new System.EventHandler <System.Windows.Controls.DataGridBeginningEditEventArgs>(this.dataGrid_sel_BeginningEdit); #line default #line hidden #line 40 "..\..\..\MainWindow.xaml" this.dataGrid_sel.KeyDown += new System.Windows.Input.KeyEventHandler(this.dataGrid_sel_KeyDown); #line default #line hidden #line 40 "..\..\..\MainWindow.xaml" this.dataGrid_sel.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dataGrid_sel_SelectionChanged); #line default #line hidden return; case 9: this.dataGrid_new = ((System.Windows.Controls.DataGrid)(target)); #line 55 "..\..\..\MainWindow.xaml" this.dataGrid_new.CellEditEnding += new System.EventHandler <System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.dataGrid_new_CellEditEnding); #line default #line hidden #line 55 "..\..\..\MainWindow.xaml" this.dataGrid_new.BeginningEdit += new System.EventHandler <System.Windows.Controls.DataGridBeginningEditEventArgs>(this.dataGrid_new_BeginningEdit); #line default #line hidden return; case 10: this.groupBox1 = ((System.Windows.Controls.GroupBox)(target)); return; case 11: this.textBlock_x = ((System.Windows.Controls.TextBlock)(target)); return; case 12: this.textBox_x = ((System.Windows.Controls.TextBox)(target)); return; case 13: this.textBlock_y = ((System.Windows.Controls.TextBlock)(target)); return; case 14: this.textBox_y = ((System.Windows.Controls.TextBox)(target)); return; case 15: this.textBlock3 = ((System.Windows.Controls.TextBlock)(target)); return; case 16: this.textBox_z = ((System.Windows.Controls.TextBox)(target)); return; case 17: this.btn_xyz_ok = ((System.Windows.Controls.Button)(target)); #line 71 "..\..\..\MainWindow.xaml" this.btn_xyz_ok.Click += new System.Windows.RoutedEventHandler(this.btn_xyz_ok_Click); #line default #line hidden return; case 18: this.groupBox2 = ((System.Windows.Controls.GroupBox)(target)); return; case 19: this.textBox_concrete = ((System.Windows.Controls.TextBox)(target)); return; case 20: this.textBlock1 = ((System.Windows.Controls.TextBlock)(target)); return; case 21: this.radio_beam = ((System.Windows.Controls.RadioButton)(target)); return; case 22: this.radio_col = ((System.Windows.Controls.RadioButton)(target)); return; case 23: this.textBlock2 = ((System.Windows.Controls.TextBlock)(target)); return; case 24: this.btn_concrete_ok = ((System.Windows.Controls.Button)(target)); #line 81 "..\..\..\MainWindow.xaml" this.btn_concrete_ok.Click += new System.Windows.RoutedEventHandler(this.btn_add_concrete_Click); #line default #line hidden return; case 25: this.comboBox_floor = ((System.Windows.Controls.ComboBox)(target)); #line 82 "..\..\..\MainWindow.xaml" this.comboBox_floor.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBox_floor_SelectionChanged); #line default #line hidden return; case 26: this.comboBox_concrete = ((System.Windows.Controls.ComboBox)(target)); return; case 27: this.textBlock4 = ((System.Windows.Controls.TextBlock)(target)); return; case 28: this.textBlock5 = ((System.Windows.Controls.TextBlock)(target)); return; case 29: this.comboBox_rebar_style = ((System.Windows.Controls.ComboBox)(target)); #line 86 "..\..\..\MainWindow.xaml" this.comboBox_rebar_style.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBox_rebar_style_SelectionChanged); #line default #line hidden return; case 30: this.textBlock10 = ((System.Windows.Controls.TextBlock)(target)); return; case 31: this.btn_concrete_update = ((System.Windows.Controls.Button)(target)); #line 88 "..\..\..\MainWindow.xaml" this.btn_concrete_update.Click += new System.Windows.RoutedEventHandler(this.btn_concrete_update_Click); #line default #line hidden return; case 32: this.groupBox3 = ((System.Windows.Controls.GroupBox)(target)); return; case 33: this.textBox_rebar_xy = ((System.Windows.Controls.TextBox)(target)); return; case 34: this.textBlock6 = ((System.Windows.Controls.TextBlock)(target)); return; case 35: this.btn_add_rebar = ((System.Windows.Controls.Button)(target)); #line 95 "..\..\..\MainWindow.xaml" this.btn_add_rebar.Click += new System.Windows.RoutedEventHandler(this.btn_add_rebar_Click); #line default #line hidden return; case 36: this.CADctrl_rebar = ((abaqus_helper.CADCtrl.CADCtrl)(target)); return; case 37: this.textBox_concrete_section = ((System.Windows.Controls.TextBox)(target)); return; case 38: this.textBlock7 = ((System.Windows.Controls.TextBlock)(target)); return; case 39: this.btn_update_section = ((System.Windows.Controls.Button)(target)); #line 99 "..\..\..\MainWindow.xaml" this.btn_update_section.Click += new System.Windows.RoutedEventHandler(this.btn_update_section_Click); #line default #line hidden return; case 40: this.comboBox_strength = ((System.Windows.Controls.ComboBox)(target)); return; case 41: this.textBlock8 = ((System.Windows.Controls.TextBlock)(target)); return; case 42: this.comboBox_diameter = ((System.Windows.Controls.ComboBox)(target)); return; case 43: this.textBlock9 = ((System.Windows.Controls.TextBlock)(target)); return; case 44: this.textBox_section_name = ((System.Windows.Controls.TextBox)(target)); return; case 45: this.textBlock11 = ((System.Windows.Controls.TextBlock)(target)); return; case 46: this.btn_add_section = ((System.Windows.Controls.Button)(target)); #line 106 "..\..\..\MainWindow.xaml" this.btn_add_section.Click += new System.Windows.RoutedEventHandler(this.btn_add_section_Click); #line default #line hidden return; case 47: this.dataGrid_rebar = ((System.Windows.Controls.DataGrid)(target)); #line 107 "..\..\..\MainWindow.xaml" this.dataGrid_rebar.BeginningEdit += new System.EventHandler <System.Windows.Controls.DataGridBeginningEditEventArgs>(this.dataGrid_rebar_BeginningEdit); #line default #line hidden #line 107 "..\..\..\MainWindow.xaml" this.dataGrid_rebar.CellEditEnding += new System.EventHandler <System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.dataGrid_rebar_CellEditEnding); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 4 "..\..\..\MainWindow.xaml" ((abaqus_helper.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: this.textBlock_x = ((System.Windows.Controls.TextBlock)(target)); return; case 3: this.textBox_x = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.textBlock_y = ((System.Windows.Controls.TextBlock)(target)); return; case 5: this.textBox_y = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.CADCtrl = ((abaqus_helper.CADCtrl.CADCtrl)(target)); return; case 7: this.dockPanel_bottom = ((System.Windows.Controls.DockPanel)(target)); return; case 8: this.statusBar = ((System.Windows.Controls.Primitives.StatusBar)(target)); return; case 9: this.progressBar = ((System.Windows.Controls.ProgressBar)(target)); return; case 10: this.button1 = ((System.Windows.Controls.Button)(target)); #line 15 "..\..\..\MainWindow.xaml" this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click); #line default #line hidden return; case 11: this.button2 = ((System.Windows.Controls.Button)(target)); #line 16 "..\..\..\MainWindow.xaml" this.button2.Click += new System.Windows.RoutedEventHandler(this.button2_Click); #line default #line hidden return; } this._contentLoaded = true; }