예제 #1
0
 private void subjectDisplayOuter_MouseEnter(object sender, MouseEventArgs e)
 {
     if (tooltip == null || !tooltip.IsOpen)
     {
         tooltip = new ApptToolTip(_appointment, this);
     }
     else if (tooltip != null)
     {
         tooltip.ResetTimer();
     }
 }
예제 #2
0
        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();
            }
        }