[Microsoft.Build] Fix expected output newline from ProcessWrapper.OutputStreamChanged...
[mono.git] / mcs / class / Mainsoft.Web / Mainsoft.Web.AspnetConfig / aspnetconfig / GridButton.cs
1 // Mainsoft.Web.AspnetConfig - Site AspnetConfig utility\r
2 // (C) 2006 Mainsoft Corporation (http://www.mainsoft.com)\r
3 // Permission is hereby granted, free of charge, to any person obtaining\r
4 // a copy of this software and associated documentation files (the\r
5 // "Software"), to deal in the Software without restriction, including\r
6 // without limitation the rights to use, copy, modify, merge, publish,\r
7 // distribute, sublicense, and/or sell copies of the Software, and to\r
8 // permit persons to whom the Software is furnished to do so, subject to\r
9 // the following conditions:\r
10 // \r
11 // The above copyright notice and this permission notice shall be\r
12 // included in all copies or substantial portions of the Software.\r
13 // \r
14 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\r
15 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r
16 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\r
17 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\r
18 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\r
19 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\r
20 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r
21 \r
22 using System;\r
23 using System.Data;\r
24 using System.Configuration;\r
25 using System.Web;\r
26 using System.Web.Security;\r
27 using System.Web.UI;\r
28 using System.Web.UI.WebControls;\r
29 using System.Web.UI.HtmlControls;\r
30 using System.ComponentModel;\r
31 \r
32 namespace Mainsoft.Web.AspnetConfig\r
33 {\r
34         public class GridButton : LinkButton\r
35         {\r
36                 [Bindable (true)]\r
37                 public string User\r
38                 {\r
39                         get { return ViewState["User"] == null ? String.Empty : (string) ViewState["User"]; }\r
40                         set { ViewState["User"] = value; }\r
41                 }\r
42         }\r
43 }