Esempio n. 1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 8 "..\..\..\..\Frames\MainWindow.xaml"
     ((EmbryoSegmenter.Frames.MainWindow)(target)).PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Window_PreviewKeyDown);
     
     #line default
     #line hidden
     
     #line 8 "..\..\..\..\Frames\MainWindow.xaml"
     ((EmbryoSegmenter.Frames.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);
     
     #line default
     #line hidden
     
     #line 9 "..\..\..\..\Frames\MainWindow.xaml"
     ((EmbryoSegmenter.Frames.MainWindow)(target)).KeyUp += new System.Windows.Input.KeyEventHandler(this.Window_KeyUp);
     
     #line default
     #line hidden
     
     #line 10 "..\..\..\..\Frames\MainWindow.xaml"
     ((EmbryoSegmenter.Frames.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.grd_Menu = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.mnu_Main = ((System.Windows.Controls.Menu)(target));
     return;
     case 4:
     
     #line 20 "..\..\..\..\Frames\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.mnu_New_Project_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 22 "..\..\..\..\Frames\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.mnu_Open_Series_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 23 "..\..\..\..\Frames\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.mnu_Open_Stack_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.mnu_Save_Series = ((System.Windows.Controls.MenuItem)(target));
     
     #line 26 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Save_Series.Click += new System.Windows.RoutedEventHandler(this.mnu_Save_Series_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.mnu_Save_Stack = ((System.Windows.Controls.MenuItem)(target));
     
     #line 27 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Save_Stack.Click += new System.Windows.RoutedEventHandler(this.mnu_Save_Stack_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.mnu_Save_As_Series = ((System.Windows.Controls.MenuItem)(target));
     
     #line 30 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Save_As_Series.Click += new System.Windows.RoutedEventHandler(this.mnu_Save_As_Series_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.mnu_Save_As_Stack = ((System.Windows.Controls.MenuItem)(target));
     
     #line 31 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Save_As_Stack.Click += new System.Windows.RoutedEventHandler(this.mnu_Save_As_Stack_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.mnu_Export_Excel = ((System.Windows.Controls.MenuItem)(target));
     
     #line 34 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Export_Excel.Click += new System.Windows.RoutedEventHandler(this.mnu_Export_Excel_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     
     #line 36 "..\..\..\..\Frames\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.mnu_Bmp_Save_Segments_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     
     #line 37 "..\..\..\..\Frames\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.mnu_Bmp_Save_Outlines_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.mnu_Save_OBJ = ((System.Windows.Controls.MenuItem)(target));
     
     #line 38 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Save_OBJ.Click += new System.Windows.RoutedEventHandler(this.mnu_Save_OBJ_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     this.mnu_Save_Ann = ((System.Windows.Controls.MenuItem)(target));
     
     #line 39 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Save_Ann.Click += new System.Windows.RoutedEventHandler(this.mnu_Save_Ann_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.mnu_3D_view = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 17:
     this.mnu_3D_point = ((System.Windows.Controls.MenuItem)(target));
     
     #line 42 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_3D_point.Click += new System.Windows.RoutedEventHandler(this.mnu_3D_view_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this.mnu_3D_body = ((System.Windows.Controls.MenuItem)(target));
     
     #line 43 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_3D_body.Click += new System.Windows.RoutedEventHandler(this.mnu_3D_view_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     this.mnu_Quit = ((System.Windows.Controls.MenuItem)(target));
     
     #line 45 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Quit.Click += new System.Windows.RoutedEventHandler(this.mnu_Quit_Click);
     
     #line default
     #line hidden
     return;
     case 20:
     this.mnu_Pipelines = ((System.Windows.Controls.MenuItem)(target));
     
     #line 48 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Pipelines.Click += new System.Windows.RoutedEventHandler(this.mnu_Pipelines_Click);
     
     #line default
     #line hidden
     return;
     case 21:
     this.mnu_Add_Stack = ((System.Windows.Controls.MenuItem)(target));
     
     #line 51 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Add_Stack.Click += new System.Windows.RoutedEventHandler(this.mnu_Add_Stack_Click);
     
     #line default
     #line hidden
     return;
     case 22:
     this.mnu_Remove_Stack = ((System.Windows.Controls.MenuItem)(target));
     
     #line 52 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Remove_Stack.Click += new System.Windows.RoutedEventHandler(this.mnu_Remove_Stack_Click);
     
     #line default
     #line hidden
     return;
     case 23:
     this.mnu_Sort_Slice = ((System.Windows.Controls.MenuItem)(target));
     
     #line 55 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Sort_Slice.Click += new System.Windows.RoutedEventHandler(this.mnu_Sort_Slice_Click);
     
     #line default
     #line hidden
     return;
     case 24:
     this.mnu_Rename_Slice = ((System.Windows.Controls.MenuItem)(target));
     
     #line 56 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Rename_Slice.Click += new System.Windows.RoutedEventHandler(this.mnu_Rename_Slice_Click);
     
     #line default
     #line hidden
     return;
     case 25:
     this.mnu_Remove_Segment = ((System.Windows.Controls.MenuItem)(target));
     
     #line 59 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Remove_Segment.Click += new System.Windows.RoutedEventHandler(this.mnu_Remove_Segment_Click);
     
     #line default
     #line hidden
     return;
     case 26:
     this.mnu_Divide_Segment = ((System.Windows.Controls.MenuItem)(target));
     
     #line 60 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Divide_Segment.Click += new System.Windows.RoutedEventHandler(this.mnu_Divide_Segment_Click);
     
     #line default
     #line hidden
     return;
     case 27:
     this.mnu_Add_Segment = ((System.Windows.Controls.MenuItem)(target));
     
     #line 61 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Add_Segment.Click += new System.Windows.RoutedEventHandler(this.mnu_Add_Segment_Click);
     
     #line default
     #line hidden
     return;
     case 28:
     this.mnu_Rename_Segment = ((System.Windows.Controls.MenuItem)(target));
     
     #line 62 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Rename_Segment.Click += new System.Windows.RoutedEventHandler(this.mnu_Rename_Segment_Click);
     
     #line default
     #line hidden
     return;
     case 29:
     this.mnu_View_3D = ((System.Windows.Controls.MenuItem)(target));
     
     #line 65 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_View_3D.Checked += new System.Windows.RoutedEventHandler(this.mnu_View_Switch_Checked);
     
     #line default
     #line hidden
     
     #line 65 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_View_3D.Unchecked += new System.Windows.RoutedEventHandler(this.mnu_View_Switch_Unchecked);
     
     #line default
     #line hidden
     return;
     case 30:
     this.mnu_View_Mini = ((System.Windows.Controls.MenuItem)(target));
     
     #line 66 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_View_Mini.Checked += new System.Windows.RoutedEventHandler(this.mnu_View_Switch_Checked);
     
     #line default
     #line hidden
     
     #line 66 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_View_Mini.Unchecked += new System.Windows.RoutedEventHandler(this.mnu_View_Switch_Unchecked);
     
     #line default
     #line hidden
     return;
     case 31:
     this.mnu_View_Annotation = ((System.Windows.Controls.MenuItem)(target));
     
     #line 67 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_View_Annotation.Checked += new System.Windows.RoutedEventHandler(this.mnu_View_Switch_Checked);
     
     #line default
     #line hidden
     
     #line 67 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_View_Annotation.Unchecked += new System.Windows.RoutedEventHandler(this.mnu_View_Switch_Unchecked);
     
     #line default
     #line hidden
     return;
     case 32:
     this.mnu_View_Segmentation = ((System.Windows.Controls.MenuItem)(target));
     
     #line 68 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_View_Segmentation.Checked += new System.Windows.RoutedEventHandler(this.mnu_View_Switch_Checked);
     
     #line default
     #line hidden
     
     #line 68 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_View_Segmentation.Unchecked += new System.Windows.RoutedEventHandler(this.mnu_View_Switch_Unchecked);
     
     #line default
     #line hidden
     return;
     case 33:
     this.grd_Main = ((System.Windows.Controls.Grid)(target));
     return;
     case 34:
     this.grd_Hidden = ((System.Windows.Controls.Grid)(target));
     return;
     case 35:
     this.txt_File = ((System.Windows.Controls.TextBox)(target));
     return;
     case 36:
     this.txt_Path = ((System.Windows.Controls.TextBox)(target));
     return;
     case 37:
     this.lbl_File = ((System.Windows.Controls.Label)(target));
     return;
     case 38:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 39:
     this.grd_Display_Mini = ((System.Windows.Controls.Grid)(target));
     return;
     case 40:
     this.grd_Display = ((System.Windows.Controls.Grid)(target));
     return;
     case 41:
     this.pnl_Image = ((System.Windows.Controls.Image)(target));
     return;
     case 42:
     this.pnl_Panel_Seg = ((PHICommon.DrawingCanvas)(target));
     return;
     case 43:
     this.pnl_Panel_Nuc = ((PHICommon.DrawingCanvas)(target));
     return;
     case 44:
     this.grd_Mouse_Position = ((System.Windows.Controls.Grid)(target));
     return;
     case 45:
     this._lbl_Mouse_Y = ((System.Windows.Controls.Label)(target));
     return;
     case 46:
     this._lbl_Mouse_X = ((System.Windows.Controls.Label)(target));
     return;
     case 47:
     this.lbl_Mouse_Y = ((System.Windows.Controls.Label)(target));
     return;
     case 48:
     this.lbl_Mouse_X = ((System.Windows.Controls.Label)(target));
     return;
     case 49:
     this.pnl_Annotation_Seg = ((PHICommon.DrawingCanvas)(target));
     return;
     case 50:
     this.pnl_Annotation_Nuc = ((PHICommon.DrawingCanvas)(target));
     return;
     case 51:
     this.pnl_User = ((PHICommon.DrawingCanvas)(target));
     
     #line 107 "..\..\..\..\Frames\MainWindow.xaml"
     this.pnl_User.MouseMove += new System.Windows.Input.MouseEventHandler(this.pnl_MouseMove);
     
     #line default
     #line hidden
     
     #line 107 "..\..\..\..\Frames\MainWindow.xaml"
     this.pnl_User.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.pnl_MouseDown);
     
     #line default
     #line hidden
     return;
     case 52:
     this.scl_Time = ((System.Windows.Controls.Primitives.ScrollBar)(target));
     
     #line 108 "..\..\..\..\Frames\MainWindow.xaml"
     this.scl_Time.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.scl_Time_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 53:
     this.txt_Series_index = ((System.Windows.Controls.TextBox)(target));
     
     #line 109 "..\..\..\..\Frames\MainWindow.xaml"
     this.txt_Series_index.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txt_Series_index_TextChanged);
     
     #line default
     #line hidden
     return;
     case 54:
     this.grd_SharpGLControl = ((System.Windows.Controls.Grid)(target));
     return;
     case 55:
     this.pnl_SharpOpenGL = ((SharpGL.WPF.OpenGLControl)(target));
     
     #line 115 "..\..\..\..\Frames\MainWindow.xaml"
     this.pnl_SharpOpenGL.MouseMove += new System.Windows.Input.MouseEventHandler(this.OpenGLControl_MouseMove);
     
     #line default
     #line hidden
     
     #line 115 "..\..\..\..\Frames\MainWindow.xaml"
     this.pnl_SharpOpenGL.OpenGLDraw += new SharpGL.SceneGraph.OpenGLEventHandler(this.OpenGLControl_OpenGLDraw);
     
     #line default
     #line hidden
     
     #line 115 "..\..\..\..\Frames\MainWindow.xaml"
     this.pnl_SharpOpenGL.Resized += new SharpGL.SceneGraph.OpenGLEventHandler(this.OpenGLControl_Resized);
     
     #line default
     #line hidden
     
     #line 115 "..\..\..\..\Frames\MainWindow.xaml"
     this.pnl_SharpOpenGL.OpenGLInitialized += new SharpGL.SceneGraph.OpenGLEventHandler(this.OpenGLControl_OpenGLInitialized);
     
     #line default
     #line hidden
     return;
     case 56:
     this.wfh_renderControl = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
     return;
     case 57:
     this._renderControl = ((Kitware.VTK.RenderWindowControl)(target));
     return;
     case 58:
     this.grd_Controls = ((System.Windows.Controls.Grid)(target));
     return;
     case 59:
     this.grd_Segmentation = ((System.Windows.Controls.Grid)(target));
     return;
     case 60:
     this.tcl_Segmentation = ((System.Windows.Controls.TabControl)(target));
     return;
     case 61:
     this.tab_Con_Filter = ((System.Windows.Controls.TabItem)(target));
     return;
     case 62:
     this.grd_Con_Con = ((System.Windows.Controls.Grid)(target));
     return;
     case 63:
     this.btn_Capture_Segment_1 = ((System.Windows.Controls.Button)(target));
     
     #line 129 "..\..\..\..\Frames\MainWindow.xaml"
     this.btn_Capture_Segment_1.Click += new System.Windows.RoutedEventHandler(this.btn_Capture_Segment_Click);
     
     #line default
     #line hidden
     return;
     case 64:
     this.tab_Nei_Filter = ((System.Windows.Controls.TabItem)(target));
     return;
     case 65:
     this.grd_Con_Nei = ((System.Windows.Controls.Grid)(target));
     return;
     case 66:
     this.btn_Capture_Segment_2 = ((System.Windows.Controls.Button)(target));
     
     #line 134 "..\..\..\..\Frames\MainWindow.xaml"
     this.btn_Capture_Segment_2.Click += new System.Windows.RoutedEventHandler(this.btn_Capture_Segment_Click);
     
     #line default
     #line hidden
     return;
     case 67:
     this.tab_Wat_Filter = ((System.Windows.Controls.TabItem)(target));
     return;
     case 68:
     this.grd_Con_Wat = ((System.Windows.Controls.Grid)(target));
     return;
     case 69:
     this.btn_Capture_Segment_3 = ((System.Windows.Controls.Button)(target));
     
     #line 140 "..\..\..\..\Frames\MainWindow.xaml"
     this.btn_Capture_Segment_3.Click += new System.Windows.RoutedEventHandler(this.btn_Capture_Segment_Click);
     
     #line default
     #line hidden
     return;
     case 70:
     this.grd_3Dtools = ((System.Windows.Controls.Grid)(target));
     return;
     case 71:
     this.tcl_3Dtools = ((System.Windows.Controls.TabControl)(target));
     return;
     case 72:
     this.tab_3D_Render = ((System.Windows.Controls.TabItem)(target));
     return;
     case 73:
     this.grd_3D_Ren = ((System.Windows.Controls.Grid)(target));
     return;
     case 74:
     this.btn_Update_3D_Rendering = ((System.Windows.Controls.Button)(target));
     
     #line 151 "..\..\..\..\Frames\MainWindow.xaml"
     this.btn_Update_3D_Rendering.Click += new System.Windows.RoutedEventHandler(this.btn_Update_3D_Rendering_Click);
     
     #line default
     #line hidden
     return;
     case 75:
     this.chb_3D_Display = ((System.Windows.Controls.CheckBox)(target));
     
     #line 152 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_3D_Display.Checked += new System.Windows.RoutedEventHandler(this.chb_3D_Display_Checked);
     
     #line default
     #line hidden
     
     #line 152 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_3D_Display.Unchecked += new System.Windows.RoutedEventHandler(this.chb_3D_Display_Checked);
     
     #line default
     #line hidden
     return;
     case 76:
     this.chb_3D_Display_mode = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 77:
     this.grd_Annotation = ((System.Windows.Controls.Grid)(target));
     return;
     case 78:
     this.tcl_Annotation = ((System.Windows.Controls.TabControl)(target));
     
     #line 161 "..\..\..\..\Frames\MainWindow.xaml"
     this.tcl_Annotation.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tcl_Annotation_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 79:
     this.tab_Ann_Stage = ((System.Windows.Controls.TabItem)(target));
     return;
     case 80:
     this.grd_Ann_Properties = ((System.Windows.Controls.Grid)(target));
     return;
     case 81:
     this.gbx_Ann_Stage = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 82:
     this.cbx_Ann_Stage = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 83:
     this.label56 = ((System.Windows.Controls.Label)(target));
     return;
     case 84:
     this.label57 = ((System.Windows.Controls.Label)(target));
     return;
     case 85:
     this.txt_Ann_Stage_Begin = ((System.Windows.Controls.TextBox)(target));
     
     #line 169 "..\..\..\..\Frames\MainWindow.xaml"
     this.txt_Ann_Stage_Begin.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txt_Validate_Stage);
     
     #line default
     #line hidden
     return;
     case 86:
     this.txt_Ann_Stage_End = ((System.Windows.Controls.TextBox)(target));
     
     #line 170 "..\..\..\..\Frames\MainWindow.xaml"
     this.txt_Ann_Stage_End.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txt_Validate_Stage);
     
     #line default
     #line hidden
     return;
     case 87:
     this.btn_Add_Stage = ((System.Windows.Controls.Button)(target));
     
     #line 171 "..\..\..\..\Frames\MainWindow.xaml"
     this.btn_Add_Stage.Click += new System.Windows.RoutedEventHandler(this.btn_Add_Stage_Click);
     
     #line default
     #line hidden
     return;
     case 88:
     this.lbx_Ann_Stage = ((System.Windows.Controls.ListBox)(target));
     
     #line 172 "..\..\..\..\Frames\MainWindow.xaml"
     this.lbx_Ann_Stage.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbx_Ann_Stage_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 89:
     this.btn_Ann_Remove_Stage = ((System.Windows.Controls.Button)(target));
     
     #line 173 "..\..\..\..\Frames\MainWindow.xaml"
     this.btn_Ann_Remove_Stage.Click += new System.Windows.RoutedEventHandler(this.btn_Ann_Remove_Stage_Click);
     
     #line default
     #line hidden
     return;
     case 90:
     this.gbx_Ann_Fragmentation = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 91:
     this.cbx_Ann_Fragmentation = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 92:
     this.label96 = ((System.Windows.Controls.Label)(target));
     return;
     case 93:
     this.label97 = ((System.Windows.Controls.Label)(target));
     return;
     case 94:
     this.txt_Ann_Fragmentation_Begin = ((System.Windows.Controls.TextBox)(target));
     
     #line 181 "..\..\..\..\Frames\MainWindow.xaml"
     this.txt_Ann_Fragmentation_Begin.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txt_Validate_Fragmentation);
     
     #line default
     #line hidden
     return;
     case 95:
     this.txt_Ann_Fragmentation_End = ((System.Windows.Controls.TextBox)(target));
     
     #line 182 "..\..\..\..\Frames\MainWindow.xaml"
     this.txt_Ann_Fragmentation_End.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txt_Validate_Fragmentation);
     
     #line default
     #line hidden
     return;
     case 96:
     this.btn_Add_Fragmentation = ((System.Windows.Controls.Button)(target));
     
     #line 183 "..\..\..\..\Frames\MainWindow.xaml"
     this.btn_Add_Fragmentation.Click += new System.Windows.RoutedEventHandler(this.btn_Add_Fragmentation_Click);
     
     #line default
     #line hidden
     return;
     case 97:
     this.lbx_Ann_Fragmentation = ((System.Windows.Controls.ListBox)(target));
     
     #line 184 "..\..\..\..\Frames\MainWindow.xaml"
     this.lbx_Ann_Fragmentation.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbx_Ann_Fragmentation_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 98:
     this.btn_Ann_Remove_Fragmentation = ((System.Windows.Controls.Button)(target));
     
     #line 185 "..\..\..\..\Frames\MainWindow.xaml"
     this.btn_Ann_Remove_Fragmentation.Click += new System.Windows.RoutedEventHandler(this.btn_Ann_Remove_Fragmentation_Click);
     
     #line default
     #line hidden
     return;
     case 99:
     this.cbx_Quality = ((System.Windows.Controls.ComboBox)(target));
     
     #line 189 "..\..\..\..\Frames\MainWindow.xaml"
     this.cbx_Quality.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbx_Quality_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 100:
     this.label9 = ((System.Windows.Controls.Label)(target));
     return;
     case 101:
     this.tab_Ann_Outline = ((System.Windows.Controls.TabItem)(target));
     return;
     case 102:
     this.grd_Ann_Outline = ((System.Windows.Controls.Grid)(target));
     return;
     case 103:
     this.gbx_Nuclei = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 104:
     this.label5 = ((System.Windows.Controls.Label)(target));
     return;
     case 105:
     this.chb_Ann_NewNuclei = ((System.Windows.Controls.CheckBox)(target));
     
     #line 198 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_Ann_NewNuclei.Checked += new System.Windows.RoutedEventHandler(this.chb_Ann_NewNuclei_Checked);
     
     #line default
     #line hidden
     
     #line 198 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_Ann_NewNuclei.Unchecked += new System.Windows.RoutedEventHandler(this.chb_Ann_NewNuclei_Checked);
     
     #line default
     #line hidden
     return;
     case 106:
     this.cbx_Color_Nuc = ((System.Windows.Controls.ComboBox)(target));
     
     #line 199 "..\..\..\..\Frames\MainWindow.xaml"
     this.cbx_Color_Nuc.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbx_Color_Nuc_SelectionChanged);
     
     #line default
     #line hidden
     
     #line 199 "..\..\..\..\Frames\MainWindow.xaml"
     this.cbx_Color_Nuc.DropDownOpened += new System.EventHandler(this.cbx_Color_Nuc_DropDownOpened);
     
     #line default
     #line hidden
     return;
     case 107:
     this.label13 = ((System.Windows.Controls.Label)(target));
     return;
     case 108:
     this.chb_Annotation_Nuc = ((System.Windows.Controls.CheckBox)(target));
     
     #line 201 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_Annotation_Nuc.Checked += new System.Windows.RoutedEventHandler(this.chb_Display_Checked);
     
     #line default
     #line hidden
     
     #line 201 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_Annotation_Nuc.Unchecked += new System.Windows.RoutedEventHandler(this.chb_Display_Checked);
     
     #line default
     #line hidden
     return;
     case 109:
     this.chb_Outline_Nuc = ((System.Windows.Controls.CheckBox)(target));
     
     #line 202 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_Outline_Nuc.Checked += new System.Windows.RoutedEventHandler(this.chb_Display_Checked);
     
     #line default
     #line hidden
     
     #line 202 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_Outline_Nuc.Unchecked += new System.Windows.RoutedEventHandler(this.chb_Display_Checked);
     
     #line default
     #line hidden
     return;
     case 110:
     this.grd_Ann_Nuclei = ((System.Windows.Controls.Grid)(target));
     return;
     case 111:
     this.label6 = ((System.Windows.Controls.Label)(target));
     return;
     case 112:
     this.label7 = ((System.Windows.Controls.Label)(target));
     return;
     case 113:
     this.label8 = ((System.Windows.Controls.Label)(target));
     return;
     case 114:
     this.btn_Add_Nuclei = ((System.Windows.Controls.Button)(target));
     
     #line 207 "..\..\..\..\Frames\MainWindow.xaml"
     this.btn_Add_Nuclei.Click += new System.Windows.RoutedEventHandler(this.btn_Add_Nuclei_Click);
     
     #line default
     #line hidden
     return;
     case 115:
     this.txt_Ann_NewNuclei_CenterX = ((System.Windows.Controls.TextBox)(target));
     
     #line 208 "..\..\..\..\Frames\MainWindow.xaml"
     this.txt_Ann_NewNuclei_CenterX.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txt_Validate_NewNuclei);
     
     #line default
     #line hidden
     return;
     case 116:
     this.txt_Ann_NewNuclei_CenterY = ((System.Windows.Controls.TextBox)(target));
     
     #line 209 "..\..\..\..\Frames\MainWindow.xaml"
     this.txt_Ann_NewNuclei_CenterY.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txt_Validate_NewNuclei);
     
     #line default
     #line hidden
     return;
     case 117:
     this.txt_Ann_NewNuclei_Radius = ((System.Windows.Controls.TextBox)(target));
     
     #line 210 "..\..\..\..\Frames\MainWindow.xaml"
     this.txt_Ann_NewNuclei_Radius.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txt_Validate_NewNuclei);
     
     #line default
     #line hidden
     return;
     case 118:
     this.lbx_Ann_Nuclei = ((System.Windows.Controls.ListBox)(target));
     
     #line 211 "..\..\..\..\Frames\MainWindow.xaml"
     this.lbx_Ann_Nuclei.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbx_Ann_Nuclei_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 119:
     this.btn_Ann_Remove_Nuclei = ((System.Windows.Controls.Button)(target));
     
     #line 212 "..\..\..\..\Frames\MainWindow.xaml"
     this.btn_Ann_Remove_Nuclei.Click += new System.Windows.RoutedEventHandler(this.btn_Ann_Remove_Nuclei_Click);
     
     #line default
     #line hidden
     return;
     case 120:
     this.gbx_Cell = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 121:
     this.label54 = ((System.Windows.Controls.Label)(target));
     return;
     case 122:
     this.chb_Ann_NewSegment = ((System.Windows.Controls.CheckBox)(target));
     
     #line 219 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_Ann_NewSegment.Checked += new System.Windows.RoutedEventHandler(this.chb_Ann_NewSegment_Checked);
     
     #line default
     #line hidden
     
     #line 219 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_Ann_NewSegment.Unchecked += new System.Windows.RoutedEventHandler(this.chb_Ann_NewSegment_Checked);
     
     #line default
     #line hidden
     return;
     case 123:
     this.cbx_Color_Seg = ((System.Windows.Controls.ComboBox)(target));
     
     #line 220 "..\..\..\..\Frames\MainWindow.xaml"
     this.cbx_Color_Seg.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbx_Color_Seg_SelectionChanged);
     
     #line default
     #line hidden
     
     #line 220 "..\..\..\..\Frames\MainWindow.xaml"
     this.cbx_Color_Seg.DropDownOpened += new System.EventHandler(this.cbx_Color_Seg_DropDownOpened);
     
     #line default
     #line hidden
     return;
     case 124:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 125:
     this.chb_Annotation_Seg = ((System.Windows.Controls.CheckBox)(target));
     
     #line 222 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_Annotation_Seg.Checked += new System.Windows.RoutedEventHandler(this.chb_Display_Checked);
     
     #line default
     #line hidden
     
     #line 222 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_Annotation_Seg.Unchecked += new System.Windows.RoutedEventHandler(this.chb_Display_Checked);
     
     #line default
     #line hidden
     return;
     case 126:
     this.chb_Outline_Seg = ((System.Windows.Controls.CheckBox)(target));
     
     #line 223 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_Outline_Seg.Checked += new System.Windows.RoutedEventHandler(this.chb_Display_Checked);
     
     #line default
     #line hidden
     
     #line 223 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_Outline_Seg.Unchecked += new System.Windows.RoutedEventHandler(this.chb_Display_Checked);
     
     #line default
     #line hidden
     return;
     case 127:
     this.grd_Ann_Segment = ((System.Windows.Controls.Grid)(target));
     return;
     case 128:
     this.label47 = ((System.Windows.Controls.Label)(target));
     return;
     case 129:
     this.label48 = ((System.Windows.Controls.Label)(target));
     return;
     case 130:
     this.txt_Ann_NewSegment_StartX = ((System.Windows.Controls.TextBox)(target));
     
     #line 227 "..\..\..\..\Frames\MainWindow.xaml"
     this.txt_Ann_NewSegment_StartX.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txt_Validate_NewSegment);
     
     #line default
     #line hidden
     return;
     case 131:
     this.txt_Ann_NewSegment_StartY = ((System.Windows.Controls.TextBox)(target));
     
     #line 228 "..\..\..\..\Frames\MainWindow.xaml"
     this.txt_Ann_NewSegment_StartY.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txt_Validate_NewSegment);
     
     #line default
     #line hidden
     return;
     case 132:
     this.btn_Add_Segment = ((System.Windows.Controls.Button)(target));
     
     #line 229 "..\..\..\..\Frames\MainWindow.xaml"
     this.btn_Add_Segment.Click += new System.Windows.RoutedEventHandler(this.btn_Add_Segment_Click);
     
     #line default
     #line hidden
     return;
     case 133:
     this.lbx_Ann_Segment = ((System.Windows.Controls.ListBox)(target));
     
     #line 230 "..\..\..\..\Frames\MainWindow.xaml"
     this.lbx_Ann_Segment.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbx_Ann_Segment_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 134:
     this.btn_Ann_Remove_Segment = ((System.Windows.Controls.Button)(target));
     
     #line 231 "..\..\..\..\Frames\MainWindow.xaml"
     this.btn_Ann_Remove_Segment.Click += new System.Windows.RoutedEventHandler(this.btn_Ann_Remove_Segment_Click);
     
     #line default
     #line hidden
     return;
     case 135:
     this.grd_Navigator = ((System.Windows.Controls.Grid)(target));
     return;
     case 136:
     this.lbx_Slice = ((System.Windows.Controls.ListBox)(target));
     
     #line 243 "..\..\..\..\Frames\MainWindow.xaml"
     this.lbx_Slice.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbx_Slice_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 137:
     this.lbx_Segment = ((System.Windows.Controls.ListBox)(target));
     
     #line 244 "..\..\..\..\Frames\MainWindow.xaml"
     this.lbx_Segment.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbx_Segment_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 138:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 139:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     case 140:
     this.txt_Volume = ((System.Windows.Controls.TextBox)(target));
     return;
     case 141:
     this.lbl_Volume = ((System.Windows.Controls.Label)(target));
     return;
     case 142:
     this.lbl_Area = ((System.Windows.Controls.Label)(target));
     return;
     case 143:
     this.txt_Area = ((System.Windows.Controls.TextBox)(target));
     return;
     case 144:
     this.txt_Z = ((System.Windows.Controls.TextBox)(target));
     
     #line 251 "..\..\..\..\Frames\MainWindow.xaml"
     this.txt_Z.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txt_scale_TextChanged);
     
     #line default
     #line hidden
     return;
     case 145:
     this.lbl_Z = ((System.Windows.Controls.Label)(target));
     return;
     case 146:
     this.lbl_XY = ((System.Windows.Controls.Label)(target));
     return;
     case 147:
     this.txt_XY = ((System.Windows.Controls.TextBox)(target));
     
     #line 254 "..\..\..\..\Frames\MainWindow.xaml"
     this.txt_XY.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txt_scale_TextChanged);
     
     #line default
     #line hidden
     return;
     case 148:
     this.lbl_Time = ((System.Windows.Controls.Label)(target));
     return;
     case 149:
     this.txt_Time = ((System.Windows.Controls.TextBox)(target));
     return;
     case 150:
     this._grd_Log = ((System.Windows.Controls.Grid)(target));
     return;
     case 151:
     this.mnu_Clear_Log = ((System.Windows.Controls.MenuItem)(target));
     
     #line 264 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Clear_Log.Click += new System.Windows.RoutedEventHandler(this.mnu_Clear_Log_Click);
     
     #line default
     #line hidden
     return;
     case 152:
     this._txt_Log = ((System.Windows.Controls.TextBox)(target));
     return;
     case 153:
     this.chb_Logging = ((System.Windows.Controls.CheckBox)(target));
     
     #line 268 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_Logging.Unchecked += new System.Windows.RoutedEventHandler(this.chb_Logging_Checked);
     
     #line default
     #line hidden
     
     #line 268 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_Logging.Checked += new System.Windows.RoutedEventHandler(this.chb_Logging_Checked);
     
     #line default
     #line hidden
     return;
     case 154:
     this.button1 = ((System.Windows.Controls.Button)(target));
     
     #line 269 "..\..\..\..\Frames\MainWindow.xaml"
     this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.grp_Header = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this._mnu_Main = ((System.Windows.Controls.Menu)(target));
     return;
     case 3:
     this.mnu_Remove_Segment = ((System.Windows.Controls.MenuItem)(target));
     
     #line 21 "..\..\..\..\Frames\SortWindow.xaml"
     this.mnu_Remove_Segment.Click += new System.Windows.RoutedEventHandler(this.mnu_Remove_Segment_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.mnu_Divide_Segment = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 5:
     this.mnu_Add_Segment = ((System.Windows.Controls.MenuItem)(target));
     
     #line 23 "..\..\..\..\Frames\SortWindow.xaml"
     this.mnu_Add_Segment.Click += new System.Windows.RoutedEventHandler(this.mnu_Add_Segment_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.mnu_Rename_Segment = ((System.Windows.Controls.MenuItem)(target));
     
     #line 24 "..\..\..\..\Frames\SortWindow.xaml"
     this.mnu_Rename_Segment.Click += new System.Windows.RoutedEventHandler(this.mnu_Rename_Segment_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.btn_Previous = ((System.Windows.Controls.Button)(target));
     
     #line 28 "..\..\..\..\Frames\SortWindow.xaml"
     this.btn_Previous.Click += new System.Windows.RoutedEventHandler(this.btn_Previous_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.cbx_Slice1 = ((System.Windows.Controls.ComboBox)(target));
     
     #line 29 "..\..\..\..\Frames\SortWindow.xaml"
     this.cbx_Slice1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbx_Slice1_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 9:
     this.cbx_Slice2 = ((System.Windows.Controls.ComboBox)(target));
     
     #line 30 "..\..\..\..\Frames\SortWindow.xaml"
     this.cbx_Slice2.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbx_Slice2_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 10:
     this.btn_Next = ((System.Windows.Controls.Button)(target));
     
     #line 31 "..\..\..\..\Frames\SortWindow.xaml"
     this.btn_Next.Click += new System.Windows.RoutedEventHandler(this.btn_Next_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.grp_Main = ((System.Windows.Controls.Grid)(target));
     return;
     case 12:
     this.grd_Display1 = ((System.Windows.Controls.Grid)(target));
     return;
     case 13:
     this.pnl_Image1 = ((System.Windows.Controls.Image)(target));
     return;
     case 14:
     this.pnl_Panel1 = ((PHICommon.DrawingCanvas)(target));
     return;
     case 15:
     this.pnl_Annotation1 = ((PHICommon.DrawingCanvas)(target));
     return;
     case 16:
     this.cbx_Color1 = ((System.Windows.Controls.ComboBox)(target));
     
     #line 42 "..\..\..\..\Frames\SortWindow.xaml"
     this.cbx_Color1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbx_Color1_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 17:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 18:
     this.chb_Annotation1 = ((System.Windows.Controls.CheckBox)(target));
     
     #line 44 "..\..\..\..\Frames\SortWindow.xaml"
     this.chb_Annotation1.Checked += new System.Windows.RoutedEventHandler(this.chb_Display1_Checked);
     
     #line default
     #line hidden
     
     #line 44 "..\..\..\..\Frames\SortWindow.xaml"
     this.chb_Annotation1.Unchecked += new System.Windows.RoutedEventHandler(this.chb_Display1_Checked);
     
     #line default
     #line hidden
     return;
     case 19:
     this.chb_Outline1 = ((System.Windows.Controls.CheckBox)(target));
     
     #line 45 "..\..\..\..\Frames\SortWindow.xaml"
     this.chb_Outline1.Checked += new System.Windows.RoutedEventHandler(this.chb_Display1_Checked);
     
     #line default
     #line hidden
     
     #line 45 "..\..\..\..\Frames\SortWindow.xaml"
     this.chb_Outline1.Unchecked += new System.Windows.RoutedEventHandler(this.chb_Display1_Checked);
     
     #line default
     #line hidden
     return;
     case 20:
     this.chb_Image1 = ((System.Windows.Controls.CheckBox)(target));
     
     #line 46 "..\..\..\..\Frames\SortWindow.xaml"
     this.chb_Image1.Checked += new System.Windows.RoutedEventHandler(this.chb_Display1_Checked);
     
     #line default
     #line hidden
     
     #line 46 "..\..\..\..\Frames\SortWindow.xaml"
     this.chb_Image1.Unchecked += new System.Windows.RoutedEventHandler(this.chb_Display1_Checked);
     
     #line default
     #line hidden
     return;
     case 21:
     this.lbx_Segment1 = ((System.Windows.Controls.ListBox)(target));
     
     #line 47 "..\..\..\..\Frames\SortWindow.xaml"
     this.lbx_Segment1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbx_Segment1_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 22:
     this.label5 = ((System.Windows.Controls.Label)(target));
     return;
     case 23:
     this.grd_Display2 = ((System.Windows.Controls.Grid)(target));
     return;
     case 24:
     this.pnl_Image2 = ((System.Windows.Controls.Image)(target));
     return;
     case 25:
     this.pnl_Panel2 = ((PHICommon.DrawingCanvas)(target));
     return;
     case 26:
     this.pnl_Annotation2 = ((PHICommon.DrawingCanvas)(target));
     return;
     case 27:
     this.cbx_Color2 = ((System.Windows.Controls.ComboBox)(target));
     
     #line 55 "..\..\..\..\Frames\SortWindow.xaml"
     this.cbx_Color2.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbx_Color2_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 28:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 29:
     this.chb_Annotation2 = ((System.Windows.Controls.CheckBox)(target));
     
     #line 57 "..\..\..\..\Frames\SortWindow.xaml"
     this.chb_Annotation2.Checked += new System.Windows.RoutedEventHandler(this.chb_Display2_Checked);
     
     #line default
     #line hidden
     
     #line 57 "..\..\..\..\Frames\SortWindow.xaml"
     this.chb_Annotation2.Unchecked += new System.Windows.RoutedEventHandler(this.chb_Display2_Checked);
     
     #line default
     #line hidden
     return;
     case 30:
     this.chb_Outline2 = ((System.Windows.Controls.CheckBox)(target));
     
     #line 58 "..\..\..\..\Frames\SortWindow.xaml"
     this.chb_Outline2.Checked += new System.Windows.RoutedEventHandler(this.chb_Display2_Checked);
     
     #line default
     #line hidden
     
     #line 58 "..\..\..\..\Frames\SortWindow.xaml"
     this.chb_Outline2.Unchecked += new System.Windows.RoutedEventHandler(this.chb_Display2_Checked);
     
     #line default
     #line hidden
     return;
     case 31:
     this.chb_Image2 = ((System.Windows.Controls.CheckBox)(target));
     
     #line 59 "..\..\..\..\Frames\SortWindow.xaml"
     this.chb_Image2.Checked += new System.Windows.RoutedEventHandler(this.chb_Display2_Checked);
     
     #line default
     #line hidden
     
     #line 59 "..\..\..\..\Frames\SortWindow.xaml"
     this.chb_Image2.Unchecked += new System.Windows.RoutedEventHandler(this.chb_Display2_Checked);
     
     #line default
     #line hidden
     return;
     case 32:
     this.lbx_Segment2 = ((System.Windows.Controls.ListBox)(target));
     
     #line 61 "..\..\..\..\Frames\SortWindow.xaml"
     this.lbx_Segment2.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbx_Segment2_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 33:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     case 34:
     this.grd_Footer = ((System.Windows.Controls.Grid)(target));
     return;
     case 35:
     this.btnClose = ((System.Windows.Controls.Button)(target));
     
     #line 67 "..\..\..\..\Frames\SortWindow.xaml"
     this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this._grd_Menu = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this._mnu_Main = ((System.Windows.Controls.Menu)(target));
     return;
     case 3:
     
     #line 14 "..\..\..\..\Frames\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.mnu_New_Project_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 15 "..\..\..\..\Frames\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.mnu_Open_Project_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.mnu_Save_Project = ((System.Windows.Controls.MenuItem)(target));
     
     #line 16 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Save_Project.Click += new System.Windows.RoutedEventHandler(this.mnu_Save_Project_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.mnu_Save_As_Project = ((System.Windows.Controls.MenuItem)(target));
     
     #line 17 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Save_As_Project.Click += new System.Windows.RoutedEventHandler(this.mnu_Save_As_Project_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.mnu_Export_Excel = ((System.Windows.Controls.MenuItem)(target));
     
     #line 19 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Export_Excel.Click += new System.Windows.RoutedEventHandler(this.mnu_Export_Excel_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 21 "..\..\..\..\Frames\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.mnu_Bmp_Save_Segments_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     
     #line 22 "..\..\..\..\Frames\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.mnu_Bmp_Save_Outlines_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.mnu_Save_OBJ = ((System.Windows.Controls.MenuItem)(target));
     
     #line 23 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Save_OBJ.Click += new System.Windows.RoutedEventHandler(this.mnu_Save_OBJ_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.mnu_3D_view = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 12:
     this.mnu_3D_point = ((System.Windows.Controls.MenuItem)(target));
     
     #line 26 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_3D_point.Click += new System.Windows.RoutedEventHandler(this.mnu_3D_view_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this.mnu_3D_body = ((System.Windows.Controls.MenuItem)(target));
     
     #line 27 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_3D_body.Click += new System.Windows.RoutedEventHandler(this.mnu_3D_view_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.mnu_Quit = ((System.Windows.Controls.MenuItem)(target));
     
     #line 29 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Quit.Click += new System.Windows.RoutedEventHandler(this.mnu_Quit_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     this.mnu_Sort_Slice = ((System.Windows.Controls.MenuItem)(target));
     
     #line 32 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Sort_Slice.Click += new System.Windows.RoutedEventHandler(this.mnu_Sort_Slice_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.mnu_Rename_Slice = ((System.Windows.Controls.MenuItem)(target));
     
     #line 33 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Rename_Slice.Click += new System.Windows.RoutedEventHandler(this.mnu_Rename_Slice_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this.mnu_Remove_Segment = ((System.Windows.Controls.MenuItem)(target));
     
     #line 36 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Remove_Segment.Click += new System.Windows.RoutedEventHandler(this.mnu_Remove_Segment_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this.mnu_Divide_Segment = ((System.Windows.Controls.MenuItem)(target));
     
     #line 37 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Divide_Segment.Click += new System.Windows.RoutedEventHandler(this.mnu_Divide_Segment_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     this.mnu_Add_Segment = ((System.Windows.Controls.MenuItem)(target));
     
     #line 38 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Add_Segment.Click += new System.Windows.RoutedEventHandler(this.mnu_Add_Segment_Click);
     
     #line default
     #line hidden
     return;
     case 20:
     this.mnu_Rename_Segment = ((System.Windows.Controls.MenuItem)(target));
     
     #line 39 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Rename_Segment.Click += new System.Windows.RoutedEventHandler(this.mnu_Rename_Segment_Click);
     
     #line default
     #line hidden
     return;
     case 21:
     this._grd_Main = ((System.Windows.Controls.Grid)(target));
     return;
     case 22:
     this._grd_Hidden = ((System.Windows.Controls.Grid)(target));
     return;
     case 23:
     this.txt_File = ((System.Windows.Controls.TextBox)(target));
     return;
     case 24:
     this.txt_Path = ((System.Windows.Controls.TextBox)(target));
     return;
     case 25:
     this.lbl_File = ((System.Windows.Controls.Label)(target));
     return;
     case 26:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 27:
     this._grd_Display = ((System.Windows.Controls.Grid)(target));
     return;
     case 28:
     this.pnl_Image = ((System.Windows.Controls.Image)(target));
     return;
     case 29:
     this.pnl_Panel = ((PHICommon.DrawingCanvas)(target));
     return;
     case 30:
     this.pnl_Annotation = ((PHICommon.DrawingCanvas)(target));
     return;
     case 31:
     this.cbx_Color = ((System.Windows.Controls.ComboBox)(target));
     
     #line 64 "..\..\..\..\Frames\MainWindow.xaml"
     this.cbx_Color.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbx_Color_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 32:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 33:
     this.chb_Annotation = ((System.Windows.Controls.CheckBox)(target));
     
     #line 66 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_Annotation.Checked += new System.Windows.RoutedEventHandler(this.chb_Display_Checked);
     
     #line default
     #line hidden
     
     #line 66 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_Annotation.Unchecked += new System.Windows.RoutedEventHandler(this.chb_Display_Checked);
     
     #line default
     #line hidden
     return;
     case 34:
     this.chb_Outline = ((System.Windows.Controls.CheckBox)(target));
     
     #line 67 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_Outline.Checked += new System.Windows.RoutedEventHandler(this.chb_Display_Checked);
     
     #line default
     #line hidden
     
     #line 67 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_Outline.Unchecked += new System.Windows.RoutedEventHandler(this.chb_Display_Checked);
     
     #line default
     #line hidden
     return;
     case 35:
     this.chb_Image = ((System.Windows.Controls.CheckBox)(target));
     
     #line 68 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_Image.Checked += new System.Windows.RoutedEventHandler(this.chb_Display_Checked);
     
     #line default
     #line hidden
     
     #line 68 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_Image.Unchecked += new System.Windows.RoutedEventHandler(this.chb_Display_Checked);
     
     #line default
     #line hidden
     return;
     case 36:
     this._grd_Controls = ((System.Windows.Controls.Grid)(target));
     return;
     case 37:
     this.tabControl1 = ((System.Windows.Controls.TabControl)(target));
     return;
     case 38:
     this.tab_Con_Filter = ((System.Windows.Controls.TabItem)(target));
     return;
     case 39:
     this.grd_Con_Con = ((System.Windows.Controls.Grid)(target));
     return;
     case 40:
     this.btn_Capture_Segment_1 = ((System.Windows.Controls.Button)(target));
     
     #line 75 "..\..\..\..\Frames\MainWindow.xaml"
     this.btn_Capture_Segment_1.Click += new System.Windows.RoutedEventHandler(this.btn_Capture_Segment_Click);
     
     #line default
     #line hidden
     return;
     case 41:
     this.tab_Nei_Filter = ((System.Windows.Controls.TabItem)(target));
     return;
     case 42:
     this.grd_Con_Nei = ((System.Windows.Controls.Grid)(target));
     return;
     case 43:
     this.btn_Capture_Segment_2 = ((System.Windows.Controls.Button)(target));
     
     #line 80 "..\..\..\..\Frames\MainWindow.xaml"
     this.btn_Capture_Segment_2.Click += new System.Windows.RoutedEventHandler(this.btn_Capture_Segment_Click);
     
     #line default
     #line hidden
     return;
     case 44:
     this.tab_Wat_Filter = ((System.Windows.Controls.TabItem)(target));
     return;
     case 45:
     this.grd_Con_Wat = ((System.Windows.Controls.Grid)(target));
     return;
     case 46:
     this.btn_Capture_Segment_3 = ((System.Windows.Controls.Button)(target));
     
     #line 86 "..\..\..\..\Frames\MainWindow.xaml"
     this.btn_Capture_Segment_3.Click += new System.Windows.RoutedEventHandler(this.btn_Capture_Segment_Click);
     
     #line default
     #line hidden
     return;
     case 47:
     this._grd_Navigator = ((System.Windows.Controls.Grid)(target));
     return;
     case 48:
     this.lbx_Slice = ((System.Windows.Controls.ListBox)(target));
     
     #line 93 "..\..\..\..\Frames\MainWindow.xaml"
     this.lbx_Slice.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbx_Slice_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 49:
     this.lbx_Segment = ((System.Windows.Controls.ListBox)(target));
     
     #line 94 "..\..\..\..\Frames\MainWindow.xaml"
     this.lbx_Segment.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbx_Segment_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 50:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 51:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     case 52:
     this.txt_Volume = ((System.Windows.Controls.TextBox)(target));
     return;
     case 53:
     this.lbl_Volume = ((System.Windows.Controls.Label)(target));
     return;
     case 54:
     this.lbl_Area = ((System.Windows.Controls.Label)(target));
     return;
     case 55:
     this.txt_Area = ((System.Windows.Controls.TextBox)(target));
     return;
     case 56:
     this.txt_Z = ((System.Windows.Controls.TextBox)(target));
     
     #line 101 "..\..\..\..\Frames\MainWindow.xaml"
     this.txt_Z.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txt_scale_TextChanged);
     
     #line default
     #line hidden
     return;
     case 57:
     this.lbl_Z = ((System.Windows.Controls.Label)(target));
     return;
     case 58:
     this.lbl_XY = ((System.Windows.Controls.Label)(target));
     return;
     case 59:
     this.txt_XY = ((System.Windows.Controls.TextBox)(target));
     
     #line 104 "..\..\..\..\Frames\MainWindow.xaml"
     this.txt_XY.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txt_scale_TextChanged);
     
     #line default
     #line hidden
     return;
     case 60:
     this._grd_Log = ((System.Windows.Controls.Grid)(target));
     return;
     case 61:
     this.mnu_Clear_Log = ((System.Windows.Controls.MenuItem)(target));
     
     #line 110 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Clear_Log.Click += new System.Windows.RoutedEventHandler(this.mnu_Clear_Log_Click);
     
     #line default
     #line hidden
     return;
     case 62:
     this._txt_Log = ((System.Windows.Controls.TextBox)(target));
     return;
     case 63:
     this.chb_Logging = ((System.Windows.Controls.CheckBox)(target));
     
     #line 114 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_Logging.Unchecked += new System.Windows.RoutedEventHandler(this.chb_Logging_Checked);
     
     #line default
     #line hidden
     
     #line 114 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_Logging.Checked += new System.Windows.RoutedEventHandler(this.chb_Logging_Checked);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }