void nsITooltipListener.OnShowTooltip(int aXCoords, int aYCoords, string aTipText) { ToolTip = new ToolTipWindow(); ToolTip.Location = PointToScreen(new Point(aXCoords, aYCoords)) + new Size(0, 24); ToolTip.Text = aTipText; ToolTip.Show(); }
void nsITooltipListener.OnShowTooltip(int aXCoords, int aYCoords, string aTipText) { if (true.Equals(GeckoPreferences.User["browser.chrome.toolbar_tips"])) { ToolTip = new ToolTipWindow(); ToolTip.Show(aTipText, this, new Point(aXCoords, aYCoords + 24)); } }