コード例 #1
0
ファイル: App1.cs プロジェクト: ebehesht/NetTangoDevel
        protected override void Initialize()
        {
            SetWindowOnSurface();
            InitializeSurfaceInput();

            // Subscribe to surface application activation events
            ApplicationServices.WindowInteractive    += OnWindowInteractive;
            ApplicationServices.WindowNoninteractive += OnWindowNoninteractive;
            ApplicationServices.WindowUnavailable    += OnWindowUnavailable;

            base.Initialize();

            eventSender = new SurfaceEventSender();
            eventSender.InitializeSocketCommunication(GetIntProperty("surface.port"));
        }
コード例 #2
0
ファイル: App1.cs プロジェクト: NetTango/NetTangoDevel
        protected override void Initialize()
        {
            SetWindowOnSurface();
            InitializeSurfaceInput();

            // Subscribe to surface application activation events
            ApplicationServices.WindowInteractive += OnWindowInteractive;
            ApplicationServices.WindowNoninteractive += OnWindowNoninteractive;
            ApplicationServices.WindowUnavailable += OnWindowUnavailable;

            base.Initialize();

            eventSender = new SurfaceEventSender();
            eventSender.InitializeSocketCommunication(GetIntProperty("surface.port"));
        }