[winforms] Style
[mono.git] / mcs / class / System.Drawing / System.Drawing / StringTrimming.cs
index ee4f1bb738a732505588f389290bc89c9ea9cd7f..c45bf5edf8e683129ca3cf6a438d5bf583c16e8f 100644 (file)
@@ -1,20 +1,42 @@
-//\r
-// System.Drawing.StringTrimming.cs\r
-//\r
-// (C) 2001 Ximian, Inc.  http://www.ximian.com\r
-// Author: Dennis Hayes (dennish@raytek.com)\r
-//\r
-\r
-\r
-using System;\r
-namespace System.Drawing \r
-{\r
-       public enum  StringTrimming{\r
-               Character = 1,\r
-               EllipsisCharacter = 2,\r
-               EllipsisPath = 3,\r
-               EllipsisWord = 4,\r
-               None = 5,\r
-               Word = 6\r
-       }\r
-}\r
+//
+// System.Drawing.StringTrimming.cs
+//
+// Author: Dennis Hayes (dennish@raytek.com)
+//
+// (C) 2001 Ximian, Inc.  http://www.ximian.com
+// Copyright (C) 2004,2006 Novell, Inc (http://www.novell.com)
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+namespace System.Drawing {
+
+#if ONLY_1_1
+       [Serializable]
+#endif
+       public enum  StringTrimming {
+               None              = 0,
+               Character         = 1,
+               Word              = 2,
+               EllipsisCharacter = 3,
+               EllipsisWord      = 4,
+               EllipsisPath      = 5
+       }
+}