C# Class PckView.RegistryInfo

a class to help facilitate the saving and loading of values into the registry
Afficher le fichier Open project: pmprog/OpenXCOM.Tools Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

AddProperty() public méthode

adds properties to be saved/loaded
public AddProperty ( ) : void
Résultat void

AddProperty() public méthode

adds a property to be saved/loaded
public AddProperty ( PropertyInfo property ) : void
property System.Reflection.PropertyInfo
Résultat void

Closing() public méthode

Method intended for use with Form.Closing events - directly calls Save
public Closing ( object sender, CancelEventArgs e ) : void
sender object
e CancelEventArgs
Résultat void

Load() public méthode

loads the specified values from the registry
public Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
Résultat void

RegistryInfo() public méthode

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
Résultat System

Save() public méthode

Saves the specified values into the registry
public Save ( object sender, EventArgs e ) : void
sender object
e EventArgs
Résultat void