C# Class PurplePen.DotGrid

Afficher le fichier Open project: petergolde/PurplePen

Méthodes publiques

Свойство Type Description
clientSize Size
dots List>
dotsAcross int
pixelsPerDot int

Méthodes publiques

Méthode Description
Clear ( ) : void
DotGrid ( ) : System
DrawDot ( Graphics g, int row, int col ) : void
DrawDot ( int row, int col ) : void
DrawGrid ( Graphics g ) : void
EraseDot ( Graphics g, int row, int col ) : void
EraseDot ( int row, int col ) : void
GetAllDots ( ) : ].bool[
GetDot ( int row, int col ) : bool
ResizeTo ( int newDotsAcross, int newDotsDown ) : void
SetAllDots ( bool dotValues ) : void
SetDot ( int row, int col, bool dotValue ) : void
UpdateGridSize ( ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
DotGrid_MouseDown ( object sender, MouseEventArgs e ) : void
DotGrid_Paint ( object sender, PaintEventArgs e ) : void
DotGrid_Resize ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

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

Method Details

Clear() public méthode

public Clear ( ) : 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

DotGrid() public méthode

public DotGrid ( ) : System
Résultat System

DrawDot() public méthode

public DrawDot ( Graphics g, int row, int col ) : void
g Graphics
row int
col int
Résultat void

DrawDot() public méthode

public DrawDot ( int row, int col ) : void
row int
col int
Résultat void

DrawGrid() public méthode

public DrawGrid ( Graphics g ) : void
g Graphics
Résultat void

EraseDot() public méthode

public EraseDot ( Graphics g, int row, int col ) : void
g Graphics
row int
col int
Résultat void

EraseDot() public méthode

public EraseDot ( int row, int col ) : void
row int
col int
Résultat void

GetAllDots() public méthode

public GetAllDots ( ) : ].bool[
Résultat ].bool[

GetDot() public méthode

public GetDot ( int row, int col ) : bool
row int
col int
Résultat bool

ResizeTo() public méthode

public ResizeTo ( int newDotsAcross, int newDotsDown ) : void
newDotsAcross int
newDotsDown int
Résultat void

SetAllDots() public méthode

public SetAllDots ( bool dotValues ) : void
dotValues bool
Résultat void

SetDot() public méthode

public SetDot ( int row, int col, bool dotValue ) : void
row int
col int
dotValue bool
Résultat void

UpdateGridSize() public méthode

public UpdateGridSize ( ) : void
Résultat void

Property Details

clientSize public_oe property

public Size clientSize
Résultat Size

dots public_oe property

public List> dots
Résultat List>

dotsAcross public_oe property

public int dotsAcross
Résultat int

pixelsPerDot public_oe property

public int pixelsPerDot
Résultat int