protected override void OnMouseUp(MouseEventArgs e) { base.OnMouseUp(e); bIsMouseDown = false; m_WndMove = false; if (bIsMouseOverClose) { Hide(); CloseClick?.Invoke(this, new EventArgs()); } else if (bIsMouseOverTitle) { TitleClick?.Invoke(this, new EventArgs()); } else if (bIsMouseOverContent) { ContentClick?.Invoke(this, new EventArgs()); } }
protected virtual void OnTitleClick(EventArgs e) { TitleClick?.Invoke(this, e); }