Tinkr2/4.2/AphelionCore/AphelionCommonControls/Controls/Filebox.cs
/// <summary>
/// Override this message to handle touch events internally.
/// </summary>
/// <param name="sender">Object sending the event</param>
/// <param name="point">Point on screen touch event is occurring</param>
/// <param name="handled">true if the event is handled. Set to true if handled.</param>
/// <remarks>
/// If a column was hit on touch down the width of the column is changed
/// </remarks>
Override this message to handle touch events internally.
Override this message to handle touch events internally .
protected override void TouchMoveMessage(object sender, point point, ref bool handled)
      {
         if (_colDown != -1 && _colDown < _cols.Length)
         {
            _cols[_colDown].Width = Math.Max(_cols[_colDown].Width + point.X - LastTouch.X, 10);
            LastTouch = point;
            Invalidate();
         }
         base.TouchMoveMessage(sender, point, ref handled);
      }
protected override void TouchMoveMessage ( object sender , point point , ref bool handled ) { if ( _colDown != - 1 && _colDown < _cols . Length ) { _cols [ _colDown ] . Width = Math . Max ( _cols [ _colDown ] . Width + point . X - LastTouch . X , 10 ) ; LastTouch = point ; Invalidate ( ) ; } base . TouchMoveMessage ( sender , point , ref handled ) ; }
Override this message to handle touch events internally.
Override this message to handle touch events internally .
sender
object
Object sending the event
Object sending the event
point
point
Point on screen touch event is occurring
Point on screen touch event is occurring
bool
ref
<not_specific>
handled
<not_specific>
true if the event is handled. Set to true if handled.
true if the event is handled . Set to true if handled .
remarks
If a column was hit on touch down the width of the column is changed
If a column was hit on touch down the width of the column is changed