Revit.SDK.Samples.TypeRegeneration.CS.MessageForm.onTimeOut C# (CSharp) Method

onTimeOut() private method

the method is executed when time is out, and set the timer enabled false,then timer stop timing
private onTimeOut ( object source, System e ) : void
source object
e System time elapsed event args
return void
        private void onTimeOut(object source, System.Timers.ElapsedEventArgs e)
        {
            timer.Enabled = false;
            this.Close();
        }