C# 클래스 PckView.RegistryInfo

a class to help facilitate the saving and loading of values into the registry
파일 보기 프로젝트 열기: pmprog/OpenXCOM.Tools 1 사용 예제들

공개 메소드들

메소드 설명
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