C# Class Shortcut.Forms.HotkeyConverter

Provides a type converter to convert Hotkey objects to and from other representations.
Inheritance: System.Windows.Forms.KeysConverter
显示文件 Open project: AlexArchive/Shortcut Class Usage Examples

Public Methods

Method Description
ConvertFrom ( ITypeDescriptorContext context, CultureInfo culture, object value ) : object
ConvertTo ( ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType ) : object

Private Methods

Method Description
ExtractNonMods ( Keys keys ) : Keys

Method Details

ConvertFrom() public method

public ConvertFrom ( ITypeDescriptorContext context, CultureInfo culture, object value ) : object
context ITypeDescriptorContext
culture System.Globalization.CultureInfo
value object
return object

ConvertTo() public method

public ConvertTo ( ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType ) : object
context ITypeDescriptorContext
culture System.Globalization.CultureInfo
value object
destinationType System.Type
return object