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()); } }
public void RaiseContentClick(DataGridViewCellEventArgs e) { ContentClick?.Invoke(DataGridView, e); }