Paint.BaseGame.Initialize C# (CSharp) Method

Initialize() protected method

Enable the capturing of gestures on the device
protected Initialize ( ) : void
return void
        protected override void Initialize()
        {
            // Enable the gestures we care about. You must set EnabledGestures before
            // you can use any of the other gesture APIs.
            TouchPanel.EnabledGestures =
                GestureType.Tap |
                    GestureType.FreeDrag |
                    GestureType.DragComplete;

            base.Initialize();
        }