diff options
Diffstat (limited to 'samples/Consumer/TracePage.aspx.cs')
-rw-r--r-- | samples/Consumer/TracePage.aspx.cs | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/samples/Consumer/TracePage.aspx.cs b/samples/Consumer/TracePage.aspx.cs index 47e217b..526ab69 100644 --- a/samples/Consumer/TracePage.aspx.cs +++ b/samples/Consumer/TracePage.aspx.cs @@ -1,21 +1,21 @@ -using System;
-using System.Collections.Generic;
-using System.Web;
-using System.Web.UI;
-using System.Web.UI.WebControls;
-
-/// <summary>
-/// A page to display recent log messages.
-/// </summary>
-public partial class TracePage : System.Web.UI.Page {
- protected void Page_Load(object sender, EventArgs e) {
- placeHolder1.Controls.Add(new Label { Text = Logging.LogMessages.ToString() });
- }
-
- protected void clearLogButton_Click(object sender, EventArgs e) {
- Logging.LogMessages.Length = 0;
-
- // clear the page immediately, and allow for F5 without a Postback warning.
- Response.Redirect(Request.Url.AbsoluteUri);
- }
-}
+using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +/// <summary> +/// A page to display recent log messages. +/// </summary> +public partial class TracePage : System.Web.UI.Page { + protected void Page_Load(object sender, EventArgs e) { + placeHolder1.Controls.Add(new Label { Text = Logging.LogMessages.ToString() }); + } + + protected void clearLogButton_Click(object sender, EventArgs e) { + Logging.LogMessages.Length = 0; + + // clear the page immediately, and allow for F5 without a Postback warning. + Response.Redirect(Request.Url.AbsoluteUri); + } +} |