C# Class MapView.CustomPropertyGrid

Inheritance: System.Windows.Forms.PropertyGrid
Exibir arquivo Open project: pmprog/OpenXCOM.Tools Class Usage Examples

Private Properties

Property Type Description
createHashMethod void
emitProperty void
initTypes void

Public Methods

Method Description
CustomPropertyGrid ( ) : System

Protected Methods

Method Description
OnPropertyValueChanged ( System.Windows.Forms.PropertyValueChangedEventArgs e ) : void

Private Methods

Method Description
createHashMethod ( PropertyBuilder propBuild, TypeBuilder typeBuild, FieldBuilder hash ) : void
emitProperty ( TypeBuilder tb, FieldBuilder hash, Setting s, string name ) : void

emits a generic get/set property in which the result returned resides in a hashtable whos key is the name of the property

initTypes ( ) : void

Initialize a private hashtable with type-opCode pairs so i dont have to write a long if/else statement when outputting msil

Method Details

CustomPropertyGrid() public method

public CustomPropertyGrid ( ) : System
return System

OnPropertyValueChanged() protected method

protected OnPropertyValueChanged ( System.Windows.Forms.PropertyValueChangedEventArgs e ) : void
e System.Windows.Forms.PropertyValueChangedEventArgs
return void