Author: gonzalo
Date: 2006-09-11 19:05:38 -0400 (Mon, 11 Sep 2006)
New Revision: 65264

Modified:
   trunk/mcs/class/System/System.ComponentModel.Design/Changelog
   trunk/mcs/class/System/System.ComponentModel.Design/ViewTechnology.cs
Log:
2006-09-11 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>

        * ViewTechnology.cs: update for 2.0. Patch by Ivan N. Zlatev.



Modified: trunk/mcs/class/System/System.ComponentModel.Design/Changelog
===================================================================
--- trunk/mcs/class/System/System.ComponentModel.Design/Changelog       
2006-09-11 23:02:45 UTC (rev 65263)
+++ trunk/mcs/class/System/System.ComponentModel.Design/Changelog       
2006-09-11 23:05:38 UTC (rev 65264)
@@ -1,5 +1,9 @@
 2006-09-11 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
 
+       * ViewTechnology.cs: update for 2.0. Patch by Ivan N. Zlatev.
+
+2006-09-11 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
+
        * SelectionTypes.cs: updates for 2.0. Patch by Ivan N. Zlatev.
 
 2006-09-11 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>

Modified: trunk/mcs/class/System/System.ComponentModel.Design/ViewTechnology.cs
===================================================================
--- trunk/mcs/class/System/System.ComponentModel.Design/ViewTechnology.cs       
2006-09-11 23:02:45 UTC (rev 65263)
+++ trunk/mcs/class/System/System.ComponentModel.Design/ViewTechnology.cs       
2006-09-11 23:05:38 UTC (rev 65264)
@@ -3,9 +3,10 @@
 //
 // Authors:
 //      Martin Willemoes Hansen ([EMAIL PROTECTED])
+//      Ivan N. Zlatev (contact i-nZ.net)
 //
 // (C) 2003 Martin Willemoes Hansen
-//
+// (C) 2006 Ivan N. Zlatev
 
 //
 // Permission is hereby granted, free of charge, to any person obtaining
@@ -32,11 +33,23 @@
 
 namespace System.ComponentModel.Design
 {
-       [Serializable]
+#if NET_2_0
        [ComVisible(true)]
-        public enum ViewTechnology
+       public enum ViewTechnology
        {
+               [Obsolete ("Use ViewTechnology.Default.")]
                Passthrough,
+               [Obsolete ("Use ViewTechnology.Default.")]
                WindowsForms,
+               Default
        }
+#else
+       [Serializable]
+       [ComVisible(true)]
+       public enum ViewTechnology
+       {
+               Passthrough,
+               WindowsForms
+       }
+#endif
 }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to