public void Play() { if (PlayerState == PlayerState.uninitialised) { LoadFile(); } if (PlayerState == PlayerState.loaded) { PlayFromStart(); ReportStatus?.Invoke(this, new StatusEventArgs("Playing " + SFX.ShortFileNameOnly)); } if (bnStopAll.Checked) { StopAll?.Invoke(this, new EventArgs()); } }