C# Class OSMaker.Host.HostControl

Hosts the HostSurface which inherits from DesignSurface.
Inheritance: UserControl
Datei anzeigen Open project: MaximLeroy/OSMaker Class Usage Examples

Private Properties

Property Type Description
ButtonItem1_Click void
HostControl System
HostControl_Load void
HostControl_Load_1 void
HostControl_MouseDoubleClick void
InitializeComponent void
InitializeHost void
Timer1_Tick void

Public Methods

Method Description
CreateControl ( Type controlType, Size controlSize, Point controlLocation ) : Control
DoAction ( string command ) : void
GetIDesignerHost ( ) : IDesignerHost

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
ButtonItem1_Click ( object sender, EventArgs e ) : void
HostControl ( OSMaker.Host.HostSurface hostSurface ) : System
HostControl_Load ( object sender, EventArgs e ) : void
HostControl_Load_1 ( object sender, EventArgs e ) : void
HostControl_MouseDoubleClick ( object sender, MouseEventArgs e ) : void
InitializeComponent ( ) : void

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

InitializeHost ( HostSurface hostSurface ) : void
Timer1_Tick ( object sender, EventArgs e ) : void

Method Details

CreateControl() public method

public CreateControl ( Type controlType, Size controlSize, Point controlLocation ) : Control
controlType Type
controlSize Size
controlLocation Point
return Control

Dispose() protected method

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

DoAction() public method

public DoAction ( string command ) : void
command string
return void

GetIDesignerHost() public method

public GetIDesignerHost ( ) : IDesignerHost
return IDesignerHost