C# Класс LifeGame.WorldMapPanel

Наследование: System.Windows.Forms.Panel
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddCell ( ) : Cell
AddCell ( Cell cell ) : Cell
GetCellByNo ( int no ) : Cell
GetCellByPosition ( Point position ) : Cell
GetLocation ( Point p ) : Point
GetLocation ( int rowIndex, int columnIndex ) : Point
GetVision ( Cell cell ) : void
IsContainForRect ( Point position ) : bool
IsExist ( Point position ) : bool
WorldMapPanel ( ) : System

Защищенные методы

Метод Описание
OnPaint ( PaintEventArgs e ) : void

Описание методов

AddCell() публичный Метод

public AddCell ( ) : Cell
Результат Cell

AddCell() публичный Метод

public AddCell ( Cell cell ) : Cell
cell Cell
Результат Cell

GetCellByNo() публичный Метод

public GetCellByNo ( int no ) : Cell
no int
Результат Cell

GetCellByPosition() публичный Метод

public GetCellByPosition ( Point position ) : Cell
position Point
Результат Cell

GetLocation() публичный статический Метод

public static GetLocation ( Point p ) : Point
p Point
Результат Point

GetLocation() публичный статический Метод

public static GetLocation ( int rowIndex, int columnIndex ) : Point
rowIndex int
columnIndex int
Результат Point

GetVision() публичный Метод

public GetVision ( Cell cell ) : void
cell Cell
Результат void

IsContainForRect() публичный Метод

public IsContainForRect ( Point position ) : bool
position Point
Результат bool

IsExist() публичный Метод

public IsExist ( Point position ) : bool
position Point
Результат bool

OnPaint() защищенный Метод

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
Результат void

WorldMapPanel() публичный Метод

public WorldMapPanel ( ) : System
Результат System