MoveGesture gestureControl;// = new MoveGesture(Dispatcher);

        public AddGesturePage()
        {
            gestureControl = new MoveGesture();// new MoveGesture(Dispatcher);

            InitializeComponent();
            gestureControl.onSingleGestureEvent += onGesture_Event;
        }
예제 #2
0
        public GestureMainPage()
        {
            gestureControl = new MoveGesture();//(Dispatcher);

            InitializeComponent();

            InitializeSettings();

            (Application.Current as App).RootFrame.Obscured   += OnObscured;
            (Application.Current as App).RootFrame.Unobscured += OnUnobscured;

            Debug.writeToIO("GesMainPage Constructor");
            phoneNumberChooserTask.Completed    += new EventHandler <PhoneNumberResult>(phoneNumberChooserTask_Completed);
            gestureControl.onMultiGesturesEvent += onMultiGestures_Event;
        }