Пример #1
0
 /// <summary>
 /// return true if it is left click on close button
 /// </summary>
 /// <param name="nCMouseEventArgs"></param>
 /// <returns></returns>
 private bool IsClickOnCloseButton(NCMouseEventArgs nCMouseEventArgs)
 {
     return(nCMouseEventArgs.HitTest == NativeWindowCommon.HTCLOSE && nCMouseEventArgs.Button == MouseButtons.Left);
 }
Пример #2
0
 internal void NCMouseDownHandler(Object sender, NCMouseEventArgs e)
 {
     handleEvent(EventType.NCMOUSE_DOWN, sender, e);
 }