PKHeX.SplashScreen.DisplayTimeEvent C# (CSharp) Method

DisplayTimeEvent() public method

public DisplayTimeEvent ( object source, ElapsedEventArgs e ) : void
source object
e ElapsedEventArgs
return void
        public void DisplayTimeEvent(object source, ElapsedEventArgs e)
        {
            if (!m_parent.init)
                if (L_Status.InvokeRequired) L_Status.Invoke((MethodInvoker)delegate { L_Status.Text = Form1.Status; });
                else { L_Status.Text = Form1.Status; }
            else
                if (InvokeRequired && IsHandleCreated)
                    try { Invoke((MethodInvoker)Close); } catch { Close(); }
                else Close();
        }