C# Class Azmyth.Editor.Grid

Inheritance: System.Windows.Forms.UserControl
Afficher le fichier Open project: GalacticSoft/Azmyth

Méthodes publiques

Méthode Description
ClearCells ( ) : void
GetCells ( ) : Color>.Dictionary
GetViewPortOrigin ( ) : Point
GetViewPortRectangle ( ) : Rectangle
GetViewPortSize ( ) : Size
GetViewPortX ( ) : int
GetViewPortY ( ) : int
Grid ( ) : System
SetBounds ( int x, int y ) : void
SetCell ( int x, int y, Color color ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
GetCellX ( System p ) : int
GetCellY ( System p ) : int
GetPartialCellSizeX ( ) : int
GetPartialCellSizeY ( ) : int
Grid_MouseDown ( object sender, MouseEventArgs e ) : void
Grid_MouseMove ( object sender, MouseEventArgs e ) : void
Grid_MouseUp ( object sender, MouseEventArgs e ) : void
Grid_Paint ( object sender, PaintEventArgs e ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

Method Details

ClearCells() public méthode

public ClearCells ( ) : void
Résultat void

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

GetCells() public méthode

public GetCells ( ) : Color>.Dictionary
Résultat Color>.Dictionary

GetViewPortOrigin() public méthode

public GetViewPortOrigin ( ) : Point
Résultat System.Drawing.Point

GetViewPortRectangle() public méthode

public GetViewPortRectangle ( ) : Rectangle
Résultat System.Drawing.Rectangle

GetViewPortSize() public méthode

public GetViewPortSize ( ) : Size
Résultat System.Drawing.Size

GetViewPortX() public méthode

public GetViewPortX ( ) : int
Résultat int

GetViewPortY() public méthode

public GetViewPortY ( ) : int
Résultat int

Grid() public méthode

public Grid ( ) : System
Résultat System

SetBounds() public méthode

public SetBounds ( int x, int y ) : void
x int
y int
Résultat void

SetCell() public méthode

public SetCell ( int x, int y, Color color ) : void
x int
y int
color Color
Résultat void