C# Class Pilgrim.Template.Dialog.HelpUtils

显示文件 Open project: juanplopes/pilgrim

Public Methods

Method Description
GetActiveControl ( Form f ) : Control
GetValueNamesWow64 ( string registryKey, int ulOptions ) : string[]

Get ValueNames from registry for WoW64 machine. Corresponding to Microsoft.Win32.RegistryKey.GetValueNames().

IsContextHelpMessage ( Message &m ) : bool
IsWow64 ( ) : bool

This function checks if the OS is 64 bits.

TranslateContextHelpMessage ( Form f, Message &m ) : void

Private Methods

Method Description
HelpUtils ( ) : System

Method Details

GetActiveControl() public static method

public static GetActiveControl ( Form f ) : Control
f System.Windows.Forms.Form
return System.Windows.Forms.Control

GetValueNamesWow64() public static method

Get ValueNames from registry for WoW64 machine. Corresponding to Microsoft.Win32.RegistryKey.GetValueNames().
public static GetValueNamesWow64 ( string registryKey, int ulOptions ) : string[]
registryKey string Registry key string value
ulOptions int Access key value options
return string[]

IsContextHelpMessage() public static method

public static IsContextHelpMessage ( Message &m ) : bool
m System.Windows.Forms.Message
return bool

IsWow64() public static method

This function checks if the OS is 64 bits.
public static IsWow64 ( ) : bool
return bool

TranslateContextHelpMessage() public static method

public static TranslateContextHelpMessage ( Form f, Message &m ) : void
f System.Windows.Forms.Form
m System.Windows.Forms.Message
return void