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

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

Méthodes publiques

Свойство Type Description
Exited BaseEventHandler

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode 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

Méthode 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 méthode

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)
Résultat System

Dispose() public méthode

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

Dispose() protected méthode

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.
Résultat void

Property Details

Exited public_oe property

Process exit event handler
public BaseEventHandler Exited
Résultat BaseEventHandler