C# Class SourceGrid.GridSubPanelBase

Inheritance: System.Windows.Forms.UserControl
Afficher le fichier Open project: zhuangyy/Motion

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
GridSubPanelBase ( GridVirtual gridContainer, GridSubPanelType containerType ) : System

Constructor

PointGridToPanel ( Point p_GridPoint ) : Point

Convert a grid relative point to a panel relative point

PointPanelToGrid ( Point p_PanelPoint ) : Point

Convert a panel relative point to a grid relative point

RectangleGridToPanel ( Rectangle p_GridRectangle ) : Rectangle

Converts a grid coordinate rectangle to Panel coordinate rectangle

RectanglePanelToGrid ( Rectangle p_PanelRectangle ) : Rectangle

Converts a panel coordinate rectangle to Grid coordinate rectangle

Méthodes protégées

Méthode Description
IsInputChar ( char charCode ) : bool

IsInputChar method.

IsInputKey ( Keys keyData ) : bool

Allow the grid to handle specials keys like Arrows and Tab. See also Grid.SpecialKeys

OnClick ( EventArgs e ) : void
OnDoubleClick ( EventArgs e ) : void
OnDragDrop ( DragEventArgs drgevent ) : void
OnDragEnter ( DragEventArgs drgevent ) : void
OnDragLeave ( EventArgs e ) : void
OnDragOver ( DragEventArgs drgevent ) : void
OnGiveFeedback ( System.Windows.Forms.GiveFeedbackEventArgs gfbevent ) : void
OnKeyDown ( KeyEventArgs e ) : void
OnKeyPress ( KeyPressEventArgs e ) : void
OnKeyUp ( KeyEventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseEnter ( EventArgs e ) : void
OnMouseHover ( EventArgs e ) : void
OnMouseLeave ( EventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void

Method Details

GridSubPanelBase() public méthode

Constructor
public GridSubPanelBase ( GridVirtual gridContainer, GridSubPanelType containerType ) : System
gridContainer GridVirtual
containerType GridSubPanelType
Résultat System

IsInputChar() protected méthode

IsInputChar method.
protected IsInputChar ( char charCode ) : bool
charCode char
Résultat bool

IsInputKey() protected méthode

Allow the grid to handle specials keys like Arrows and Tab. See also Grid.SpecialKeys
protected IsInputKey ( Keys keyData ) : bool
keyData Keys
Résultat bool

OnClick() protected méthode

protected OnClick ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnDoubleClick() protected méthode

protected OnDoubleClick ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnDragDrop() protected méthode

protected OnDragDrop ( DragEventArgs drgevent ) : void
drgevent System.Windows.Forms.DragEventArgs
Résultat void

OnDragEnter() protected méthode

protected OnDragEnter ( DragEventArgs drgevent ) : void
drgevent System.Windows.Forms.DragEventArgs
Résultat void

OnDragLeave() protected méthode

protected OnDragLeave ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnDragOver() protected méthode

protected OnDragOver ( DragEventArgs drgevent ) : void
drgevent System.Windows.Forms.DragEventArgs
Résultat void

OnGiveFeedback() protected méthode

protected OnGiveFeedback ( System.Windows.Forms.GiveFeedbackEventArgs gfbevent ) : void
gfbevent System.Windows.Forms.GiveFeedbackEventArgs
Résultat void

OnKeyDown() protected méthode

protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
Résultat void

OnKeyPress() protected méthode

protected OnKeyPress ( KeyPressEventArgs e ) : void
e System.Windows.Forms.KeyPressEventArgs
Résultat void

OnKeyUp() protected méthode

protected OnKeyUp ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
Résultat void

OnMouseDown() protected méthode

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnMouseEnter() protected méthode

protected OnMouseEnter ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnMouseHover() protected méthode

protected OnMouseHover ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnMouseLeave() protected méthode

protected OnMouseLeave ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnMouseMove() protected méthode

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnMouseUp() protected méthode

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnPaint() protected méthode

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
Résultat void

PointGridToPanel() public méthode

Convert a grid relative point to a panel relative point
public PointGridToPanel ( Point p_GridPoint ) : Point
p_GridPoint Point
Résultat Point

PointPanelToGrid() public méthode

Convert a panel relative point to a grid relative point
public PointPanelToGrid ( Point p_PanelPoint ) : Point
p_PanelPoint Point
Résultat Point

RectangleGridToPanel() public méthode

Converts a grid coordinate rectangle to Panel coordinate rectangle
public RectangleGridToPanel ( Rectangle p_GridRectangle ) : Rectangle
p_GridRectangle System.Drawing.Rectangle
Résultat System.Drawing.Rectangle

RectanglePanelToGrid() public méthode

Converts a panel coordinate rectangle to Grid coordinate rectangle
public RectanglePanelToGrid ( Rectangle p_PanelRectangle ) : Rectangle
p_PanelRectangle System.Drawing.Rectangle
Résultat System.Drawing.Rectangle