Table of Contents

Class EffectConfigDialog<TEffect, TToken>

Namespace
PaintDotNet.Effects
Assembly
PaintDotNet.Effects.Core.dll
public abstract class EffectConfigDialog<TEffect, TToken> : EffectConfigDialog, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IContainerControl, IContainer, IEffectConfigForm<TEffect, TToken>, IEffectConfigForm, IIsDisposed, IDisposable where TEffect : Effect<TToken> where TToken : EffectConfigToken

Type Parameters

TEffect
TToken
Inheritance
EffectConfigDialog<TEffect, TToken>
Implements
IEffectConfigForm<TEffect, TToken>
Inherited Members

Properties

Effect
EffectToken

Methods

CreateInitialToken()
InitDialogFromToken(EffectConfigToken)

This method must be overridden in derived classes. In this method you must take the values from the given EffectToken and use them to properly initialize the dialog's user interface elements. Make sure to read values from the passed-in effectToken

InitDialogFromToken(TToken)
InitTokenFromDialog()

This method must be overridden in derived classes. In this method you must take the values from the dialog box and use them to properly initialize theEffectToken.

InitialInitToken()

This method must be overriden in the derived classes. In this you initialize the default values for the token, and thus the default values for the dialog box. The job of this function is to initialize this.theEffectToken with a non-null reference.

LoadIntoTokenFromDialog(TToken)