C# Класс SIL.FieldWorks.Common.Controls.ProgressDialogWithTaskDlgImpl

Наследование: SIL.FieldWorks.Common.Controls.ProgressDialogImpl
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
LaunchDialogAndStartTask ( IWin32Window owner ) : DialogResult

Kicks off a timer to send the Start event to any listeners and show the progress dialog

ProgressDialogWithTaskDlgImpl ( Form owner ) : System

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

Метод Описание
OnShown ( EventArgs e ) : void

Override to remove timer in the normal case where it is unnecessary.

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

Метод Описание
timer_Tick ( object sender, EventArgs e ) : void

It used to be that the Shown event of ProgressDialogImpl was used to trigger the start of the task. This proved unreliable. This timer is a backup for cases where OnShown doesn't happen due to exceptions being thrown during the dialogs inital message pumping.

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

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

Kicks off a timer to send the Start event to any listeners and show the progress dialog
public LaunchDialogAndStartTask ( IWin32Window owner ) : DialogResult
owner IWin32Window
Результат DialogResult

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

Override to remove timer in the normal case where it is unnecessary.
protected OnShown ( EventArgs e ) : void
e System.EventArgs
Результат void

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

public ProgressDialogWithTaskDlgImpl ( Form owner ) : System
owner System.Windows.Forms.Form
Результат System