Method | Description | |
---|---|---|
Blink ( ) : void |
Causes the graphic to "blink" to show as selected
|
|
SetScale ( double scale ) : bool |
Sets the scale of the train relative to the screen Scale is represented as a ratio of the original size to the new size |
|
StopBlinking ( ) : void |
Causes the graphic to stop blinking
|
|
TrainGraphic ( ITrain train ) : System |
Default constructor
|
Method | Description | |
---|---|---|
OnPictureBoxClicked ( object sender, EventArgs e ) : void |
Catch and rethrow the click event (necessary for some reason)
|
public SetScale ( double scale ) : bool | ||
scale | double | Scale to display |
return | bool |
public TrainGraphic ( ITrain train ) : System | ||
train | ITrain | |
return | System |