HNForm hooks up KeyBoard and Mousewheel events of the Form and passes them to the HNPanel class. More...
Public Member Functions | |
HNForm () | |
Public Attributes | |
HNPanel | m_pHNPanel |
Protected Member Functions | |
override void | OnKeyDown (KeyEventArgs e) |
override void | OnKeyUp (KeyEventArgs e) |
override void | OnKeyPress (KeyPressEventArgs e) |
override void | OnMouseWheel (MouseEventArgs e) |
HNForm hooks up KeyBoard and Mousewheel events of the Form and passes them to the HNPanel class.
The HNForm member functions overload the Form OnKeyPress, OnKeyUp and MouseWheel methods and then passes control to the HNPanel OnKeyPress, OnKeyUp and OnMouseWheel methods for custom handling.
This is the base class from which a custom HNForm class should be derived
hoops_panel.HNForm.HNForm | ( | ) | [inline] |
Default Constructor
override void hoops_panel.HNForm.OnKeyDown | ( | KeyEventArgs | e | ) | [inline, protected] |
Maps the OnKeyDown event to HNPanel::OnKeyDown
e | Provides data for System.Windows.Forms.Control.KeyDown event |
override void hoops_panel.HNForm.OnKeyPress | ( | KeyPressEventArgs | e | ) | [inline, protected] |
Maps the OnKeyPress event to HNPanel::OnKeyPress
e | Provides data for System.Windows.Forms.Control.KeyPress event |
override void hoops_panel.HNForm.OnKeyUp | ( | KeyEventArgs | e | ) | [inline, protected] |
Maps the OnKeyUp event to HNPanel::OnKeyUp
e | Provides data for System.Windows.Forms.Control.KeyUp event |
override void hoops_panel.HNForm.OnMouseWheel | ( | MouseEventArgs | e | ) | [inline, protected] |
Maps the OnMouseWheel event to HNPanel::OnMouseWheel
e | Provides data for System.Windows.Forms.Control.MouseWheel event |
A reference to the HNPanel object. A custom HNPanel should be created in an overloaded HNPanel::Init method (i.e. MyCustomForm::Init)