private void initialize() { confService = SpringUtil.getService<IConfigService>(); confService.ReadConfigFromFile(); sensorService = SpringUtil.getService<ISensorService>(); skeletonService = SpringUtil.getService<ISkeletonService>(); gestureService = SpringUtil.getService<IGestureService>(); updateTimer = new DispatcherTimer(DispatcherPriority.SystemIdle); updateTimer.Tick += new EventHandler(updateTimer_Tick); updateTimer.Interval = TimeSpan.FromMilliseconds(INTERVAL); updateTimer.Start(); highlightView = new HighlightView(SENSOR_IDX); highlightView.Show(); bubble_settingsControl.InitCloseAnimation(story_hide_settings_bubble_BeginStoryboard.Storyboard, this); }