C# Class AnimalCrossingQR.ColorDialog

Inheritance: System.Windows.Forms.Form
Afficher le fichier Open project: jefff/animalcrossingqr

Méthodes publiques

Méthode Description
ColorDialog ( ) : System
ColorDialog ( PaletteList list ) : System
GetAsPalette ( ) : Palette

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
ColorDialog_Load ( object sender, EventArgs e ) : void
DrawFullColorPalette ( Graphics graphics ) : void
DrawNineBox ( Graphics graphics, int x, int y, int colorIndex ) : void
GetColorClick ( int pX, int pY ) : int?
InitializeComponent ( ) : void

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

IsInNineBox ( int x, int y, int pX, int pY ) : int?
IsInRectangle ( Rectangle rect, int pX, int pY ) : bool
OnColorPaletteChanged ( ) : void
UpdateLabels ( ) : void
cancelButton_Click ( object sender, EventArgs e ) : void
colorPanel_MouseClick ( object sender, MouseEventArgs e ) : void
colorPanel_Paint ( object sender, PaintEventArgs e ) : void
okButton_Click ( object sender, EventArgs e ) : void

Method Details

ColorDialog() public méthode

public ColorDialog ( ) : System
Résultat System

ColorDialog() public méthode

public ColorDialog ( PaletteList list ) : System
list PaletteList
Résultat System

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

GetAsPalette() public méthode

public GetAsPalette ( ) : Palette
Résultat AnimalCrossingQR.AC.Palette