Class CustomMusicCtl
- Namespace
- RadioExt_Helper.user_controls
- Assembly
- RadioExt-Helper.dll
public sealed class CustomMusicCtl : UserControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl, IUserControl
- Inheritance
-
CustomMusicCtl
- Implements
- Inherited Members
- Extension Methods
Constructors
CustomMusicCtl(TrackableObject<Station>)
Initializes a new instance of the CustomMusicCtl class.
public CustomMusicCtl(TrackableObject<Station> station)
Parameters
station
TrackableObject<Station>- The trackable station object.
Properties
Station
Gets the trackable station object associated with the control.
public TrackableObject<Station> Station { get; }
Property Value
Methods
Dispose(bool)
Clean up any resources being used.
protected override void Dispose(bool disposing)
Parameters
disposing
bool- true if managed resources should be disposed; otherwise, false.
ResetUi()
Reset the UI values to the defaults for the station.
public void ResetUi()
Translate()
Translates the control's text to the appropriate language.
public void Translate()
Events
StationUpdated
Event that is triggered when the station is updated.
public event EventHandler? StationUpdated
Event Type
StatusChanged
public event EventHandler<string>? StatusChanged
Event Type
StatusReset
public event EventHandler? StatusReset