C# Class Longkong.ColorPicker.Controls.ColorSwatchPanel

Inheritance: System.Windows.Forms.Panel
Mostrar archivo Open project: Longkong/Pojjaman Class Usage Examples

Protected Methods

Method 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

Method 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 method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
return void

OnDragDrop() protected method

protected OnDragDrop ( DragEventArgs e ) : void
e System.Windows.Forms.DragEventArgs
return void

OnDragEnter() protected method

protected OnDragEnter ( DragEventArgs drgevent ) : void
drgevent System.Windows.Forms.DragEventArgs
return void

OnDragLeave() protected method

protected OnDragLeave ( EventArgs e ) : void
e System.EventArgs
return void

OnDragOver() protected method

protected OnDragOver ( DragEventArgs e ) : void
e System.Windows.Forms.DragEventArgs
return void

OnLayout() protected method

protected OnLayout ( System.Windows.Forms.LayoutEventArgs levent ) : void
levent System.Windows.Forms.LayoutEventArgs
return void

OnMouseMove() protected method

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseUp() protected method

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnPaint() protected method

protected OnPaint ( PaintEventArgs pe ) : void
pe PaintEventArgs
return void