C# Class Azmyth.Editor.MapViewer

Inheritance: System.Windows.Forms.UserControl
Show file Open project: GalacticSoft/Azmyth Class Usage Examples

Public Properties

Property Type Description
AreaNode System.Windows.Forms.TreeNode
AreaPage System.Windows.Forms.TabPage
WorldID VectorID
gridControl1 GridControl
gridControl2 GridControl
gridControl3 GridControl

Public Methods

Method Description
ClearCells ( ) : void
MapViewer ( ) : System
MapViewer ( VectorID worldID ) : System
RepaintMap ( ) : void
SetCellColor ( Vector vector, Color color, bool draw = false ) : void
SetTool ( ToolShape shape ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

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

gridControl2_CellHover ( object sender, Point e ) : void
txtName_TextChanged ( object sender, EventArgs e ) : void

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

MapViewer() public method

public MapViewer ( ) : System
return System

MapViewer() public method

public MapViewer ( VectorID worldID ) : System
worldID VectorID
return System

RepaintMap() public method

public RepaintMap ( ) : void
return void

SetCellColor() public method

public SetCellColor ( Vector vector, Color color, bool draw = false ) : void
vector Azmyth.Vector
color Color
draw bool
return void

SetTool() public method

public SetTool ( ToolShape shape ) : void
shape ToolShape
return void

Property Details

AreaNode public property

public TreeNode,System.Windows.Forms AreaNode
return System.Windows.Forms.TreeNode

AreaPage public property

public TabPage,System.Windows.Forms AreaPage
return System.Windows.Forms.TabPage

WorldID public property

public VectorID WorldID
return VectorID

gridControl1 public property

public GridControl,Azmyth.Editor gridControl1
return GridControl

gridControl2 public property

public GridControl,Azmyth.Editor gridControl2
return GridControl

gridControl3 public property

public GridControl,Azmyth.Editor gridControl3
return GridControl