C# Class Rsdn.Shortcuts.ListBoxShortcuts

Inheritance: ListBoxTwoColumn
显示文件 Open project: rsdn/janus

Protected Methods

Method Description
OnDrawItem ( DrawItemEventArgs e ) : void
OnKeyUp ( KeyEventArgs e ) : void
ProcessCmdKey ( Message &msg, Keys keyData ) : bool

Private Methods

Method Description
GetItemShortcut ( int index ) : int
KeyToString ( int key ) : string
SetItemShortcut ( int index, Shortcut shortcut ) : void
SetNoneShortcut ( int index ) : void
TestExistShortcut ( Keys key, int index ) : bool

Method Details

OnDrawItem() protected method

protected OnDrawItem ( DrawItemEventArgs e ) : void
e System.Windows.Forms.DrawItemEventArgs
return void

OnKeyUp() protected method

protected OnKeyUp ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
return void

ProcessCmdKey() protected method

protected ProcessCmdKey ( Message &msg, Keys keyData ) : bool
msg System.Windows.Forms.Message
keyData Keys
return bool