C# Class AdvancedLauncher.SDK.Management.Windows.ApplicationWindowControl

WindowsFormsHost Control wrapper. Runs specified program inside this control.
Inheritance: System.Windows.Controls.UserControl, IDisposable
Datei anzeigen Open project: GoldRenard/DMOAdvancedLauncher

Public Properties

Property Type Description
Exited BaseEventHandler

Public Methods

Method Description
ApplicationWindowControl ( ProcessStartInfo StartInfo, int WaitTimeout ) : System

Initializes a new instance of ApplicationWindowControl for specified ProcessStartInfo and wait timeout.

Dispose ( ) : void

Releases all resources used by the current instance of the ApplicationWindowControl class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

When overridden in a derived class, releases the unmanaged resources used by the ApplicationWindowControl, and optionally releases the managed resources.

Private Methods

Method Description
OnLoaded ( object sender, System e ) : void
OnProcessExited ( object sender, EventArgs e ) : void
OnSizeChanged ( object sender, System e ) : void
ResizeEmbeddedApp ( ) : void

Method Details

ApplicationWindowControl() public method

Initializes a new instance of ApplicationWindowControl for specified ProcessStartInfo and wait timeout.
public ApplicationWindowControl ( ProcessStartInfo StartInfo, int WaitTimeout ) : System
StartInfo System.Diagnostics.ProcessStartInfo Process start information
WaitTimeout int Event action (0 by default)
return System

Dispose() public method

Releases all resources used by the current instance of the ApplicationWindowControl class.
public Dispose ( ) : void
return void

Dispose() protected method

When overridden in a derived class, releases the unmanaged resources used by the ApplicationWindowControl, and optionally releases the managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
return void

Property Details

Exited public_oe property

Process exit event handler
public BaseEventHandler Exited
return BaseEventHandler