SIL.FieldWorks.Common.Controls.ProgressDialogWithTaskDlgImpl.timer_Tick C# (CSharp) Method

timer_Tick() private method

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.
private timer_Tick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
		void timer_Tick(object sender, EventArgs e)
		{
			Start(); //Alert any listeners that we have started.
			_timer.Stop();
		}