hoTools.ActiveX.AddinControlGui.rtfListOfSearches_MouseDown C# (CSharp) Method

rtfListOfSearches_MouseDown() private method

Mouse down on the rtf search list displays the comment
private rtfListOfSearches_MouseDown ( object sender, MouseEventArgs e ) : void
sender object
e MouseEventArgs
return void
        private void rtfListOfSearches_MouseDown(object sender, MouseEventArgs e)
        {
            RichTextBox rtf = (sender as RichTextBox);
            if (rtf == _rtfListOfSearches)
            {
                int line = GetLineForRtf(rtf);
                SearchItem searchItem = Search.GetSearch(line);

               Point locationMouse = e.Location;
               _toolTipRtfListOfSearches.Show(
                    searchItem.Description,
                    _rtfListOfSearches,
                locationMouse.X + e.X - 60,
                locationMouse.Y + e.Y + 15);
                
            }

        }
        
AddinControlGui