C# Класс AdvancedLauncher.SDK.Management.Windows.ApplicationWindowControl

WindowsFormsHost Control wrapper. Runs specified program inside this control.
Наследование: System.Windows.Controls.UserControl, IDisposable
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
Exited BaseEventHandler

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

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

Приватные методы

Метод Описание
OnLoaded ( object sender, System e ) : void
OnProcessExited ( object sender, EventArgs e ) : void
OnSizeChanged ( object sender, System e ) : void
ResizeEmbeddedApp ( ) : void

Описание методов

ApplicationWindowControl() публичный Метод

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)
Результат System

Dispose() публичный Метод

Releases all resources used by the current instance of the ApplicationWindowControl class.
public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

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.
Результат void

Описание свойств

Exited публичное свойство

Process exit event handler
public BaseEventHandler Exited
Результат BaseEventHandler