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

_toolTipRtfListOfSearches_Popup() private method

Popup Event to size the pop-up.
private _toolTipRtfListOfSearches_Popup ( object sender, System.Windows.Forms.PopupEventArgs e ) : void
sender object
e System.Windows.Forms.PopupEventArgs
return void
        private void _toolTipRtfListOfSearches_Popup(object sender, PopupEventArgs e)
        {
            // Determine the correct size (don't use balloon)
            using (Font f = new Font("Courier New", 10))
            {
                e.ToolTipSize = TextRenderer.MeasureText(
                    _toolTipRtfListOfSearches.GetToolTip(e.AssociatedControl), f);
            }
        }
        /// <summary>
AddinControlGui