CTCOfficeGUI.TrainGraphic.OnPictureBoxClicked C# (CSharp) Méthode

OnPictureBoxClicked() private méthode

Catch and rethrow the click event (necessary for some reason)
private OnPictureBoxClicked ( object sender, EventArgs e ) : void
sender object Sender of the event
e EventArgs Event arguments
Résultat void
        private void OnPictureBoxClicked(object sender, EventArgs e)
        {
            if (TrainClicked != null)
            {
                TrainClicked(this, e);
            }
        }