Exemplo n.º 1
0
 private void CloseTooltip()
 {
     // Since we reuse one actual tooltip window, closing the tooltip involves
     // hiding the window and resetting the internal control that actually
     // displays the data.
     fadingTimer.Stop();
     window.Hide();
     winData.SizeChanged -= OnWinDataSizeChanged;
     window.Controls.Remove(winData);
     winData.Dispose();
     winData = null;
     CreateOrInitTooltipWindow();
 }
Exemplo n.º 2
0
 private void CloseTooltip()
 {
     fadingTimer.Stop();
     window.MouseLeave -= OnToolTipMouseLeave;
     window.Hide();
     window.Close();
     window = null;
     CreateTooltipWindows();
 }