C# Class Azmyth.Editor.Grid

Inheritance: System.Windows.Forms.UserControl
Datei anzeigen Open project: GalacticSoft/Azmyth

Public Methods

Method 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

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method 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 method

public ClearCells ( ) : void
return void

Dispose() protected method

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

GetCells() public method

public GetCells ( ) : Color>.Dictionary
return Color>.Dictionary

GetViewPortOrigin() public method

public GetViewPortOrigin ( ) : Point
return System.Drawing.Point

GetViewPortRectangle() public method

public GetViewPortRectangle ( ) : Rectangle
return System.Drawing.Rectangle

GetViewPortSize() public method

public GetViewPortSize ( ) : Size
return System.Drawing.Size

GetViewPortX() public method

public GetViewPortX ( ) : int
return int

GetViewPortY() public method

public GetViewPortY ( ) : int
return int

Grid() public method

public Grid ( ) : System
return System

SetBounds() public method

public SetBounds ( int x, int y ) : void
x int
y int
return void

SetCell() public method

public SetCell ( int x, int y, Color color ) : void
x int
y int
color Color
return void