Blink() public method

Causes the graphic to "blink" to show as selected
public Blink ( ) : void
return void
Ejemplo n.º 1
0
 /// <summary>
 /// Event handler for the blink event
 /// </summary>
 /// <param name="sender">Sender of the event</param>
 /// <param name="e">Event Arguments</param>
 private void OnBlinkTimerTick(object sender, EventArgs e)
 {
     if (m_selectedTrackBlock != null)
     {
         m_selectedTrackBlock.Blink();
     }
     if (m_selectedTrain != null)
     {
         m_selectedTrain.Blink();
     }
 }
 public void BlinkTest1()
 {
     TrackBlock block = null; // TODO: Initialize to an appropriate value
     double scale = 0F; // TODO: Initialize to an appropriate value
     TrackBlockGraphic target = new TrackBlockGraphic(block, scale); // TODO: Initialize to an appropriate value
     target.Blink();
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }