Метод | Описание | |
---|---|---|
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
|
Метод | Описание | |
---|---|---|
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 |
Результат | bool |
public TrainGraphic ( ITrain train ) : System | ||
train | ITrain | |
Результат | System |