C# Class Rsdn.Janus.StyleConfig

Конфигурация стиля
显示文件 Open project: rsdn/janus Class Usage Examples

Private Properties

Property Type Description
OnStyleChangeEvent void
SetColorNonTransp void
SetColorNonTranspStr void

Public Methods

Method Description
GetClone ( ) : StyleConfig

Получить копию схемы.

Load ( string path ) : void

Загрузить схему.

NewStyleConfig ( StyleConfig cfg ) : void

Установить новую схему.

Save ( string path ) : void

Сохранить схему.

Private Methods

Method Description
OnStyleChangeEvent ( StyleChangeEventArgs e ) : void
SetColorNonTransp ( Color &store, Color val, Color def ) : void
SetColorNonTranspStr ( Color &store, string val, Color def ) : void

Method Details

GetClone() public static method

Получить копию схемы.
public static GetClone ( ) : StyleConfig
return StyleConfig

Load() public static method

Загрузить схему.
public static Load ( string path ) : void
path string Файл, откуда будет загружена схема.
return void

NewStyleConfig() public static method

Установить новую схему.
public static NewStyleConfig ( StyleConfig cfg ) : void
cfg StyleConfig Схема
return void

Save() public static method

Сохранить схему.
public static Save ( string path ) : void
path string Файл, куда сохранить схему
return void