/// <summary> /// Raises the Initialized event. /// </summary> /// <param name="e">The <see cref="InitializeEventArgs"/> object containing the event data</param> protected virtual void OnInitialized(InitializeEventArgs e) { EventHandler <InitializeEventArgs> temp = Initialized; if (temp != null) { temp(this, e); } }
private void raceControl_Initialized(object sender, InitializeEventArgs e) { // called when LFS is connected UpdateUI(); }