コード例 #1
0
        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());
            }
        }
コード例 #2
0
 public void RaiseContentClick(DataGridViewCellEventArgs e)
 {
     ContentClick?.Invoke(DataGridView, e);
 }