Class IconEditor
- Namespace
- RadioExt_Helper.user_controls
- Assembly
- RadioExt-Helper.dll
public sealed class IconEditor : UserControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl, IEditor
- Inheritance
-
IconEditor
- Implements
- Inherited Members
- Extension Methods
Constructors
IconEditor(TrackableObject<Station>, TrackableObject<WolvenIcon>, IconEditorType)
Create a new icon editor.
public IconEditor(TrackableObject<Station> station, TrackableObject<WolvenIcon> icon, IconEditorType type)
Parameters
station
TrackableObject<Station>- The station associated with the editor.
icon
TrackableObject<WolvenIcon>- The icon to initialize the editor with.
type
IconEditorType- The IconEditorType to set the initial state of the editor.
Properties
Icon
The icon that is being edited.
public TrackableObject<WolvenIcon> Icon { get; }
Property Value
- TrackableObject<WolvenIcon>
IconEditorType
public IconEditorType IconEditorType { get; set; }
Property Value
Id
The unique identifier for this editor.
public Guid Id { get; set; }
Property Value
Station
The station that the icon is associated with.
public TrackableObject<Station> Station { get; }
Property Value
Type
The type of editor.
public EditorType Type { get; set; }
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.
~IconEditor()
protected ~IconEditor()
SetLogIdentifier()
Set the log identifier for the log viewer based on whether the icon is valid and whether it is from an archive or a .png originally.
public void SetLogIdentifier()
Translate()
Defines the method to translate the control into the current language.
public void Translate()
Events
IconExtractFinished
Event that occurs when an icon extraction has finished.
public event EventHandler? IconExtractFinished
Event Type
IconExtractStarted
Event that occurs when an icon extraction has started.
public event EventHandler? IconExtractStarted
Event Type
IconImportFinished
Event that occurs when an icon import has finished.
public event EventHandler? IconImportFinished
Event Type
IconImportStarted
Event that occurs when an icon import has started.
public event EventHandler? IconImportStarted
Event Type
IconUpdated
Event that occurs when the icon is updated.
public event EventHandler<TrackableObject<WolvenIcon>>? IconUpdated
Event Type
- EventHandler<TrackableObject<WolvenIcon>>