private void subjectDisplayOuter_MouseEnter(object sender, MouseEventArgs e) { if (tooltip == null || !tooltip.IsOpen) { tooltip = new ApptToolTip(_appointment, this); } else if (tooltip != null) { tooltip.ResetTimer(); } }
protected override void OnMouseEnter(MouseEventArgs e) { base.OnMouseEnter(e); if ((tooltip == null || !tooltip.IsOpen) && !_inEditMode && Opacity != 0) { tooltip = new ApptToolTip(_appointment, this); } else if (tooltip != null) { tooltip.ResetTimer(); } }