protected void RefreshMsg(string msg, bool IsEnd) { lblMsg.Text = msg; if ((lblMsg.Text == "") || IsEnd) { progBar.Value = 0; progBar.Style = ProgressBarStyle.Blocks; } else { progBar.Value = 50; progBar.Style = ProgressBarStyle.Marquee; } Statusbar.Refresh(); }
protected void RefreshMsg(string msg, bool IsEnd) { this.lblMsg.Text = msg; if ((this.lblMsg.Text == "") || IsEnd) { this.progBar.Value = 0; this.progBar.ProgressType = eProgressItemType.Standard; } else { this.progBar.Value = 50; this.progBar.ProgressType = eProgressItemType.Marquee; } Statusbar.Refresh(); }