C# Класс PckView.RegistryInfo

a class to help facilitate the saving and loading of values into the registry
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddProperty ( ) : void

adds properties to be saved/loaded

AddProperty ( PropertyInfo property ) : void

adds a property to be saved/loaded

Closing ( object sender, CancelEventArgs e ) : void

Method intended for use with Form.Closing events - directly calls Save

Load ( object sender, EventArgs e ) : void

loads the specified values from the registry

RegistryInfo ( object obj, string name ) : System

Save ( object sender, EventArgs e ) : void

Saves the specified values into the registry

Описание методов

AddProperty() публичный Метод

adds properties to be saved/loaded
public AddProperty ( ) : void
Результат void

AddProperty() публичный Метод

adds a property to be saved/loaded
public AddProperty ( PropertyInfo property ) : void
property System.Reflection.PropertyInfo
Результат void

Closing() публичный Метод

Method intended for use with Form.Closing events - directly calls Save
public Closing ( object sender, CancelEventArgs e ) : void
sender object
e CancelEventArgs
Результат void

Load() публичный Метод

loads the specified values from the registry
public Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
Результат void

RegistryInfo() публичный Метод

public RegistryInfo ( object obj, string name ) : System
obj object the object to save/load values into the registry
name string the name of the registry key to save/load
Результат System

Save() публичный Метод

Saves the specified values into the registry
public Save ( object sender, EventArgs e ) : void
sender object
e EventArgs
Результат void