CTCOfficeGUI.TrackBlockGraphic.OnClick C# (CSharp) Method

OnClick() private method

Catch and rethrow of the click event. Necessary to allow picture boxes to throw the click event as well
private OnClick ( object sender, EventArgs e ) : void
sender object Sender of the event
e System.EventArgs Event arguments
return void
        private void OnClick(object sender, EventArgs e)
        {
            if (TrackBlockClicked != null)
            {
                TrackBlockClicked(this, e);
            }
        }