2 using System
.Collections
.Generic
;
5 using System
.Web
.UI
.WebControls
;
8 /// A page to display recent log messages.
10 public partial class TracePage
: System
.Web
.UI
.Page
{
11 protected void Page_Load(object sender
, EventArgs e
) {
12 placeHolder1
.Controls
.Add(new Label { Text = Global.LogMessages.ToString() }
);
15 protected void clearLogButton_Click(object sender
, EventArgs e
) {
16 Global
.LogMessages
.Length
= 0;
18 // clear the page immediately, and allow for F5 without a Postback warning.
19 Response
.Redirect(Request
.Url
.AbsoluteUri
);