C# Class BrrrBayBay.PwmGUIControl.LogicChannelControl

Base class for a PWM Channel Usercontrol
Inheritance: System.Windows.Forms.UserControl
Datei anzeigen Open project: joosthaverkort/PWMLogic

Public Methods

Method Description
LogicChannelControl ( ) : System
drawRoundRect ( Graphics g, Pen p, Rectangle rect, float radius ) : void

Draws a rounded rectangle on the graphics object

Protected Methods

Method Description
OnPaint ( PaintEventArgs e ) : void
raiseSettingsChangedEvent ( ) : void

Raises the settingschangedevent

Private Methods

Method Description
GetDCEx ( IntPtr hWnd, IntPtr hRgn, int flags ) : IntPtr

Method Details

LogicChannelControl() public method

public LogicChannelControl ( ) : System
return System

OnPaint() protected method

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

drawRoundRect() public method

Draws a rounded rectangle on the graphics object
public drawRoundRect ( Graphics g, Pen p, Rectangle rect, float radius ) : void
g System.Drawing.Graphics The graphics object
p System.Drawing.Pen The pen
rect System.Drawing.Rectangle The rectangle
radius float The corner radius
return void

raiseSettingsChangedEvent() protected method

Raises the settingschangedevent
protected raiseSettingsChangedEvent ( ) : void
return void