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();
}