C# Class Longkong.ColorPicker.Controls.ColorFieldPanel

Responsible for managing all functionality related to the color field.
Inheritance: System.Windows.Forms.UserControl
Afficher le fichier Open project: Longkong/Pojjaman Class Usage Examples

Méthodes publiques

Méthode Description
ColorFieldPanel ( ) : System
UpdateColor ( ColorSpace colorSpace, char component, Color color, bool resetPreviouslyPickedPoint ) : void
UpdateColor ( ColorSpace colorSpace, char component, int selectedComponentValue, bool resetPreviouslyPickedPoint ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnLoad ( EventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseEnter ( EventArgs e ) : void
OnMouseLeave ( EventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void

Private Methods

Méthode Description
CalculateSelectedColor ( Point p ) : Color
InitializeComponent ( ) : void

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

InvalidateNewAndOldRegions ( Point oldPoint, Point newPoint ) : void
UpdateColor ( ColorSpace colorSpace, char component, bool resetPreviouslyPickedPoint ) : void
UpdateCurrentColorBitmap ( bool resetPreviouslyPickedPoint ) : void
cursorTimer_Tick ( object sender, System e ) : void

Method Details

ColorFieldPanel() public méthode

public ColorFieldPanel ( ) : System
Résultat System

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

OnLoad() protected méthode

protected OnLoad ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnMouseDown() protected méthode

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnMouseEnter() protected méthode

protected OnMouseEnter ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnMouseLeave() protected méthode

protected OnMouseLeave ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnMouseMove() protected méthode

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnMouseUp() protected méthode

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnPaint() protected méthode

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
Résultat void

UpdateColor() public méthode

public UpdateColor ( ColorSpace colorSpace, char component, Color color, bool resetPreviouslyPickedPoint ) : void
colorSpace ColorSpace
component char
color Color
resetPreviouslyPickedPoint bool
Résultat void

UpdateColor() public méthode

public UpdateColor ( ColorSpace colorSpace, char component, int selectedComponentValue, bool resetPreviouslyPickedPoint ) : void
colorSpace ColorSpace
component char
selectedComponentValue int
resetPreviouslyPickedPoint bool
Résultat void