Пример #1
0
 /// <summary>
 /// Should a mouse down at the provided point cause it to become the current tracking popup.
 /// </summary>
 /// <param name="m">Original message.</param>
 /// <param name="pt">Client coordinates point.</param>
 /// <returns>True to become current; otherwise false.</returns>
 public bool DoesStackedClientMouseDownBecomeCurrent(Message m, Point pt)
 {
     // Do we have a current target we can ask?
     if (_target != null)
     {
         return(_target.DoesStackedClientMouseDownBecomeCurrent(pt));
     }
     else
     {
         return(true);
     }
 }
 /// <summary>
 /// Should a mouse down at the provided point cause it to become the current tracking popup.
 /// </summary>
 /// <param name="m">Original message.</param>
 /// <param name="pt">Client coordinates point.</param>
 /// <returns>True to become current; otherwise false.</returns>
 public bool DoesStackedClientMouseDownBecomeCurrent(Message m, Point pt) =>
 // Do we have a current target we can ask?
 _target?.DoesStackedClientMouseDownBecomeCurrent(pt) ?? true;