C# Class Longkong.ColorPicker.Controls.ColorSwatchPanel

Inheritance: System.Windows.Forms.Panel
Afficher le fichier Open project: Longkong/Pojjaman Class Usage Examples

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnDragDrop ( DragEventArgs e ) : void
OnDragEnter ( DragEventArgs drgevent ) : void
OnDragLeave ( EventArgs e ) : void
OnDragOver ( DragEventArgs e ) : void
OnLayout ( System.Windows.Forms.LayoutEventArgs levent ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs pe ) : void

Private Methods

Méthode Description
AddColor ( Color c ) : void
BuildSwatchBitmap ( ) : Bitmap
ColorSwatchPanel ( ) : System

Constructor.

CreateCustomSwatchesFile ( ) : void
DoesColorAlreadyExist ( Color c ) : bool
InitializeComponent ( ) : void

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

InvalidateEmptySwatch ( ) : void
InvalidateEmptySwatch ( Point swatchPoint ) : void
ToggleEmptySwatchState ( bool isActive ) : void
UpdatePositions ( int &x, int &y, int &swatchColumnNum, int &swatchRowNum ) : void

Method Details

Dispose() protected méthode

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

OnDragDrop() protected méthode

protected OnDragDrop ( DragEventArgs e ) : void
e System.Windows.Forms.DragEventArgs
Résultat void

OnDragEnter() protected méthode

protected OnDragEnter ( DragEventArgs drgevent ) : void
drgevent System.Windows.Forms.DragEventArgs
Résultat void

OnDragLeave() protected méthode

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

OnDragOver() protected méthode

protected OnDragOver ( DragEventArgs e ) : void
e System.Windows.Forms.DragEventArgs
Résultat void

OnLayout() protected méthode

protected OnLayout ( System.Windows.Forms.LayoutEventArgs levent ) : void
levent System.Windows.Forms.LayoutEventArgs
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 pe ) : void
pe PaintEventArgs
Résultat void