private void CreateTooltipWindows() { window = new SuperToolTipWindow(); window.MouseLeave += OnToolTipMouseLeave; winData = new SuperToolTipWindowData(); winData.SizeChanged += OnWindowSizeChanged; window.Controls.Add(winData); }
private void CloseTooltip() { fadingTimer.Stop(); window.MouseLeave -= OnToolTipMouseLeave; window.Hide(); window.Close(); window = null; CreateTooltipWindows(); }