Author: atsushi
Date: 2007-09-28 09:10:05 -0400 (Fri, 28 Sep 2007)
New Revision: 86571
Modified:
trunk/mcs/class/System.Design/System.ComponentModel.Design/ByteViewer.cs
trunk/mcs/class/System.Design/System.ComponentModel.Design/ChangeLog
Log:
2007-09-28 Atsushi Enomoto <[EMAIL PROTECTED]>
* ByteViewer.cs : last one mile to finish 2.0 API (metadata wise).
Modified:
trunk/mcs/class/System.Design/System.ComponentModel.Design/ByteViewer.cs
===================================================================
--- trunk/mcs/class/System.Design/System.ComponentModel.Design/ByteViewer.cs
2007-09-28 12:52:48 UTC (rev 86570)
+++ trunk/mcs/class/System.Design/System.ComponentModel.Design/ByteViewer.cs
2007-09-28 13:10:05 UTC (rev 86571)
@@ -34,7 +34,11 @@
{
[DesignTimeVisible(false)]
[ToolboxItem(false)]
+#if NET_2_0
+ public class ByteViewer : TableLayoutPanel
+#else
public class ByteViewer : Control
+#endif
{
[MonoTODO]
public ByteViewer()
@@ -54,7 +58,7 @@
}
[MonoTODO]
- public byte[] GetBytes ()
+ public virtual byte[] GetBytes ()
{
throw new NotImplementedException();
}
@@ -95,11 +99,20 @@
throw new NotImplementedException();
}
+#if NET_2_0
+
[MonoTODO]
+ protected override void OnLayout (LayoutEventArgs e)
+ {
+ throw new NotImplementedException();
+ }
+#else
+ [MonoTODO]
protected override void OnResize (EventArgs e)
{
throw new NotImplementedException();
}
+#endif
[MonoTODO]
protected virtual void ScrollChanged (object source, EventArgs
e)
Modified: trunk/mcs/class/System.Design/System.ComponentModel.Design/ChangeLog
===================================================================
--- trunk/mcs/class/System.Design/System.ComponentModel.Design/ChangeLog
2007-09-28 12:52:48 UTC (rev 86570)
+++ trunk/mcs/class/System.Design/System.ComponentModel.Design/ChangeLog
2007-09-28 13:10:05 UTC (rev 86571)
@@ -1,5 +1,9 @@
2007-09-28 Atsushi Enomoto <[EMAIL PROTECTED]>
+ * ByteViewer.cs : last one mile to finish 2.0 API (metadata wise).
+
+2007-09-28 Atsushi Enomoto <[EMAIL PROTECTED]>
+
* ExceptionCollection.cs, IComponentDesignerDebugService.cs,
IComponentDesignerStateService.cs,
MenuCommandsChangedEventArgs.cs,
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches