C# Class Nintenlord.MegamanBattleNetworkMapEditor.TileView

Inheritance: System.Windows.Forms.UserControl
Afficher le fichier Open project: Diegoisawesome/AwesomeMapEditor-old

Méthodes publiques

Méthode Description
DrawMap ( Graphics graphics, Rectangle toDrawTo, float scale, int tiles, Size mapSize ) : void

TileView ( ) : System

TileView ( Bitmap tiles, Size tileSize ) : System

Méthodes protégées

Méthode Description
CheckTileSize ( ) : bool
Dispose ( bool disposing ) : void

Clean up any resources being used.

TileView_Paint ( object sender, PaintEventArgs e ) : void

UpdateAmountOfTiles ( ) : void

Private Methods

Méthode Description
GetDrawingRectangle ( Rectangle &toDrawTo, Size &mapSize ) : Rectangle
InitializeComponent ( ) : void

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

TileView_Resize ( object sender, EventArgs e ) : void

Method Details

CheckTileSize() protected méthode

protected CheckTileSize ( ) : bool
Résultat bool

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

DrawMap() public méthode

public DrawMap ( Graphics graphics, Rectangle toDrawTo, float scale, int tiles, Size mapSize ) : void
graphics System.Drawing.Graphics
toDrawTo System.Drawing.Rectangle
scale float
tiles int
mapSize System.Drawing.Size
Résultat void

TileView() public méthode

public TileView ( ) : System
Résultat System

TileView() public méthode

public TileView ( Bitmap tiles, Size tileSize ) : System
tiles System.Drawing.Bitmap
tileSize System.Drawing.Size
Résultat System

TileView_Paint() protected méthode

protected TileView_Paint ( object sender, PaintEventArgs e ) : void
sender object
e PaintEventArgs
Résultat void

UpdateAmountOfTiles() protected méthode

protected UpdateAmountOfTiles ( ) : void
Résultat void