Habanero.Faces.Win.GridBaseWin.DoubleClickHandler C# (CSharp) Method

DoubleClickHandler() private method

Handles the event of a double-click
private DoubleClickHandler ( object sender, EventArgs e ) : void
sender object The object that notified of the event
e System.EventArgs Attached arguments regarding the event
return void
        private void DoubleClickHandler(object sender, EventArgs e)
        {
            try
            {
                Point pt = this.PointToClient(Cursor.Position);
                HitTestInfo hti = this.HitTest(pt.X, pt.Y);
                if (hti.Type == DataGridViewHitTestType.Cell)
                {
                    FireRowDoubleClicked(SelectedBusinessObject);
                }
            }
            catch (Exception ex)
            {
                GlobalRegistry.UIExceptionNotifier.Notify(ex, "", "Error ");
            }
        }