RadioDld.Status.Status_Shown C# (CSharp) Method

Status_Shown() private method

private Status_Shown ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        private void Status_Shown(object sender, EventArgs e)
        {
            if (OsUtils.WinSevenOrLater())
            {
                if (this.Progress.Style == ProgressBarStyle.Marquee)
                {
                    this.tbarNotif.SetProgressMarquee(this);
                }
                else
                {
                    if (this.Progress.Value != 0)
                    {
                        this.tbarNotif.SetProgressValue(this, this.Progress.Value, this.Progress.Maximum);
                    }
                }
            }

            this.workThread = new Thread(this.WorkThread);
            this.workThread.Start();
        }