void IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.UserControl = (_ColorSwatchControl)target;
         return;
     case 2:
         this.LayoutRoot = (Grid)target;
         return;
     case 3:
         this.Color = (Path)target;
         return;
     case 4:
         this.Color_shadow = (Path)target;
         return;
     default:
         this._contentLoaded = true;
         return;
     }
 }
示例#2
0
 void IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.Window = (MainWindow)target;
         this.Window.StateChanged += new EventHandler(this.Window_StateChanged);
         this.Window.Activated += new EventHandler(this.Window_Activated);
         this.Window.Deactivated += new EventHandler(this.Window_Deactivated);
         return;
     case 2:
         this.CloseStatusGroup = (VisualStateGroup)target;
         return;
     case 3:
         this.Enter = (VisualState)target;
         return;
     case 4:
         this.Leave = (VisualState)target;
         return;
     case 5:
         this.KeyboardLockStateGroup = (VisualStateGroup)target;
         return;
     case 6:
         this.EnterState = (VisualState)target;
         return;
     case 7:
         this.LeaveState = (VisualState)target;
         return;
     case 8:
         this.LeftballStateGroup = (VisualStateGroup)target;
         return;
     case 9:
         this.EnterState1 = (VisualState)target;
         return;
     case 10:
         this.LeaveState1 = (VisualState)target;
         return;
     case 11:
         this.RightballStateGroup = (VisualStateGroup)target;
         return;
     case 12:
         this.EnterState2 = (VisualState)target;
         return;
     case 13:
         this.LeaveState2 = (VisualState)target;
         return;
     case 14:
         this.MiddleballStateGroup = (VisualStateGroup)target;
         return;
     case 15:
         this.EnterState3 = (VisualState)target;
         return;
     case 16:
         this.LeaveState3 = (VisualState)target;
         return;
     case 17:
         this.StdStateGroup = (VisualStateGroup)target;
         return;
     case 18:
         this.EnterState4 = (VisualState)target;
         return;
     case 19:
         this.LeaveState4 = (VisualState)target;
         return;
     case 20:
         this.IdleStateGroup = (VisualStateGroup)target;
         return;
     case 21:
         this.EnterState5 = (VisualState)target;
         return;
     case 22:
         this.LeaveState5 = (VisualState)target;
         return;
     case 23:
         this.StdOption_Normal = (VisualStateGroup)target;
         return;
     case 24:
         this.EnterState6 = (VisualState)target;
         return;
     case 25:
         this.LeaveState6 = (VisualState)target;
         return;
     case 26:
         this.StdOptionGaming = (VisualStateGroup)target;
         return;
     case 27:
         this.EnterState8 = (VisualState)target;
         return;
     case 28:
         this.LeaveState8 = (VisualState)target;
         return;
     case 29:
         this.StdOption_Breathing = (VisualStateGroup)target;
         return;
     case 30:
         this.EnterState9 = (VisualState)target;
         return;
     case 31:
         this.LeaveState9 = (VisualState)target;
         return;
     case 32:
         this.StdOption_Wave = (VisualStateGroup)target;
         return;
     case 33:
         this.EnterState10 = (VisualState)target;
         return;
     case 34:
         this.LeaveState10 = (VisualState)target;
         return;
     case 35:
         this.StdOption_Dual = (VisualStateGroup)target;
         return;
     case 36:
         this.EnterState11 = (VisualState)target;
         return;
     case 37:
         this.LeaveState11 = (VisualState)target;
         return;
     case 38:
         this.IdleOption_Off = (VisualStateGroup)target;
         return;
     case 39:
         this.EnterState12 = (VisualState)target;
         return;
     case 40:
         this.LeaveState12 = (VisualState)target;
         return;
     case 41:
         this.IdleOption_Breathing = (VisualStateGroup)target;
         return;
     case 42:
         this.EnterState13 = (VisualState)target;
         return;
     case 43:
         this.LeaveState13 = (VisualState)target;
         return;
     case 44:
         this.IdleOption_Wave = (VisualStateGroup)target;
         return;
     case 45:
         this.EnterState14 = (VisualState)target;
         return;
     case 46:
         this.LeaveState14 = (VisualState)target;
         return;
     case 47:
         this.Led_left = (VisualStateGroup)target;
         return;
     case 48:
         this.led_enter = (VisualState)target;
         return;
     case 49:
         this.led_leave = (VisualState)target;
         return;
     case 50:
         this.Led_middle = (VisualStateGroup)target;
         return;
     case 51:
         this.led_enter1 = (VisualState)target;
         return;
     case 52:
         this.led_leave1 = (VisualState)target;
         return;
     case 53:
         this.Led_right = (VisualStateGroup)target;
         return;
     case 54:
         this.led_enter2 = (VisualState)target;
         return;
     case 55:
         this.led_leave2 = (VisualState)target;
         return;
     case 56:
         this.KeyboardUnockStateGroup = (VisualStateGroup)target;
         return;
     case 57:
         this.EnterState7 = (VisualState)target;
         return;
     case 58:
         this.LeaveState7 = (VisualState)target;
         return;
     case 59:
         this.Std_normal_selected_glow = (VisualStateGroup)target;
         return;
     case 60:
         this.selected = (VisualState)target;
         return;
     case 61:
         this.deselected = (VisualState)target;
         return;
     case 62:
         this.Std_dual_color_selected_glow = (VisualStateGroup)target;
         return;
     case 63:
         this.selected1 = (VisualState)target;
         return;
     case 64:
         this.deselected1 = (VisualState)target;
         return;
     case 65:
         this.Std_wave_selected_glow = (VisualStateGroup)target;
         return;
     case 66:
         this.selected2 = (VisualState)target;
         return;
     case 67:
         this.deselected2 = (VisualState)target;
         return;
     case 68:
         this.Std_breathing_selected_glow = (VisualStateGroup)target;
         return;
     case 69:
         this.selected3 = (VisualState)target;
         return;
     case 70:
         this.deselected3 = (VisualState)target;
         return;
     case 71:
         this.Std_gaming_selected_glow = (VisualStateGroup)target;
         return;
     case 72:
         this.selected4 = (VisualState)target;
         return;
     case 73:
         this.deselected4 = (VisualState)target;
         return;
     case 74:
         this.Idle_off = (VisualStateGroup)target;
         return;
     case 75:
         this.selected5 = (VisualState)target;
         return;
     case 76:
         this.deselected5 = (VisualState)target;
         return;
     case 77:
         this.Idel_wave = (VisualStateGroup)target;
         return;
     case 78:
         this.selected6 = (VisualState)target;
         return;
     case 79:
         this.deselected6 = (VisualState)target;
         return;
     case 80:
         this.Idle_breathing = (VisualStateGroup)target;
         return;
     case 81:
         this.selected7 = (VisualState)target;
         return;
     case 82:
         this.deselected7 = (VisualState)target;
         return;
     case 83:
         this.Single_color_glow = (VisualStateGroup)target;
         return;
     case 84:
         this.Enter1 = (VisualState)target;
         return;
     case 85:
         this.Leave1 = (VisualState)target;
         return;
     case 86:
         this.Color_outter_cycle_purple = (VisualStateGroup)target;
         return;
     case 87:
         this.enter3 = (VisualState)target;
         return;
     case 88:
         this.leave = (VisualState)target;
         return;
     case 89:
         this.select = (VisualState)target;
         return;
     case 90:
         this.deselect = (VisualState)target;
         return;
     case 91:
         this.Color_outter_middle_purple = (VisualStateGroup)target;
         return;
     case 92:
         this.enter4 = (VisualState)target;
         return;
     case 93:
         this.leave1 = (VisualState)target;
         return;
     case 94:
         this.select1 = (VisualState)target;
         return;
     case 95:
         this.deselect1 = (VisualState)target;
         return;
     case 96:
         this.Color_inner_middle_purple = (VisualStateGroup)target;
         return;
     case 97:
         this.enter5 = (VisualState)target;
         return;
     case 98:
         this.leave2 = (VisualState)target;
         return;
     case 99:
         this.select2 = (VisualState)target;
         return;
     case 100:
         this.deselect2 = (VisualState)target;
         return;
     case 101:
         this.Color_inner_cycle_purple = (VisualStateGroup)target;
         return;
     case 102:
         this.enter6 = (VisualState)target;
         return;
     case 103:
         this.leave3 = (VisualState)target;
         return;
     case 104:
         this.select3 = (VisualState)target;
         return;
     case 105:
         this.deselect3 = (VisualState)target;
         return;
     case 106:
         this.Color_inner_middle_red = (VisualStateGroup)target;
         return;
     case 107:
         this.enter7 = (VisualState)target;
         return;
     case 108:
         this.leave9 = (VisualState)target;
         return;
     case 109:
         this.Color_inner_middle_orange = (VisualStateGroup)target;
         return;
     case 110:
         this.enter8 = (VisualState)target;
         return;
     case 111:
         this.leave4 = (VisualState)target;
         return;
     case 112:
         this.Color_inner_middle_yellow = (VisualStateGroup)target;
         return;
     case 113:
         this.enter9 = (VisualState)target;
         return;
     case 114:
         this.leave5 = (VisualState)target;
         return;
     case 115:
         this.Color_inner_middle_green = (VisualStateGroup)target;
         return;
     case 116:
         this.enter10 = (VisualState)target;
         return;
     case 117:
         this.leave6 = (VisualState)target;
         return;
     case 118:
         this.Color_inner_middle_sky = (VisualStateGroup)target;
         return;
     case 119:
         this.enter11 = (VisualState)target;
         return;
     case 120:
         this.leave7 = (VisualState)target;
         return;
     case 121:
         this.Color_inner_middle_blue = (VisualStateGroup)target;
         return;
     case 122:
         this.enter12 = (VisualState)target;
         return;
     case 123:
         this.leave8 = (VisualState)target;
         return;
     case 124:
         this.Color_inner_cycle_red = (VisualStateGroup)target;
         return;
     case 125:
         this.enter13 = (VisualState)target;
         return;
     case 126:
         this.leave10 = (VisualState)target;
         return;
     case 127:
         this.Color_inner_cycle_orange = (VisualStateGroup)target;
         return;
     case 128:
         this.enter14 = (VisualState)target;
         return;
     case 129:
         this.leave11 = (VisualState)target;
         return;
     case 130:
         this.Color_inner_cycle_yellow = (VisualStateGroup)target;
         return;
     case 131:
         this.enter15 = (VisualState)target;
         return;
     case 132:
         this.leave12 = (VisualState)target;
         return;
     case 133:
         this.Color_inner_cycle_green = (VisualStateGroup)target;
         return;
     case 134:
         this.enter16 = (VisualState)target;
         return;
     case 135:
         this.leave13 = (VisualState)target;
         return;
     case 136:
         this.Color_inner_cycle_sky = (VisualStateGroup)target;
         return;
     case 137:
         this.enter17 = (VisualState)target;
         return;
     case 138:
         this.leave14 = (VisualState)target;
         return;
     case 139:
         this.Color_inner_cycle_blue = (VisualStateGroup)target;
         return;
     case 140:
         this.enter18 = (VisualState)target;
         return;
     case 141:
         this.leave15 = (VisualState)target;
         return;
     case 142:
         this.Color_outter_middle_red = (VisualStateGroup)target;
         return;
     case 143:
         this.enter19 = (VisualState)target;
         return;
     case 144:
         this.leave16 = (VisualState)target;
         return;
     case 145:
         this.Color_outter_middle_orange = (VisualStateGroup)target;
         return;
     case 146:
         this.enter20 = (VisualState)target;
         return;
     case 147:
         this.leave17 = (VisualState)target;
         return;
     case 148:
         this.Color_outter_middle_yellow = (VisualStateGroup)target;
         return;
     case 149:
         this.enter21 = (VisualState)target;
         return;
     case 150:
         this.leave18 = (VisualState)target;
         return;
     case 151:
         this.Color_outter_middle_green = (VisualStateGroup)target;
         return;
     case 152:
         this.enter22 = (VisualState)target;
         return;
     case 153:
         this.leave19 = (VisualState)target;
         return;
     case 154:
         this.Color_outter_middle_sky = (VisualStateGroup)target;
         return;
     case 155:
         this.enter23 = (VisualState)target;
         return;
     case 156:
         this.leave20 = (VisualState)target;
         return;
     case 157:
         this.Color_outter_middle_blue = (VisualStateGroup)target;
         return;
     case 158:
         this.enter24 = (VisualState)target;
         return;
     case 159:
         this.leave21 = (VisualState)target;
         return;
     case 160:
         this.Color_outter_cycle_sky = (VisualStateGroup)target;
         return;
     case 161:
         this.enter25 = (VisualState)target;
         return;
     case 162:
         this.leave22 = (VisualState)target;
         return;
     case 163:
         this.Color_outter_cycle_green = (VisualStateGroup)target;
         return;
     case 164:
         this.enter26 = (VisualState)target;
         return;
     case 165:
         this.leave23 = (VisualState)target;
         return;
     case 166:
         this.Color_outter_cycle_yellow = (VisualStateGroup)target;
         return;
     case 167:
         this.enter27 = (VisualState)target;
         return;
     case 168:
         this.leave24 = (VisualState)target;
         return;
     case 169:
         this.Color_outter_cycle_orange = (VisualStateGroup)target;
         return;
     case 170:
         this.enter28 = (VisualState)target;
         return;
     case 171:
         this.leave25 = (VisualState)target;
         return;
     case 172:
         this.Color_outter_cycle_red = (VisualStateGroup)target;
         return;
     case 173:
         this.enter29 = (VisualState)target;
         return;
     case 174:
         this.leave26 = (VisualState)target;
         return;
     case 175:
         this.Color_outter_cycle_blue = (VisualStateGroup)target;
         return;
     case 176:
         this.enter30 = (VisualState)target;
         return;
     case 177:
         this.leave27 = (VisualState)target;
         return;
     case 178:
         this.led_manager_all_ui = (Canvas)target;
         return;
     case 179:
         this.option_buttons_idle = (Canvas)target;
         return;
     case 180:
         this.圖層_11 = (Canvas)target;
         return;
     case 181:
         this.idle_off = (System.Windows.Shapes.Path)target;
         this.idle_off.MouseLeftButtonDown += new MouseButtonEventHandler(this.idle_off_MouseLeftButtonDown);
         return;
     case 182:
         this.idle_breathing = (System.Windows.Shapes.Path)target;
         this.idle_breathing.MouseLeftButtonDown += new MouseButtonEventHandler(this.idle_breathing_MouseLeftButtonDown);
         return;
     case 183:
         this.idle_wave = (System.Windows.Shapes.Path)target;
         this.idle_wave.MouseLeftButtonDown += new MouseButtonEventHandler(this.idle_wave_MouseLeftButtonDown);
         return;
     case 184:
         this.TextBlock5 = (Canvas)target;
         return;
     case 185:
         this.idle_off_sensor = (System.Windows.Shapes.Path)target;
         this.idle_off_sensor.MouseLeftButtonDown += new MouseButtonEventHandler(this.idle_off_MouseLeftButtonDown);
         return;
     case 186:
         this.idle_breathing_sensor = (System.Windows.Shapes.Path)target;
         this.idle_breathing_sensor.MouseLeftButtonDown += new MouseButtonEventHandler(this.idle_breathing_MouseLeftButtonDown);
         return;
     case 187:
         this.idle_wave_sensor = (System.Windows.Shapes.Path)target;
         this.idle_wave_sensor.MouseLeftButtonDown += new MouseButtonEventHandler(this.idle_wave_MouseLeftButtonDown);
         return;
     case 188:
         this.idle_off_glow = (System.Windows.Shapes.Path)target;
         this.idle_off_glow.MouseLeftButtonDown += new MouseButtonEventHandler(this.idle_off_MouseLeftButtonDown);
         return;
     case 189:
         this.idle_breathing_glow = (System.Windows.Shapes.Path)target;
         this.idle_breathing_glow.MouseLeftButtonDown += new MouseButtonEventHandler(this.idle_breathing_MouseLeftButtonDown);
         return;
     case 190:
         this.idle_wave_glow = (System.Windows.Shapes.Path)target;
         this.idle_wave_glow.MouseLeftButtonDown += new MouseButtonEventHandler(this.idle_wave_MouseLeftButtonDown);
         return;
     case 191:
         this.option_buttons_std = (Canvas)target;
         return;
     case 192:
         this.圖層_12 = (Canvas)target;
         return;
     case 193:
         this.gaming = (System.Windows.Shapes.Path)target;
         this.gaming.MouseLeftButtonDown += new MouseButtonEventHandler(this.gaming_MouseLeftButtonDown);
         return;
     case 194:
         this.audio = (System.Windows.Shapes.Path)target;
         this.audio.MouseLeftButtonDown += new MouseButtonEventHandler(this.audio_MouseLeftButtonDown);
         return;
     case 195:
         this.breathing = (System.Windows.Shapes.Path)target;
         this.breathing.MouseLeftButtonDown += new MouseButtonEventHandler(this.breathing_MouseLeftButtonDown);
         return;
     case 196:
         this.normal = (System.Windows.Shapes.Path)target;
         this.normal.MouseLeftButtonDown += new MouseButtonEventHandler(this.normal_MouseLeftButtonDown);
         return;
     case 197:
         this.wave = (System.Windows.Shapes.Path)target;
         this.wave.MouseLeftButtonDown += new MouseButtonEventHandler(this.wave_MouseLeftButtonDown);
         return;
     case 198:
         this.dual_color = (System.Windows.Shapes.Path)target;
         this.dual_color.MouseLeftButtonDown += new MouseButtonEventHandler(this.dual_color_MouseLeftButtonDown);
         return;
     case 199:
         this.normal_glow = (System.Windows.Shapes.Path)target;
         this.normal_glow.MouseLeftButtonDown += new MouseButtonEventHandler(this.normal_MouseLeftButtonDown);
         return;
     case 200:
         this.gaming_glow = (System.Windows.Shapes.Path)target;
         this.gaming_glow.MouseLeftButtonDown += new MouseButtonEventHandler(this.gaming_MouseLeftButtonDown);
         return;
     case 201:
         this.breathing_glow = (System.Windows.Shapes.Path)target;
         this.breathing_glow.MouseLeftButtonDown += new MouseButtonEventHandler(this.breathing_MouseLeftButtonDown);
         return;
     case 202:
         this.wave_glow = (System.Windows.Shapes.Path)target;
         this.wave_glow.MouseLeftButtonDown += new MouseButtonEventHandler(this.wave_MouseLeftButtonDown);
         return;
     case 203:
         this.dual_color_glow = (System.Windows.Shapes.Path)target;
         this.dual_color_glow.MouseLeftButtonDown += new MouseButtonEventHandler(this.dual_color_MouseLeftButtonDown);
         return;
     case 204:
         this.TextBlock6 = (Canvas)target;
         return;
     case 205:
         this.dual_color1 = (System.Windows.Shapes.Path)target;
         return;
     case 206:
         this.normal1 = (System.Windows.Shapes.Path)target;
         return;
     case 207:
         this.wave1 = (System.Windows.Shapes.Path)target;
         return;
     case 208:
         this.breathing1 = (System.Windows.Shapes.Path)target;
         return;
     case 209:
         this.audio1 = (System.Windows.Shapes.Path)target;
         return;
     case 210:
         this.gaming1 = (System.Windows.Shapes.Path)target;
         return;
     case 211:
         this.audio_sensor = (System.Windows.Shapes.Path)target;
         this.audio_sensor.MouseLeftButtonDown += new MouseButtonEventHandler(this.audio_MouseLeftButtonDown);
         return;
     case 212:
         this.gaming_sensor = (System.Windows.Shapes.Path)target;
         this.gaming_sensor.MouseLeftButtonDown += new MouseButtonEventHandler(this.gaming_MouseLeftButtonDown);
         return;
     case 213:
         this.breathing_sensor = (System.Windows.Shapes.Path)target;
         this.breathing_sensor.MouseLeftButtonDown += new MouseButtonEventHandler(this.breathing_MouseLeftButtonDown);
         return;
     case 214:
         this.normal_sensor = (System.Windows.Shapes.Path)target;
         this.normal_sensor.MouseLeftButtonDown += new MouseButtonEventHandler(this.normal_MouseLeftButtonDown);
         return;
     case 215:
         this.wave_sensor = (System.Windows.Shapes.Path)target;
         this.wave_sensor.MouseLeftButtonDown += new MouseButtonEventHandler(this.wave_MouseLeftButtonDown);
         return;
     case 216:
         this.dual_color_sensor = (System.Windows.Shapes.Path)target;
         this.dual_color_sensor.MouseLeftButtonDown += new MouseButtonEventHandler(this.dual_color_MouseLeftButtonDown);
         return;
     case 217:
         this.bg = (Canvas)target;
         this.bg.MouseDown += new MouseButtonEventHandler(this.bg_MouseDown);
         return;
     case 218:
         this.圖層_1 = (Canvas)target;
         return;
     case 219:
         this.Main_Body = (Canvas)target;
         return;
     case 220:
         this.mode = (Canvas)target;
         return;
     case 221:
         this.std_mode_bg = (System.Windows.Shapes.Path)target;
         return;
     case 222:
         this.idle_mode_bg = (System.Windows.Shapes.Path)target;
         return;
     case 223:
         this.std_mode_bg_Copy = (System.Windows.Shapes.Path)target;
         return;
     case 224:
         this.idle_mode_bg_Copy = (System.Windows.Shapes.Path)target;
         return;
     case 225:
         this.std_mode_bg_glow = (System.Windows.Shapes.Path)target;
         return;
     case 226:
         this.idle_mode_bg_glow = (System.Windows.Shapes.Path)target;
         return;
     case 227:
         this.std_mode_frame = (System.Windows.Shapes.Path)target;
         return;
     case 228:
         this.idle_mode_frame = (System.Windows.Shapes.Path)target;
         return;
     case 229:
         this.TextBlock_Standard = (Canvas)target;
         return;
     case 230:
         this.TextBlock2 = (Canvas)target;
         return;
     case 231:
         this.TextBlock3 = (Canvas)target;
         return;
     case 232:
         this.TextBlock4 = (Canvas)target;
         return;
     case 233:
         this.TextBlock_Idle = (Canvas)target;
         return;
     case 234:
         this.std_mode_sensor = (System.Windows.Shapes.Path)target;
         this.std_mode_sensor.MouseLeftButtonDown += new MouseButtonEventHandler(this.std_mode_sensor_MouseLeftButtonDown);
         return;
     case 235:
         this.idle_mode_sensor = (System.Windows.Shapes.Path)target;
         this.idle_mode_sensor.MouseLeftButtonDown += new MouseButtonEventHandler(this.idle_mode_sensor_MouseLeftButtonDown);
         return;
     case 236:
         this.led_on_off_left = (Canvas)target;
         this.led_on_off_left.MouseLeftButtonDown += new MouseButtonEventHandler(this.led_on_off_left_MouseLeftButtonDown);
         return;
     case 237:
         this.led_on_off_bg_left = (Canvas)target;
         return;
     case 238:
         this.圖層_5 = (Canvas)target;
         return;
     case 239:
         this.enter = (System.Windows.Shapes.Path)target;
         return;
     case 240:
         this.led_on_off_switch_left = (Canvas)target;
         return;
     case 241:
         this.圖層_8 = (Canvas)target;
         return;
     case 242:
         this.left_switch = (System.Windows.Shapes.Path)target;
         return;
     case 243:
         this.left_switch_on = (System.Windows.Shapes.Path)target;
         return;
     case 244:
         this.led_on_off_middle = (Canvas)target;
         this.led_on_off_middle.MouseLeftButtonDown += new MouseButtonEventHandler(this.led_on_off_middle_MouseLeftButtonDown);
         return;
     case 245:
         this.led_on_off_bg_middle = (Canvas)target;
         return;
     case 246:
         this.圖層_6 = (Canvas)target;
         return;
     case 247:
         this.enter1 = (System.Windows.Shapes.Path)target;
         return;
     case 248:
         this.led_on_off_switch_middle = (Canvas)target;
         return;
     case 249:
         this.圖層_7 = (Canvas)target;
         return;
     case 250:
         this.middle_switch = (System.Windows.Shapes.Path)target;
         return;
     case 251:
         this.middle_switch_on = (System.Windows.Shapes.Path)target;
         return;
     case 252:
         this.led_on_off_right = (Canvas)target;
         this.led_on_off_right.MouseLeftButtonDown += new MouseButtonEventHandler(this.led_on_off_right_MouseLeftButtonDown);
         return;
     case 253:
         this.led_on_off_bg_right = (Canvas)target;
         return;
     case 254:
         this.圖層_9 = (Canvas)target;
         return;
     case 255:
         this.enter2 = (System.Windows.Shapes.Path)target;
         return;
     case 256:
         this.led_on_off_switch_right = (Canvas)target;
         return;
     case 257:
         this.圖層_10 = (Canvas)target;
         return;
     case 258:
         this.right_switch = (System.Windows.Shapes.Path)target;
         return;
     case 259:
         this.right_switch_on = (System.Windows.Shapes.Path)target;
         return;
     case 260:
         this.keyboard = (Viewbox)target;
         return;
     case 261:
         this.color_area = (System.Windows.Shapes.Rectangle)target;
         return;
     case 262:
         this.left_color = (GradientStop)target;
         return;
     case 263:
         this.left_middle_color = (GradientStop)target;
         return;
     case 264:
         this.middle_left_color = (GradientStop)target;
         return;
     case 265:
         this.middle_right_color = (GradientStop)target;
         return;
     case 266:
         this.right_middle_color = (GradientStop)target;
         return;
     case 267:
         this.right_color = (GradientStop)target;
         return;
     case 268:
         this.kb_right_color = (System.Windows.Shapes.Path)target;
         return;
     case 269:
         this.kb_middle_color = (System.Windows.Shapes.Path)target;
         return;
     case 270:
         this.kb_left_color = (System.Windows.Shapes.Path)target;
         return;
     case 271:
         this.kb_left_outer_frame_blur = (Canvas)target;
         return;
     case 272:
         this.kb_left_outer_frame_solid = (System.Windows.Shapes.Path)target;
         return;
     case 273:
         this.kb_middle_btm_outer_frame_blur = (Canvas)target;
         return;
     case 274:
         this.kb_middle_btm_outer_frame_solid = (System.Windows.Shapes.Path)target;
         return;
     case 275:
         this.kb_middle_top_outer_frame_blur = (Canvas)target;
         return;
     case 276:
         this.kb_middle_top_outer_frame_solid = (System.Windows.Shapes.Path)target;
         return;
     case 277:
         this.kb_right_outer_frame_blur = (Canvas)target;
         return;
     case 278:
         this.kb_right_outer_frame_solid = (System.Windows.Shapes.Path)target;
         return;
     case 279:
         this.kb_black_bg = (System.Windows.Shapes.Path)target;
         return;
     case 280:
         this.kb_buttons = (Canvas)target;
         return;
     case 281:
         this.kb_right_frame_blur = (Canvas)target;
         return;
     case 282:
         this.kb_right_frame_white = (System.Windows.Shapes.Path)target;
         return;
     case 283:
         this.kb_middle_frame_blur = (Canvas)target;
         return;
     case 284:
         this.kb_middle_frame_white = (System.Windows.Shapes.Path)target;
         return;
     case 285:
         this.kb_left_frame_blur = (Canvas)target;
         return;
     case 286:
         this.kb_left_frame_white = (System.Windows.Shapes.Path)target;
         return;
     case 287:
         this.kb_all_blur = (System.Windows.Shapes.Path)target;
         return;
     case 288:
         this.kb_all_frame = (System.Windows.Shapes.Path)target;
         return;
     case 289:
         this.kb_left_frame_sensor = (System.Windows.Shapes.Path)target;
         this.kb_left_frame_sensor.MouseLeftButtonDown += new MouseButtonEventHandler(this.kb_left_frame_sensor_MouseLeftButtonDown);
         return;
     case 290:
         this.kb_middle_frame_sensor = (System.Windows.Shapes.Path)target;
         this.kb_middle_frame_sensor.MouseLeftButtonDown += new MouseButtonEventHandler(this.kb_middle_frame_sensor_MouseLeftButtonDown);
         return;
     case 291:
         this.kb_right_frame_sensor = (System.Windows.Shapes.Path)target;
         this.kb_right_frame_sensor.MouseLeftButtonDown += new MouseButtonEventHandler(this.kb_right_frame_sensor_MouseLeftButtonDown);
         return;
     case 292:
         this.color_ball_right = (Canvas)target;
         return;
     case 293:
         this.ellipse1_Copy = (Ellipse)target;
         return;
     case 294:
         this.colorball_right_1 = (System.Windows.Shapes.Path)target;
         return;
     case 295:
         this.colorball_right_sensor = (Ellipse)target;
         this.colorball_right_sensor.MouseLeftButtonDown += new MouseButtonEventHandler(this.kb_right_frame_sensor_MouseLeftButtonDown);
         return;
     case 296:
         this.color_ball_middle_dual = (Canvas)target;
         return;
     case 297:
         this.colorball_middle_1 = (System.Windows.Shapes.Path)target;
         return;
     case 298:
         this.dual_colorball_gradient_left_left = (GradientStop)target;
         return;
     case 299:
         this.dual_colorball_gradient_left_right = (GradientStop)target;
         return;
     case 300:
         this.dual_colorball_gradient_left_middle_left = (GradientStop)target;
         return;
     case 301:
         this.dual_colorball_gradient_left_middle_right = (GradientStop)target;
         return;
     case 302:
         this.colorball_middle_2 = (System.Windows.Shapes.Path)target;
         return;
     case 303:
         this.dual_colorball_right_right = (GradientStop)target;
         return;
     case 304:
         this.colorball_middle_left_sensor = (Ellipse)target;
         this.colorball_middle_left_sensor.MouseLeftButtonDown += new MouseButtonEventHandler(this.colorball_middle_left_sensor_MouseLeftButtonDown);
         return;
     case 305:
         this.colorball_middle_right_sensor = (Ellipse)target;
         this.colorball_middle_right_sensor.MouseLeftButtonDown += new MouseButtonEventHandler(this.colorball_middle_right_sensor_MouseLeftButtonDown);
         return;
     case 306:
         this.color_ball_middle = (Canvas)target;
         return;
     case 307:
         this.ellipse1_Copy1 = (Ellipse)target;
         return;
     case 308:
         this.colorball_middle = (System.Windows.Shapes.Path)target;
         return;
     case 309:
         this.colorball_middle_sensor = (Ellipse)target;
         this.colorball_middle_sensor.MouseLeftButtonDown += new MouseButtonEventHandler(this.kb_middle_frame_sensor_MouseLeftButtonDown);
         return;
     case 310:
         this.color_ball_left = (Canvas)target;
         return;
     case 311:
         this.ellipse1 = (Ellipse)target;
         return;
     case 312:
         this.colorball_left_1 = (System.Windows.Shapes.Path)target;
         return;
     case 313:
         this.colorball_left_sensor = (Ellipse)target;
         this.colorball_left_sensor.MouseLeftButtonDown += new MouseButtonEventHandler(this.kb_left_frame_sensor_MouseLeftButtonDown);
         return;
     case 314:
         this.bk_white = (Canvas)target;
         return;
     case 315:
         this.圖層_13 = (Canvas)target;
         return;
     case 316:
         this.color_board = (Viewbox)target;
         return;
     case 317:
         this.outter_cycle_frame1 = (Canvas)target;
         return;
     case 318:
         this.outter_middle_cycle_frame1 = (Canvas)target;
         return;
     case 319:
         this.inner_middle_cycle_frame1 = (Canvas)target;
         return;
     case 320:
         this.inner_cycle_frame1 = (Canvas)target;
         return;
     case 321:
         this.outter_cycle_color1 = (Canvas)target;
         return;
     case 322:
         this.red4 = (System.Windows.Shapes.Path)target;
         return;
     case 323:
         this.orange4 = (System.Windows.Shapes.Path)target;
         return;
     case 324:
         this.yellow4 = (System.Windows.Shapes.Path)target;
         return;
     case 325:
         this.green4 = (System.Windows.Shapes.Path)target;
         return;
     case 326:
         this.sky4 = (System.Windows.Shapes.Path)target;
         return;
     case 327:
         this.blue4 = (System.Windows.Shapes.Path)target;
         return;
     case 328:
         this.purple4 = (System.Windows.Shapes.Path)target;
         return;
     case 329:
         ((System.Windows.Shapes.Path)target).MouseLeftButtonDown += new MouseButtonEventHandler(this.red_4_MouseLeftButtonDown);
         return;
     case 330:
         ((System.Windows.Shapes.Path)target).MouseLeftButtonDown += new MouseButtonEventHandler(this.orange_4_MouseLeftButtonDown);
         return;
     case 331:
         ((System.Windows.Shapes.Path)target).MouseLeftButtonDown += new MouseButtonEventHandler(this.yellow_4_MouseLeftButtonDown);
         return;
     case 332:
         ((System.Windows.Shapes.Path)target).MouseLeftButtonDown += new MouseButtonEventHandler(this.green_4_MouseLeftButtonDown);
         return;
     case 333:
         ((System.Windows.Shapes.Path)target).MouseLeftButtonDown += new MouseButtonEventHandler(this.sky_4_MouseLeftButtonDown);
         return;
     case 334:
         ((System.Windows.Shapes.Path)target).MouseLeftButtonDown += new MouseButtonEventHandler(this.blue_4_MouseLeftButtonDown);
         return;
     case 335:
         ((System.Windows.Shapes.Path)target).MouseLeftButtonDown += new MouseButtonEventHandler(this.purple_4_MouseLeftButtonDown);
         return;
     case 336:
         this.outter_cycle_color1_glow = (Canvas)target;
         return;
     case 337:
         this.red4_glow = (System.Windows.Shapes.Path)target;
         return;
     case 338:
         this.orange4_glow = (System.Windows.Shapes.Path)target;
         return;
     case 339:
         this.yellow4_glow = (System.Windows.Shapes.Path)target;
         return;
     case 340:
         this.green4_glow = (System.Windows.Shapes.Path)target;
         return;
     case 341:
         this.sky4_glow = (System.Windows.Shapes.Path)target;
         return;
     case 342:
         this.blue4_glow = (System.Windows.Shapes.Path)target;
         return;
     case 343:
         this.purple4_glow = (System.Windows.Shapes.Path)target;
         return;
     case 344:
         this.outter_middle_cycle_color1 = (Canvas)target;
         return;
     case 345:
         this.red3 = (System.Windows.Shapes.Path)target;
         return;
     case 346:
         this.orange3 = (System.Windows.Shapes.Path)target;
         return;
     case 347:
         this.yellow3 = (System.Windows.Shapes.Path)target;
         return;
     case 348:
         this.green3 = (System.Windows.Shapes.Path)target;
         return;
     case 349:
         this.sky3 = (System.Windows.Shapes.Path)target;
         return;
     case 350:
         this.blue3 = (System.Windows.Shapes.Path)target;
         return;
     case 351:
         this.purple3 = (System.Windows.Shapes.Path)target;
         return;
     case 352:
         ((System.Windows.Shapes.Path)target).MouseLeftButtonDown += new MouseButtonEventHandler(this.red_3_MouseLeftButtonDown);
         return;
     case 353:
         ((System.Windows.Shapes.Path)target).MouseLeftButtonDown += new MouseButtonEventHandler(this.orange_3_MouseLeftButtonDown);
         return;
     case 354:
         ((System.Windows.Shapes.Path)target).MouseLeftButtonDown += new MouseButtonEventHandler(this.yellow_3_MouseLeftButtonDown);
         return;
     case 355:
         ((System.Windows.Shapes.Path)target).MouseLeftButtonDown += new MouseButtonEventHandler(this.green_3_MouseLeftButtonDown);
         return;
     case 356:
         ((System.Windows.Shapes.Path)target).MouseLeftButtonDown += new MouseButtonEventHandler(this.sky_3_MouseLeftButtonDown);
         return;
     case 357:
         ((System.Windows.Shapes.Path)target).MouseLeftButtonDown += new MouseButtonEventHandler(this.blue_3_MouseLeftButtonDown);
         return;
     case 358:
         ((System.Windows.Shapes.Path)target).MouseLeftButtonDown += new MouseButtonEventHandler(this.purple_3_MouseLeftButtonDown);
         return;
     case 359:
         this.outter_middle_cycle_color1_glow = (Canvas)target;
         return;
     case 360:
         this.red3_glow = (System.Windows.Shapes.Path)target;
         return;
     case 361:
         this.orange3_glow = (System.Windows.Shapes.Path)target;
         return;
     case 362:
         this.yellow3_glow = (System.Windows.Shapes.Path)target;
         return;
     case 363:
         this.green3_glow = (System.Windows.Shapes.Path)target;
         return;
     case 364:
         this.sky3_glow = (System.Windows.Shapes.Path)target;
         return;
     case 365:
         this.blue3_glow = (System.Windows.Shapes.Path)target;
         return;
     case 366:
         this.purple3_glow = (System.Windows.Shapes.Path)target;
         return;
     case 367:
         this.inner_middle_cycle_color1 = (Canvas)target;
         return;
     case 368:
         this.red2 = (System.Windows.Shapes.Path)target;
         return;
     case 369:
         this.orange2 = (System.Windows.Shapes.Path)target;
         return;
     case 370:
         this.yellow2 = (System.Windows.Shapes.Path)target;
         return;
     case 371:
         this.green2 = (System.Windows.Shapes.Path)target;
         return;
     case 372:
         this.sky2 = (System.Windows.Shapes.Path)target;
         return;
     case 373:
         this.blue2 = (System.Windows.Shapes.Path)target;
         return;
     case 374:
         this.purple2 = (System.Windows.Shapes.Path)target;
         return;
     case 375:
         ((System.Windows.Shapes.Path)target).MouseLeftButtonDown += new MouseButtonEventHandler(this.red_2_MouseLeftButtonDown);
         return;
     case 376:
         ((System.Windows.Shapes.Path)target).MouseLeftButtonDown += new MouseButtonEventHandler(this.orange_2_MouseLeftButtonDown);
         return;
     case 377:
         ((System.Windows.Shapes.Path)target).MouseLeftButtonDown += new MouseButtonEventHandler(this.yellow_2_MouseLeftButtonDown);
         return;
     case 378:
         ((System.Windows.Shapes.Path)target).MouseLeftButtonDown += new MouseButtonEventHandler(this.green_2_MouseLeftButtonDown);
         return;
     case 379:
         ((System.Windows.Shapes.Path)target).MouseLeftButtonDown += new MouseButtonEventHandler(this.sky_2_MouseLeftButtonDown);
         return;
     case 380:
         ((System.Windows.Shapes.Path)target).MouseLeftButtonDown += new MouseButtonEventHandler(this.blue_2_MouseLeftButtonDown);
         return;
     case 381:
         ((System.Windows.Shapes.Path)target).MouseLeftButtonDown += new MouseButtonEventHandler(this.purple_2_MouseLeftButtonDown);
         return;
     case 382:
         this.inner_middle_cycle_color1_glow = (Canvas)target;
         return;
     case 383:
         this.red2_glow = (System.Windows.Shapes.Path)target;
         return;
     case 384:
         this.orange2_glow = (System.Windows.Shapes.Path)target;
         return;
     case 385:
         this.yellow2_glow = (System.Windows.Shapes.Path)target;
         return;
     case 386:
         this.green2_glow = (System.Windows.Shapes.Path)target;
         return;
     case 387:
         this.sky2_glow = (System.Windows.Shapes.Path)target;
         return;
     case 388:
         this.blue2_glow = (System.Windows.Shapes.Path)target;
         return;
     case 389:
         this.purple2_glow = (System.Windows.Shapes.Path)target;
         return;
     case 390:
         this.inner_cycle_color1 = (Canvas)target;
         return;
     case 391:
         this.red1 = (System.Windows.Shapes.Path)target;
         return;
     case 392:
         this.orange1 = (System.Windows.Shapes.Path)target;
         return;
     case 393:
         this.yellow1 = (System.Windows.Shapes.Path)target;
         return;
     case 394:
         this.green1 = (System.Windows.Shapes.Path)target;
         return;
     case 395:
         this.sky1 = (System.Windows.Shapes.Path)target;
         return;
     case 396:
         this.blue1 = (System.Windows.Shapes.Path)target;
         return;
     case 397:
         this.purple1 = (System.Windows.Shapes.Path)target;
         return;
     case 398:
         ((System.Windows.Shapes.Path)target).MouseLeftButtonDown += new MouseButtonEventHandler(this.red_1_MouseLeftButtonDown);
         return;
     case 399:
         ((System.Windows.Shapes.Path)target).MouseLeftButtonDown += new MouseButtonEventHandler(this.orange_1_MouseLeftButtonDown);
         return;
     case 400:
         ((System.Windows.Shapes.Path)target).MouseLeftButtonDown += new MouseButtonEventHandler(this.yellow_1_MouseLeftButtonDown);
         return;
     case 401:
         ((System.Windows.Shapes.Path)target).MouseLeftButtonDown += new MouseButtonEventHandler(this.green_1_MouseLeftButtonDown);
         return;
     case 402:
         ((System.Windows.Shapes.Path)target).MouseLeftButtonDown += new MouseButtonEventHandler(this.sky_1_MouseLeftButtonDown);
         return;
     case 403:
         ((System.Windows.Shapes.Path)target).MouseLeftButtonDown += new MouseButtonEventHandler(this.blue_2_MouseLeftButtonDown);
         return;
     case 404:
         ((System.Windows.Shapes.Path)target).MouseLeftButtonDown += new MouseButtonEventHandler(this.purple_1_MouseLeftButtonDown);
         return;
     case 405:
         this.inner_cycle_color1_glow = (Canvas)target;
         return;
     case 406:
         this.red1_glow = (System.Windows.Shapes.Path)target;
         return;
     case 407:
         this.orange1_glow = (System.Windows.Shapes.Path)target;
         return;
     case 408:
         this.yellow1_glow = (System.Windows.Shapes.Path)target;
         return;
     case 409:
         this.green1_glow = (System.Windows.Shapes.Path)target;
         return;
     case 410:
         this.sky1_glow = (System.Windows.Shapes.Path)target;
         return;
     case 411:
         this.blue1_glow = (System.Windows.Shapes.Path)target;
         return;
     case 412:
         this.purple1_glow = (System.Windows.Shapes.Path)target;
         return;
     case 413:
         this.outter_cycle_sensor = (Canvas)target;
         return;
     case 414:
         this.red5 = (Canvas)target;
         return;
     case 415:
         this.red_5 = (System.Windows.Shapes.Path)target;
         this.red_5.MouseLeftButtonDown += new MouseButtonEventHandler(this.red_4_MouseLeftButtonDown);
         return;
     case 416:
         this.orange5 = (Canvas)target;
         return;
     case 417:
         this.orange_5 = (System.Windows.Shapes.Path)target;
         this.orange_5.MouseLeftButtonDown += new MouseButtonEventHandler(this.orange_4_MouseLeftButtonDown);
         return;
     case 418:
         this.yellow5 = (Canvas)target;
         return;
     case 419:
         this.yellow_5 = (System.Windows.Shapes.Path)target;
         this.yellow_5.MouseLeftButtonDown += new MouseButtonEventHandler(this.yellow_4_MouseLeftButtonDown);
         return;
     case 420:
         this.green5 = (Canvas)target;
         return;
     case 421:
         this.green_5 = (System.Windows.Shapes.Path)target;
         this.green_5.MouseLeftButtonDown += new MouseButtonEventHandler(this.green_4_MouseLeftButtonDown);
         return;
     case 422:
         this.sky5 = (Canvas)target;
         return;
     case 423:
         this.sky_5 = (System.Windows.Shapes.Path)target;
         this.sky_5.MouseLeftButtonDown += new MouseButtonEventHandler(this.sky_4_MouseLeftButtonDown);
         return;
     case 424:
         this.blue5 = (Canvas)target;
         return;
     case 425:
         this.blue_5 = (System.Windows.Shapes.Path)target;
         this.blue_5.MouseLeftButtonDown += new MouseButtonEventHandler(this.blue_4_MouseLeftButtonDown);
         return;
     case 426:
         this.purple5 = (Canvas)target;
         return;
     case 427:
         this.purple_5 = (System.Windows.Shapes.Path)target;
         this.purple_5.MouseLeftButtonDown += new MouseButtonEventHandler(this.purple_4_MouseLeftButtonDown);
         return;
     case 428:
         this.outter_middle_cycle_sensor = (Canvas)target;
         return;
     case 429:
         this.red6 = (Canvas)target;
         return;
     case 430:
         this.red_6 = (System.Windows.Shapes.Path)target;
         this.red_6.MouseLeftButtonDown += new MouseButtonEventHandler(this.red_3_MouseLeftButtonDown);
         return;
     case 431:
         this.orange6 = (Canvas)target;
         return;
     case 432:
         this.orange_6 = (System.Windows.Shapes.Path)target;
         this.orange_6.MouseLeftButtonDown += new MouseButtonEventHandler(this.orange_3_MouseLeftButtonDown);
         return;
     case 433:
         this.yellow6 = (Canvas)target;
         return;
     case 434:
         this.yellow_6 = (System.Windows.Shapes.Path)target;
         this.yellow_6.MouseLeftButtonDown += new MouseButtonEventHandler(this.yellow_3_MouseLeftButtonDown);
         return;
     case 435:
         this.green6 = (Canvas)target;
         return;
     case 436:
         this.green_6 = (System.Windows.Shapes.Path)target;
         this.green_6.MouseLeftButtonDown += new MouseButtonEventHandler(this.green_3_MouseLeftButtonDown);
         return;
     case 437:
         this.sky6 = (Canvas)target;
         return;
     case 438:
         this.sky_6 = (System.Windows.Shapes.Path)target;
         this.sky_6.MouseLeftButtonDown += new MouseButtonEventHandler(this.sky_3_MouseLeftButtonDown);
         return;
     case 439:
         this.blue6 = (Canvas)target;
         return;
     case 440:
         this.blue_6 = (System.Windows.Shapes.Path)target;
         this.blue_6.MouseLeftButtonDown += new MouseButtonEventHandler(this.blue_3_MouseLeftButtonDown);
         return;
     case 441:
         this.purple6 = (Canvas)target;
         return;
     case 442:
         this.purple_6 = (System.Windows.Shapes.Path)target;
         this.purple_6.MouseLeftButtonDown += new MouseButtonEventHandler(this.purple_3_MouseLeftButtonDown);
         return;
     case 443:
         this.inner_middle_cycle_sensor = (Canvas)target;
         return;
     case 444:
         this.red7 = (Canvas)target;
         return;
     case 445:
         this.red_7 = (System.Windows.Shapes.Path)target;
         this.red_7.MouseLeftButtonDown += new MouseButtonEventHandler(this.red_2_MouseLeftButtonDown);
         return;
     case 446:
         this.orange7 = (Canvas)target;
         return;
     case 447:
         this.orange_7 = (System.Windows.Shapes.Path)target;
         this.orange_7.MouseLeftButtonDown += new MouseButtonEventHandler(this.orange_2_MouseLeftButtonDown);
         return;
     case 448:
         this.yellow7 = (Canvas)target;
         return;
     case 449:
         this.yellow_7 = (System.Windows.Shapes.Path)target;
         this.yellow_7.MouseLeftButtonDown += new MouseButtonEventHandler(this.yellow_2_MouseLeftButtonDown);
         return;
     case 450:
         this.green7 = (Canvas)target;
         return;
     case 451:
         this.green_7 = (System.Windows.Shapes.Path)target;
         this.green_7.MouseLeftButtonDown += new MouseButtonEventHandler(this.green_2_MouseLeftButtonDown);
         return;
     case 452:
         this.sky7 = (Canvas)target;
         return;
     case 453:
         this.sky_7 = (System.Windows.Shapes.Path)target;
         this.sky_7.MouseLeftButtonDown += new MouseButtonEventHandler(this.sky_2_MouseLeftButtonDown);
         return;
     case 454:
         this.blue7 = (Canvas)target;
         return;
     case 455:
         this.blue_7 = (System.Windows.Shapes.Path)target;
         this.blue_7.MouseLeftButtonDown += new MouseButtonEventHandler(this.blue_2_MouseLeftButtonDown);
         return;
     case 456:
         this.purple7 = (Canvas)target;
         return;
     case 457:
         this.purple_7 = (System.Windows.Shapes.Path)target;
         this.purple_7.MouseLeftButtonDown += new MouseButtonEventHandler(this.purple_2_MouseLeftButtonDown);
         return;
     case 458:
         this.inner_cycle_sensor = (Canvas)target;
         return;
     case 459:
         this.red8 = (Canvas)target;
         return;
     case 460:
         this.red_8 = (System.Windows.Shapes.Path)target;
         this.red_8.MouseLeftButtonDown += new MouseButtonEventHandler(this.red_1_MouseLeftButtonDown);
         return;
     case 461:
         this.orange8 = (Canvas)target;
         return;
     case 462:
         this.orange_8 = (System.Windows.Shapes.Path)target;
         this.orange_8.MouseLeftButtonDown += new MouseButtonEventHandler(this.orange_1_MouseLeftButtonDown);
         return;
     case 463:
         this.yellow8 = (Canvas)target;
         return;
     case 464:
         this.yellow_8 = (System.Windows.Shapes.Path)target;
         this.yellow_8.MouseLeftButtonDown += new MouseButtonEventHandler(this.yellow_1_MouseLeftButtonDown);
         return;
     case 465:
         this.green8 = (Canvas)target;
         return;
     case 466:
         this.green_8 = (System.Windows.Shapes.Path)target;
         this.green_8.MouseLeftButtonDown += new MouseButtonEventHandler(this.green_1_MouseLeftButtonDown);
         return;
     case 467:
         this.sky8 = (Canvas)target;
         return;
     case 468:
         this.sky_8 = (System.Windows.Shapes.Path)target;
         this.sky_8.MouseLeftButtonDown += new MouseButtonEventHandler(this.sky_1_MouseLeftButtonDown);
         return;
     case 469:
         this.blue8 = (Canvas)target;
         return;
     case 470:
         this.blue_8 = (System.Windows.Shapes.Path)target;
         this.blue_8.MouseLeftButtonDown += new MouseButtonEventHandler(this.blue_1_MouseLeftButtonDown);
         return;
     case 471:
         this.purple8 = (Canvas)target;
         return;
     case 472:
         this.purple_8 = (System.Windows.Shapes.Path)target;
         this.purple_8.MouseLeftButtonDown += new MouseButtonEventHandler(this.purple_1_MouseLeftButtonDown);
         return;
     case 473:
         this.white = (Canvas)target;
         this.white.MouseLeftButtonDown += new MouseButtonEventHandler(this.white_MouseLeftButtonDown);
         return;
     case 474:
         this.center_ball1 = (System.Windows.Shapes.Path)target;
         return;
     case 475:
         this.color_swatch_shadow = (Canvas)target;
         return;
     case 476:
         this.color_swatch_single = (Canvas)target;
         return;
     case 477:
         this.圖層_18 = (Canvas)target;
         return;
     case 478:
         this.white_Copy = (Canvas)target;
         this.white_Copy.MouseLeftButtonDown += new MouseButtonEventHandler(this.white_MouseLeftButtonDown);
         return;
     case 479:
         this.center_ball2 = (System.Windows.Shapes.Path)target;
         return;
     case 480:
         this._8ColorSwatchControl_ = (_ColorSwatchControl)target;
         return;
     case 481:
         this.red = (System.Windows.Shapes.Path)target;
         return;
     case 482:
         this.orange = (System.Windows.Shapes.Path)target;
         return;
     case 483:
         this.yellow = (System.Windows.Shapes.Path)target;
         return;
     case 484:
         this.green = (System.Windows.Shapes.Path)target;
         return;
     case 485:
         this.sky = (System.Windows.Shapes.Path)target;
         return;
     case 486:
         this.blue = (System.Windows.Shapes.Path)target;
         return;
     case 487:
         this.purple = (System.Windows.Shapes.Path)target;
         return;
     case 488:
         this.red_glow = (System.Windows.Shapes.Path)target;
         return;
     case 489:
         this.orange_glow = (System.Windows.Shapes.Path)target;
         return;
     case 490:
         this.yellow_glow = (System.Windows.Shapes.Path)target;
         return;
     case 491:
         this.green_glow = (System.Windows.Shapes.Path)target;
         return;
     case 492:
         this.sky_glow = (System.Windows.Shapes.Path)target;
         return;
     case 493:
         this.blue_glow = (System.Windows.Shapes.Path)target;
         return;
     case 494:
         this.purple_glow = (System.Windows.Shapes.Path)target;
         return;
     case 495:
         this.red_shadow = (System.Windows.Shapes.Path)target;
         this.red_shadow.MouseLeftButtonDown += new MouseButtonEventHandler(this.red_shadow_MouseLeftButtonDown);
         return;
     case 496:
         this.orange_shadow = (System.Windows.Shapes.Path)target;
         this.orange_shadow.MouseLeftButtonDown += new MouseButtonEventHandler(this.orange_shadow_MouseLeftButtonDown);
         return;
     case 497:
         this.yellow_shadow = (System.Windows.Shapes.Path)target;
         this.yellow_shadow.MouseLeftButtonDown += new MouseButtonEventHandler(this.yellow_shadow_MouseLeftButtonDown);
         return;
     case 498:
         this.green_shadow = (System.Windows.Shapes.Path)target;
         this.green_shadow.MouseLeftButtonDown += new MouseButtonEventHandler(this.green_shadow_MouseLeftButtonDown);
         return;
     case 499:
         this.sky_shadow = (System.Windows.Shapes.Path)target;
         this.sky_shadow.MouseLeftButtonDown += new MouseButtonEventHandler(this.sky_shadow_MouseLeftButtonDown);
         return;
     case 500:
         this.blue_shadow = (System.Windows.Shapes.Path)target;
         this.blue_shadow.MouseLeftButtonDown += new MouseButtonEventHandler(this.blue_shadow_MouseLeftButtonDown);
         return;
     case 501:
         this.purple_shadow = (System.Windows.Shapes.Path)target;
         this.purple_shadow.MouseLeftButtonDown += new MouseButtonEventHandler(this.purple_shadow_MouseLeftButtonDown);
         return;
     case 502:
         this.close_btn = (Canvas)target;
         this.close_btn.MouseEnter += new System.Windows.Input.MouseEventHandler(this.close_btn_MouseEnter);
         this.close_btn.MouseLeave += new System.Windows.Input.MouseEventHandler(this.close_btn_MouseLeave);
         this.close_btn.MouseLeftButtonDown += new MouseButtonEventHandler(this.close_btn_MouseLeftButtonDown);
         return;
     case 503:
         this.圖層_14 = (Canvas)target;
         return;
     case 504:
         this.ellipse = (Ellipse)target;
         return;
     case 505:
         this.keyboard_lock = (Canvas)target;
         this.keyboard_lock.MouseLeftButtonDown += new MouseButtonEventHandler(this.keyboard_lock_MouseLeftButtonDown);
         return;
     case 506:
         this.圖層_15 = (Canvas)target;
         return;
     case 507:
         this.ellipse_Copy1 = (Ellipse)target;
         return;
     case 508:
         this.ellipse3 = (Ellipse)target;
         return;
     case 509:
         this.keyboard_unlock = (Canvas)target;
         this.keyboard_unlock.MouseLeftButtonDown += new MouseButtonEventHandler(this.keyboard_unlock_MouseLeftButtonDown);
         return;
     case 510:
         this.圖層_16 = (Canvas)target;
         return;
     case 511:
         this.ellipse_Copy = (Ellipse)target;
         return;
     default:
         this._contentLoaded = true;
         return;
     }
 }