C# Class OptionsHelper.Options.OptionsControlBase

Ru: Базовый класс для отображения опций с помощью формы OptionsForm En: Base class to display options using the form OptionsForm
Inheritance: System.Windows.Forms.UserControl
Afficher le fichier Open project: AlexandrSurkov/PKStudio Class Usage Examples

Protected Properties

Свойство Type Description
controlledOption OptionsBase

Méthodes publiques

Méthode Description
ApplyChanges ( ) : bool

Apply changes. Calls from OptionsControl when user click Ok or Apply buttons

Initialize ( ) : void

Initialize method. Calls from OptionsControl.

OnApplyChanges ( ) : bool

Apply changes

SetOption ( OptionsBase ModifiedOption ) : void

Set Option, which will be managed by this control

Méthodes protégées

Méthode Description
ModifiedChange ( ) : void

Ru: Устанавливает свойство _modified в true и вызывет соответствующее событие Необходимо вызывать в наследнике при изменении опции En: Sets _modified to true and fires event Must be called from inherit classes when changing options

OnInitialized ( ) : void

Initialize control

Private Methods

Méthode Description
InitializeComponent ( ) : void

Method Details

ApplyChanges() public méthode

Apply changes. Calls from OptionsControl when user click Ok or Apply buttons
public ApplyChanges ( ) : bool
Résultat bool

Initialize() public méthode

Initialize method. Calls from OptionsControl.
public Initialize ( ) : void
Résultat void

ModifiedChange() protected méthode

Ru: Устанавливает свойство _modified в true и вызывет соответствующее событие Необходимо вызывать в наследнике при изменении опции En: Sets _modified to true and fires event Must be called from inherit classes when changing options
protected ModifiedChange ( ) : void
Résultat void

OnApplyChanges() public méthode

Apply changes
public OnApplyChanges ( ) : bool
Résultat bool

OnInitialized() protected méthode

Initialize control
protected OnInitialized ( ) : void
Résultat void

SetOption() public méthode

Set Option, which will be managed by this control
public SetOption ( OptionsBase ModifiedOption ) : void
ModifiedOption OptionsBase
Résultat void

Property Details

controlledOption protected_oe property

Ru: Настройка, которой управляет этот контрол En: Option, which is managed by this control
protected OptionsBase,OptionsHelper.Options controlledOption
Résultat OptionsBase