Tinkr2/4.2/AphelionCore/AphelionCommonControls/Controls/Containers/Form.cs
/// <summary>
/// Override this message to handle touch events internally.
/// </summary>
/// <param name="sender">Object sending the event</param>
/// <param name="type">Type of touch gesture</param>
/// <param name="force">Force associated with gesture (0.0 to 1.0)</param>
/// <param name="handled">true if the event is handled. Set to true if handled.</param>
/// <remarks>
/// Forwards the message to <see cref="Container.ActiveChild"/>
/// </remarks>
Override this message to handle touch events internally.
Override this message to handle touch events internally .
protected override void TouchGestureMessage(object sender, TouchType type, float force, ref bool handled)
      {
         if (ActiveChild != null)
         {
            handled = true;
            ActiveChild.SendTouchGesture(sender, type, force);
         }
      }
protected override void TouchGestureMessage ( object sender , TouchType type , float force , ref bool handled ) { if ( ActiveChild != null ) { handled = true ; ActiveChild . SendTouchGesture ( sender , type , force ) ; } }
Override this message to handle touch events internally.
Override this message to handle touch events internally .
//TODO: check if this code shouldn't go to Container
sender
object
Object sending the event
Object sending the event
type
TouchType
Type of touch gesture
Type of touch gesture
force
float
None
bool
ref
handled
true if the event is handled. Set to true if handled.
true if the event is handled . Set to true if handled .
remarks
Forwards the message to
Forwards the message to