C# Class ARCed.Controls.MultiStateCheckbox

Control that provides functionality for user-defined checkbox values and markers
Inheritance: System.Windows.Forms.CheckBox
Show file Open project: borisblizzard/arcreator

Private Properties

Property Type Description
InitializeComponent void
MultiStateCheckbox_MouseDown void

Public Methods

Method Description
IsPointInCheckBox ( Point point ) : bool

Returns true/false if given point is within the bounds of the checkbox rectangle.

IsPointInCheckBox ( int x, int y ) : bool

Returns true/false if given coordinates are within the bounds of the checkbox rectangle.

MultiStateCheckbox ( ) : System

Default constructor

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnPaint ( PaintEventArgs e ) : void

Private Methods

Method Description
InitializeComponent ( ) : void

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

MultiStateCheckbox_MouseDown ( object sender, MouseEventArgs e ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

IsPointInCheckBox() public method

Returns true/false if given point is within the bounds of the checkbox rectangle.
public IsPointInCheckBox ( Point point ) : bool
point Point Point to check
return bool

IsPointInCheckBox() public method

Returns true/false if given coordinates are within the bounds of the checkbox rectangle.
public IsPointInCheckBox ( int x, int y ) : bool
x int X value to check
y int Y value to check
return bool

MultiStateCheckbox() public method

Default constructor
public MultiStateCheckbox ( ) : System
return System

OnPaint() protected method

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