コード例 #1
0
        /// <summary>
        /// Inits everything and starts the tracking engine.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        void Window_Loaded(object sender, RoutedEventArgs e)
        {
            framework = TrackingHelper.GetTracking(canvas1, currentTrackingType);
            framework.OnProcessUpdates += new FrameworkControl.ProcessUpdatesDelegate(this.DisplayPoints);
            framework.Start();

            window      = this; //윈도우 등록
            MainElement = canvas1;

            startThread.start();

            Jobs.Instance.setInit(canvas1, this, framework, new SmartArea());



            //if (AppConfig.StartFullscreen) toggleFullscreen();
//
//             this.canvas1.Width = this.Width;
//             this.canvas1.Height = this.Height;

            takeBackground();

            addControl();
            //canvas1.Children.Add(p);
//
//             LoadMyPictures();
//             LoadMyVideos();
//             LoadAllFeeds();
//
            //PosAll();
            //DelayedRotate(4000);
        }
コード例 #2
0
        /// <summary>
        /// Inits everything and starts the tracking engine.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        void Window_Loaded(object sender, RoutedEventArgs e)
        {
            framework = TrackingHelper.GetTracking(canvas1, currentTrackingType);
            framework.OnProcessUpdates += new FrameworkControl.ProcessUpdatesDelegate(this.DisplayPoints);
            framework.Start();

            if (AppConfig.StartFullscreen)
            {
                toggleFullscreen();
            }

            this.canvas1.Width  = this.Width;
            this.canvas1.Height = this.Height;

            takeBackground();

            LoadMyPictures();
            LoadMyVideos();
            LoadAllFeeds();

            PosAll();
            //DelayedRotate(4000);
        }