Author: atsushi
Date: 2007-10-09 12:19:51 -0400 (Tue, 09 Oct 2007)
New Revision: 87187

Added:
   
trunk/mcs/class/System.Design/System.Windows.Forms.Design/BorderSidesEditor.cs
   trunk/mcs/class/System.Design/System.Windows.Forms.Design/DesignerOptions.cs
   
trunk/mcs/class/System.Design/System.Windows.Forms.Design/ImageListCodeDomSerializer.cs
   
trunk/mcs/class/System.Design/System.Windows.Forms.Design/ImageListImageEditor.cs
   trunk/mcs/class/System.Design/System.Windows.Forms.Design/MaskDescriptor.cs
   
trunk/mcs/class/System.Design/System.Windows.Forms.Design/ShortcutKeysEditor.cs
   
trunk/mcs/class/System.Design/System.Windows.Forms.Design/WindowsFormsDesignerOptionService.cs
   trunk/mcs/class/System.Design/Test/System.Windows.Forms.Design/
   trunk/mcs/class/System.Design/Test/System.Windows.Forms.Design/ChangeLog
   
trunk/mcs/class/System.Design/Test/System.Windows.Forms.Design/MenuCommandsTest.cs
Modified:
   trunk/mcs/class/System.Design/ChangeLog
   trunk/mcs/class/System.Design/System.Design.dll.sources
   trunk/mcs/class/System.Design/System.Design_test.dll.sources
   trunk/mcs/class/System.Design/System.Windows.Forms.Design/AxImporter.cs
   trunk/mcs/class/System.Design/System.Windows.Forms.Design/ChangeLog
   trunk/mcs/class/System.Design/System.Windows.Forms.Design/ComponentTray.cs
   trunk/mcs/class/System.Design/System.Windows.Forms.Design/ControlDesigner.cs
   trunk/mcs/class/System.Design/System.Windows.Forms.Design/DocumentDesigner.cs
   trunk/mcs/class/System.Design/System.Windows.Forms.Design/MenuCommands.cs
   
trunk/mcs/class/System.Design/System.Windows.Forms.Design/ParentControlDesigner.cs
Log:
2007-10-09  Atsushi Enomoto  <[EMAIL PROTECTED]>

        * BorderSidesEditor.cs, DesignerOptions.cs,
          ImageListCodeDomSerializer.cs, ImageListImageEditor.cs,
          MaskDescriptor.cs, ShortcutKeysEditor.cs,
          WindowsFormsDesignerOptionService.cs : new stubs.
        * AxImporter.cs, ComponentTray.cs, ControlDesigner.cs,
          DocumentDesigner.cs, MenuCommands.cs, ParentControlDesigner.cs:
          2.0 updates.

        * MenuCommandsTest.cs : new test.

        * System.Design.dll.sources : more .NET 2.0 types.
        * System.Design_test.dll.sources :
          added Test/Sys.Win.Forms.Design/MenuCommandsTest.cs



Modified: trunk/mcs/class/System.Design/ChangeLog
===================================================================
--- trunk/mcs/class/System.Design/ChangeLog     2007-10-09 16:19:37 UTC (rev 
87186)
+++ trunk/mcs/class/System.Design/ChangeLog     2007-10-09 16:19:51 UTC (rev 
87187)
@@ -1,3 +1,9 @@
+2007-10-09  Atsushi Enomoto  <[EMAIL PROTECTED]>
+
+       * System.Design.dll.sources : more .NET 2.0 types.
+       * System.Design_test.dll.sources :
+         added Test/Sys.Win.Forms.Design/MenuCommandsTest.cs
+
 2007-10-05  Atsushi Enomoto  <[EMAIL PROTECTED]>
 
        * System.Design.dll.sources : more .NET 2.0 types.

Modified: trunk/mcs/class/System.Design/System.Design.dll.sources
===================================================================
--- trunk/mcs/class/System.Design/System.Design.dll.sources     2007-10-09 
16:19:37 UTC (rev 87186)
+++ trunk/mcs/class/System.Design/System.Design.dll.sources     2007-10-09 
16:19:51 UTC (rev 87187)
@@ -257,6 +257,7 @@
 System.Windows.Forms.Design/AxImporter.cs
 System.Windows.Forms.Design/AxParameterData.cs
 System.Windows.Forms.Design/AxWrapperGen.cs
+System.Windows.Forms.Design/BorderSidesEditor.cs
 System.Windows.Forms.Design/ComponentDocumentDesigner.cs
 System.Windows.Forms.Design/ComponentTray.cs
 System.Windows.Forms.Design/ControlBindingsConverter.cs
@@ -266,6 +267,7 @@
 System.Windows.Forms.Design/DataMemberFieldEditor.cs
 System.Windows.Forms.Design/DataMemberListEditor.cs
 System.Windows.Forms.Design/DataSourceConverter.cs
+System.Windows.Forms.Design/DesignerOptions.cs
 System.Windows.Forms.Design/DockEditor.cs
 System.Windows.Forms.Design/DocumentDesigner.cs
 System.Windows.Forms.Design/EventHandlerService.cs
@@ -274,23 +276,28 @@
 System.Windows.Forms.Design/FormatStringEditor.cs
 System.Windows.Forms.Design/ImageCollectionEditor.cs
 System.Windows.Forms.Design/ImageIndexEditor.cs
+System.Windows.Forms.Design/ImageListCodeDomSerializer.cs
+System.Windows.Forms.Design/ImageListImageEditor.cs
 System.Windows.Forms.Design/IMenuEditorService.cs
 System.Windows.Forms.Design/IMessageReceiver.cs
 System.Windows.Forms.Design/IOleDragClient.cs
 System.Windows.Forms.Design/ISelectionUIHandler.cs
 System.Windows.Forms.Design/IUISelectionService.cs
 System.Windows.Forms.Design/ListControlStringCollectionEditor.cs
+System.Windows.Forms.Design/MaskDescriptor.cs
 System.Windows.Forms.Design/MenuCommands.cs
 System.Windows.Forms.Design/Native.cs
 System.Windows.Forms.Design/ParentControlDesigner.cs
 System.Windows.Forms.Design/ScrollableControlDesigner.cs
 System.Windows.Forms.Design/SelectionFrame.cs
 System.Windows.Forms.Design/SelectionRules.cs
+System.Windows.Forms.Design/ShortcutKeysEditor.cs
 System.Windows.Forms.Design/SplitContainerDesigner.cs
 System.Windows.Forms.Design/StringArrayEditor.cs
 System.Windows.Forms.Design/StringCollectionEditor.cs
 System.Windows.Forms.Design/TabPageCollectionEditor.cs
 System.Windows.Forms.Design/UISelectionService.cs
+System.Windows.Forms.Design/WindowsFormsDesignerOptionService.cs
 System.Windows.Forms.Design/WndProcRouter.cs
 System.Windows.Forms.Design.Behavior/Adorner.cs
 System.Windows.Forms.Design.Behavior/Behavior.cs

Modified: trunk/mcs/class/System.Design/System.Design_test.dll.sources
===================================================================
--- trunk/mcs/class/System.Design/System.Design_test.dll.sources        
2007-10-09 16:19:37 UTC (rev 87186)
+++ trunk/mcs/class/System.Design/System.Design_test.dll.sources        
2007-10-09 16:19:51 UTC (rev 87187)
@@ -1,3 +1,4 @@
 System.ComponentModel.Design/DesignerActionListsChangedEventArgsTest.cs
 System.ComponentModel.Design/DesignerActionMethodItemTest.cs
 System.ComponentModel.Design/DesignerActionPropertyItemTest.cs
+System.Windows.Forms.Design/MenuCommandsTest.cs

Modified: 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/AxImporter.cs
===================================================================
--- trunk/mcs/class/System.Design/System.Windows.Forms.Design/AxImporter.cs     
2007-10-09 16:19:37 UTC (rev 87186)
+++ trunk/mcs/class/System.Design/System.Windows.Forms.Design/AxImporter.cs     
2007-10-09 16:19:51 UTC (rev 87187)
@@ -128,20 +128,37 @@
 
                        #region Public Instance Fields
 
+                       [MonoTODO]
                        public bool delaySign;
+                       [MonoTODO]
                        public bool genSources;
+                       [MonoTODO]
                        public string keyContainer;
+                       [MonoTODO]
                        public string keyFile;
+                       [MonoTODO]
                        public StrongNameKeyPair keyPair;
 
+                       [MonoTODO]
                        public bool noLogo;
+                       [MonoTODO]
                        public string outputDirectory;
+                       [MonoTODO]
                        public string outputName;
+                       [MonoTODO]
                        public bool overwriteRCW;
+                       [MonoTODO]
                        public byte[] publicKey;
+                       [MonoTODO]
                        public AxImporter.IReferenceResolver references;
+                       [MonoTODO]
                        public bool silentMode;
+                       [MonoTODO]
                        public bool verboseMode;
+#if NET_2_0
+                       [MonoTODO]
+                       public bool msBuildErrors;
+#endif
 
                        #endregion Public Instance Fields
                }

Added: 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/BorderSidesEditor.cs
===================================================================
--- 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/BorderSidesEditor.cs  
    2007-10-09 16:19:37 UTC (rev 87186)
+++ 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/BorderSidesEditor.cs  
    2007-10-09 16:19:51 UTC (rev 87187)
@@ -0,0 +1,62 @@
+//
+// System.Windows.Forms.Design.BorderSidesEditor.cs
+//
+// Author:
+//     Atsushi Enomoto ([EMAIL PROTECTED])
+//
+// Copyright (C) 2007 Novell, Inc.
+//
+
+//
+// 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.
+//
+
+#if NET_2_0
+
+using System;
+using System.ComponentModel;
+using System.ComponentModel.Design;
+using System.Drawing.Design;
+using System.Security.Permissions;
+
+namespace System.Windows.Forms.Design
+{
+       [SecurityPermission (SecurityAction.Demand, Flags = 
SecurityPermissionFlag.UnmanagedCode)]
+       public class BorderSidesEditor : UITypeEditor
+       {
+               public BorderSidesEditor ()
+               {
+               }
+
+               [MonoTODO]
+               public override object EditValue (ITypeDescriptorContext 
context, IServiceProvider provider, object value)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public override UITypeEditorEditStyle GetEditStyle 
(ITypeDescriptorContext context)
+               {
+                       throw new NotImplementedException ();
+               }
+       }
+}
+
+#endif


Property changes on: 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/BorderSidesEditor.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: trunk/mcs/class/System.Design/System.Windows.Forms.Design/ChangeLog
===================================================================
--- trunk/mcs/class/System.Design/System.Windows.Forms.Design/ChangeLog 
2007-10-09 16:19:37 UTC (rev 87186)
+++ trunk/mcs/class/System.Design/System.Windows.Forms.Design/ChangeLog 
2007-10-09 16:19:51 UTC (rev 87187)
@@ -1,3 +1,13 @@
+2007-10-09  Atsushi Enomoto  <[EMAIL PROTECTED]>
+
+       * BorderSidesEditor.cs, DesignerOptions.cs,
+         ImageListCodeDomSerializer.cs, ImageListImageEditor.cs,
+         MaskDescriptor.cs, ShortcutKeysEditor.cs,
+         WindowsFormsDesignerOptionService.cs : new stubs.
+       * AxImporter.cs, ComponentTray.cs, ControlDesigner.cs,
+         DocumentDesigner.cs, MenuCommands.cs, ParentControlDesigner.cs:
+         2.0 updates.
+
 2007-10-02  Atsushi Enomoto  <[EMAIL PROTECTED]>
 
        * ControlDesigner.cs : added BehaviorService.

Modified: 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/ComponentTray.cs
===================================================================
--- trunk/mcs/class/System.Design/System.Windows.Forms.Design/ComponentTray.cs  
2007-10-09 16:19:37 UTC (rev 87186)
+++ trunk/mcs/class/System.Design/System.Windows.Forms.Design/ComponentTray.cs  
2007-10-09 16:19:51 UTC (rev 87187)
@@ -70,6 +70,7 @@
                        set { _autoArrange = value; }
                }
 
+               [MonoTODO]
                public int ComponentCount {
                        get { return 0; }
                }
@@ -80,6 +81,7 @@
                }
 
 
+               [MonoTODO]
                public virtual void AddComponent (IComponent component)
                {
                }
@@ -94,10 +96,12 @@
                        return false;
                }
 
+               [MonoTODO]
                public void CreateComponentFromTool (ToolboxItem tool)
                {
                }
 
+               [MonoTODO]
                protected void DisplayError (Exception e)
                {
                }
@@ -106,71 +110,130 @@
                {
                }
 
+#if NET_2_0
+               [Browsable (false)]
+               [Category ("Layout")]
+               [DesignerSerializationVisibility 
(DesignerSerializationVisibility.Hidden)]
+               [DesignOnly (true)]
+               [Localizable (false)]
+#endif
+               [MonoTODO]
                public Point GetLocation (IComponent receiver)
                {
                        return new Point (0,0);
                }
 
+               [MonoTODO]
                public void SetLocation (IComponent receiver, Point location)
                {
                }
 
+#if NET_2_0
+               [MonoTODO]
+               public IComponent GetNextComponent (IComponent component, bool 
forward)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [Browsable (false)]
+               [Category ("Layout")]
+               [DesignOnly (true)]
+               [Localizable (false)]
+               [MonoTODO]
+               public Point GetTrayLocation (IComponent receiver)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public bool IsTrayComponent (IComponent comp)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public void SetTrayLocation (IComponent receiver, Point 
location)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               protected override void OnMouseDoubleClick (MouseEventArgs e)
+               {
+               }
+#else
+               [MonoTODO]
                protected override void OnDoubleClick (EventArgs e)
                {
                }
+#endif
 
+               [MonoTODO]
                protected override void OnDragDrop (DragEventArgs de)
                {
                }
 
+               [MonoTODO]
                protected override void OnDragEnter (DragEventArgs de)
                {
                }
 
+               [MonoTODO]
                protected override void OnDragLeave (EventArgs e)
                {
                }
 
+               [MonoTODO]
                protected override void OnDragOver (DragEventArgs de)
                {
                }
 
+               [MonoTODO]
                protected override void OnGiveFeedback (GiveFeedbackEventArgs 
gfevent)
                {
                }
 
+               [MonoTODO]
                protected override void OnLayout (LayoutEventArgs levent)
                {
                }
 
+               [MonoTODO]
                protected virtual void OnLostCapture ()
                {
                }
 
+               [MonoTODO]
                protected override void OnMouseDown (MouseEventArgs e)
                {
                }
 
+               [MonoTODO]
                protected override void OnMouseMove (MouseEventArgs e)
                {
                }
 
+               [MonoTODO]
                protected override void OnMouseUp (MouseEventArgs e)
                {
                }
 
+               [MonoTODO]
                protected override void OnPaint (PaintEventArgs pe)
                {
                }
 
+               [MonoTODO]
                protected virtual void OnSetCursor ()
                {
                }
 
+               [MonoTODO]
                public virtual void RemoveComponent (IComponent component)
                {
                }
 
+               [MonoTODO]
                protected override void WndProc (ref Message m)
                {
                        base.WndProc (ref m);

Modified: 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/ControlDesigner.cs
===================================================================
--- 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/ControlDesigner.cs    
    2007-10-09 16:19:37 UTC (rev 87186)
+++ 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/ControlDesigner.cs    
    2007-10-09 16:19:51 UTC (rev 87187)
@@ -31,6 +31,7 @@
 using System;
 using System.ComponentModel;
 using System.ComponentModel.Design;
+using System.Runtime.InteropServices;
 using System.Windows.Forms;
 using System.Drawing;
 using System.Drawing.Design;
@@ -852,47 +853,132 @@
 
 #region NET_2_0 Stubs
 
-               /*
+               [ComVisible (true)]
+               public class ControlDesignerAccessibleObject : AccessibleObject
+               {
+                       [MonoTODO]
+                       public ControlDesignerAccessibleObject (ControlDesigner 
designer, Control control)
+                       {
+                               throw new NotImplementedException ();
+                       }
+
+                       [MonoTODO]
+                       public override AccessibleObject GetChild (int index)
+                       {
+                               throw new NotImplementedException ();
+                       }
+
+                       [MonoTODO]
+                       public override int GetChildCount ()
+                       {
+                               throw new NotImplementedException ();
+                       }
+
+                       [MonoTODO]
+                       public override AccessibleObject GetFocused ()
+                       {
+                               throw new NotImplementedException ();
+                       }
+
+                       [MonoTODO]
+                       public override AccessibleObject GetSelected ()
+                       {
+                               throw new NotImplementedException ();
+                       }
+
+                       [MonoTODO]
+                       public override AccessibleObject HitTest (int x, int y)
+                       {
+                               throw new NotImplementedException ();
+                       }
+
+                       [MonoTODO]
+                       public override Rectangle Bounds {
+                               get { throw new NotImplementedException (); }
+                       }
+
+                       [MonoTODO]
+                       public override string DefaultAction {
+                               get { throw new NotImplementedException (); }
+                       }
+
+                       [MonoTODO]
+                       public override string Description {
+                               get { throw new NotImplementedException (); }
+                       }
+
+                       [MonoTODO]
+                       public override string Name {
+                               get { throw new NotImplementedException (); }
+                       }
+
+                       [MonoTODO]
+                       public override AccessibleObject Parent {
+                               get { throw new NotImplementedException (); }
+                       }
+
+                       [MonoTODO]
+                       public override AccessibleRole Role {
+                               get { throw new NotImplementedException (); }
+                       }
+
+                       [MonoTODO]
+                       public override AccessibleStates State {
+                               get { throw new NotImplementedException (); }
+                       }
+
+                       [MonoTODO]
+                       public override string Value {
+                               get { throw new NotImplementedException (); }
+                       }
+               }
+
+               [MonoTODO]
                protected virtual ControlBodyGlyph GetControlGlyph 
(GlyphSelectionType selectionType)
                {
                        throw new NotImplementedException ();
                }
 
+               [MonoTODO]
                public virtual GlyphCollection GetGlyphs (GlyphSelectionType 
selectionType)
                {
                        throw new NotImplementedException ();
                }
-               */
 
+               [MonoTODO]
                public override void InitializeExistingComponent (IDictionary 
defaultValues)
                {
                        throw new NotImplementedException ();
                }
 
+               [MonoTODO]
                public override void InitializeNewComponent (IDictionary 
defaultValues)
                {
                        throw new NotImplementedException ();
                }
 
+               [MonoTODO]
                protected virtual void OnDragComplete (DragEventArgs de)
                {
                        throw new NotImplementedException ();
                }
 
-               public virtual IList SnapLines {
+               [MonoTODO]
+               protected override InheritanceAttribute InheritanceAttribute {
                        get { throw new NotImplementedException (); }
                }
 
-               /*
-               protected BehaviorService BehaviorService {
+               [MonoTODO]
+               public virtual IList SnapLines {
                        get { throw new NotImplementedException (); }
                }
-               */
 
+               [MonoTODO]
                public virtual bool ParticipatesWithSnapLines {
                        get { throw new NotImplementedException (); }
                }
 
+               [MonoTODO]
                public bool AutoResizeHandles {
                        get { throw new NotImplementedException (); }
                        set { throw new NotImplementedException (); }

Added: 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/DesignerOptions.cs
===================================================================
--- 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/DesignerOptions.cs    
    2007-10-09 16:19:37 UTC (rev 87186)
+++ 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/DesignerOptions.cs    
    2007-10-09 16:19:51 UTC (rev 87187)
@@ -0,0 +1,96 @@
+//
+// System.Windows.Forms.Design.DesignerOptions.cs
+//
+// Author:
+//     Atsushi Enomoto ([EMAIL PROTECTED])
+//
+// Copyright (C) 2007 Novell, Inc.
+//
+
+//
+// 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.
+//
+
+#if NET_2_0
+
+using System;
+using System.ComponentModel;
+using System.Drawing;
+
+namespace System.Windows.Forms.Design
+{
+       public class DesignerOptions
+       {
+               public DesignerOptions ()
+               {
+               }
+
+               [MonoTODO]
+               [Browsable (false)]
+               public virtual bool EnableInSituEditing {
+                       get { throw new NotImplementedException (); }
+                       set { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public virtual Size GridSize {
+                       get { throw new NotImplementedException (); }
+                       set { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public virtual bool ObjectBoundSmartTagAutoShow {
+                       get { throw new NotImplementedException (); }
+                       set { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public virtual bool ShowGrid {
+                       get { throw new NotImplementedException (); }
+                       set { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public virtual bool SnapToGrid {
+                       get { throw new NotImplementedException (); }
+                       set { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public virtual bool UseOptimizedCodeGeneration {
+                       get { throw new NotImplementedException (); }
+                       set { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public virtual bool UseSmartTags {
+                       get { throw new NotImplementedException (); }
+                       set { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public virtual bool UseSnapLines {
+                       get { throw new NotImplementedException (); }
+                       set { throw new NotImplementedException (); }
+               }
+       }
+}
+
+#endif


Property changes on: 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/DesignerOptions.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/DocumentDesigner.cs
===================================================================
--- 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/DocumentDesigner.cs   
    2007-10-09 16:19:37 UTC (rev 87186)
+++ 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/DocumentDesigner.cs   
    2007-10-09 16:19:51 UTC (rev 87187)
@@ -34,12 +34,15 @@
 using System.Drawing;
 using System.Drawing.Design;
 using System.Collections;
+#if NET_2_0
+using System.Windows.Forms.Design.Behavior;
+#endif
 
-
-
 namespace System.Windows.Forms.Design
 {
-
+#if NET_2_0
+       [ToolboxItemFilter ("System.Windows.Forms")]
+#endif
        public class DocumentDesigner : ScrollableControlDesigner, 
IRootDesigner, IToolboxUser
        {
 
@@ -300,12 +303,14 @@
                        selection.SetSelectedComponents (new IComponent[] { 
this.Component });
                }
 
+#if !NET_2_0
                // MSDN says overriden
                // 
                public override void OnSetComponentDefaults ()
                {
                        base.OnSetComponentDefaults ();
                }
+#endif
 
                protected override void Dispose (bool disposing)
                {
@@ -328,6 +333,13 @@
 
 #region MSDN says overriden
 
+#if NET_2_0
+               public override GlyphCollection GetGlyphs (GlyphSelectionType 
selectionType)
+               {
+                       return base.GetGlyphs (selectionType);
+               }
+#endif
+
                protected override void WndProc (ref Message m)
                {
                        base.WndProc (ref m);

Added: 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/ImageListCodeDomSerializer.cs
===================================================================
--- 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/ImageListCodeDomSerializer.cs
     2007-10-09 16:19:37 UTC (rev 87186)
+++ 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/ImageListCodeDomSerializer.cs
     2007-10-09 16:19:51 UTC (rev 87187)
@@ -0,0 +1,58 @@
+//
+// System.Windows.Forms.Design.ImageListCodeDomSerializer.cs
+//
+// Author:
+//     Atsushi Enomoto ([EMAIL PROTECTED])
+//
+// Copyright (C) 2007 Novell, Inc.
+//
+
+//
+// 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.
+//
+
+#if NET_2_0
+
+using System;
+using System.ComponentModel.Design.Serialization;
+
+namespace System.Windows.Forms.Design
+{
+       public class ImageListCodeDomSerializer : CodeDomSerializer
+       {
+               public ImageListCodeDomSerializer ()
+               {
+               }
+
+               [MonoTODO]
+               public override object Deserialize 
(IDesignerSerializationManager manager, object codeObject)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public override object Serialize (IDesignerSerializationManager 
manager, object value)
+               {
+                       throw new NotImplementedException ();
+               }
+       }
+}
+
+#endif


Property changes on: 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/ImageListCodeDomSerializer.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Added: 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/ImageListImageEditor.cs
===================================================================
--- 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/ImageListImageEditor.cs
   2007-10-09 16:19:37 UTC (rev 87186)
+++ 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/ImageListImageEditor.cs
   2007-10-09 16:19:51 UTC (rev 87187)
@@ -0,0 +1,77 @@
+//
+// System.Windows.Forms.Design.ImageListImageEditor.cs
+//
+// Author:
+//     Atsushi Enomoto ([EMAIL PROTECTED])
+//
+// Copyright (C) 2007 Novell, Inc.
+//
+
+//
+// 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.
+//
+
+#if NET_2_0 && DRAWING_DESIGN_DEP
+
+using System;
+using System.ComponentModel;
+using System.Drawing.Design;
+
+namespace System.Windows.Forms.Design
+{
+       public class ImageListImageEditor : ImageEditor
+       {
+               public ImageListImageEditor ()
+               {
+               }
+
+               [MonoTODO]
+               public override object EditValue (ITypeDescriptorContext 
context, IServiceProvider provider, object value)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               protected override string GetFileDialogDescription ()
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               protected override Type [] GetImageExtenders ()
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public override bool GetPaintValueSupported 
(ITypeDescriptorContext context)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public override void PaintValue (PaintValueEventArgs e)
+               {
+                       throw new NotImplementedException ();
+               }
+       }
+}
+
+#endif


Property changes on: 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/ImageListImageEditor.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Added: 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/MaskDescriptor.cs
===================================================================
--- trunk/mcs/class/System.Design/System.Windows.Forms.Design/MaskDescriptor.cs 
2007-10-09 16:19:37 UTC (rev 87186)
+++ trunk/mcs/class/System.Design/System.Windows.Forms.Design/MaskDescriptor.cs 
2007-10-09 16:19:51 UTC (rev 87187)
@@ -0,0 +1,89 @@
+//
+// System.Windows.Forms.Design.MaskDescriptor.cs
+//
+// Author:
+//     Atsushi Enomoto ([EMAIL PROTECTED])
+//
+// Copyright (C) 2007 Novell, Inc.
+//
+
+//
+// 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.
+//
+
+#if NET_2_0
+
+using System;
+using System.Globalization;
+
+namespace System.Windows.Forms.Design
+{
+       public abstract class MaskDescriptor
+       {
+               protected MaskDescriptor ()
+               {
+               }
+
+               [MonoTODO]
+               public virtual CultureInfo Culture {
+                       get { throw new NotImplementedException (); }
+               }
+
+               public abstract string Mask { get; }
+
+               public abstract string Name { get; }
+
+               public abstract string Sample { get; }
+
+               public abstract Type ValidatingType { get; }
+
+               [MonoTODO]
+               public override bool Equals (object maskDescriptor)
+               {
+                       return base.Equals (maskDescriptor);
+               }
+               
+               [MonoTODO]
+               public override int GetHashCode ()
+               {
+                       return base.GetHashCode ();
+               }
+               
+               [MonoTODO]
+               public static bool IsValidMaskDescriptor (MaskDescriptor 
maskDescriptor)
+               {
+                       throw new NotImplementedException ();
+               }
+               
+               [MonoTODO]
+               public static bool IsValidMaskDescriptor (MaskDescriptor 
maskDescriptor, out string validationErrorDescription)
+               {
+                       throw new NotImplementedException ();
+               }
+               
+               [MonoTODO]
+               public override string ToString ()
+               {
+                       return base.ToString ();
+               }
+       }
+}
+
+#endif


Property changes on: 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/MaskDescriptor.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/MenuCommands.cs
===================================================================
--- trunk/mcs/class/System.Design/System.Windows.Forms.Design/MenuCommands.cs   
2007-10-09 16:19:37 UTC (rev 87186)
+++ trunk/mcs/class/System.Design/System.Windows.Forms.Design/MenuCommands.cs   
2007-10-09 16:19:51 UTC (rev 87187)
@@ -50,6 +50,7 @@
                        MenuCommands.wfMenuGroup = new Guid 
("{74D21312-2AEE-11d1-8BFB-00A0C90F26F7}");
                        MenuCommands.wfCommandSet = new Guid 
("{74D21313-2AEE-11d1-8BFB-00A0C90F26F7}");
                        MenuCommands.guidVSStd2K = new Guid 
("{1496A755-94DE-11D0-8C3F-00C04FC2AAE2}");
+                       MenuCommands.guidVSStd97 = new Guid 
("{5efc7975-14bc-11cf-9b2b-00aa00573819}");
 
                        MenuCommands.SelectionMenu = new CommandID 
(MenuCommands.wfMenuGroup, 1280);
                        MenuCommands.ContainerMenu = new CommandID 
(MenuCommands.wfMenuGroup, 1281);
@@ -78,6 +79,16 @@
                        MenuCommands.KeySelectNext = new CommandID 
(MenuCommands.guidVSStd2K, 4);
                        MenuCommands.KeySelectPrevious = new CommandID 
(MenuCommands.guidVSStd2K, 5);
                        MenuCommands.KeyTabOrderSelect = new CommandID 
(MenuCommands.wfCommandSet, 16405);
+#if NET_2_0
+                       MenuCommands.KeyHome = new CommandID 
(MenuCommands.guidVSStd2K, 15);
+                       MenuCommands.KeyShiftHome = new CommandID 
(MenuCommands.guidVSStd2K, 16);
+                       MenuCommands.KeyEnd = new CommandID 
(MenuCommands.guidVSStd2K, 17);
+                       MenuCommands.KeyShiftEnd = new CommandID 
(MenuCommands.guidVSStd2K, 18);
+                       MenuCommands.KeyInvokeSmartTag = new CommandID 
(MenuCommands.guidVSStd2K, 147);
+                       MenuCommands.EditLabel = new CommandID 
(MenuCommands.guidVSStd97, 338);
+                       MenuCommands.SetStatusText = new CommandID 
(MenuCommands.wfCommandSet, 16387);
+                       MenuCommands.SetStatusRectangle = new CommandID 
(MenuCommands.wfCommandSet, 16388);
+#endif
                }
 
                #endregion Static Constructor
@@ -111,11 +122,22 @@
                public static readonly CommandID KeyTabOrderSelect;
                public static readonly CommandID SelectionMenu;
                public static readonly CommandID TraySelectionMenu;
+#if NET_2_0
+               public static readonly CommandID EditLabel;
+               public static readonly CommandID KeyEnd;
+               public static readonly CommandID KeyHome;
+               public static readonly CommandID KeyInvokeSmartTag;
+               public static readonly CommandID KeyShiftEnd;
+               public static readonly CommandID KeyShiftHome;
+               public static readonly CommandID SetStatusRectangle;
+               public static readonly CommandID SetStatusText;
+#endif
 
                #endregion Public Static Fields
 
                #region Private Static Fields
 
+               private static readonly Guid guidVSStd97;
                private static readonly Guid guidVSStd2K;
                private static readonly Guid wfCommandSet;
                private static readonly Guid wfMenuGroup;

Modified: 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/ParentControlDesigner.cs
===================================================================
--- 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/ParentControlDesigner.cs
  2007-10-09 16:19:37 UTC (rev 87186)
+++ 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/ParentControlDesigner.cs
  2007-10-09 16:19:51 UTC (rev 87187)
@@ -35,9 +35,10 @@
 using System.Drawing.Drawing2D;
 using System.Drawing.Design;
 using System.Collections;
+#if NET_2_0
+using System.Windows.Forms.Design.Behavior;
+#endif
 
-
-
 namespace System.Windows.Forms.Design
 
 {
@@ -477,6 +478,13 @@
                        }
                }
 
+#if NET_2_0
+               protected override void OnDragComplete (DragEventArgs de)
+               {
+                       base.OnDragComplete (de);
+               }
+#endif
+
                internal override void OnMouseUp ()
                {
                        base.OnMouseUp ();
@@ -588,39 +596,66 @@
 
 #region NET_2_0 Stubs
 #if NET_2_0
-/*
+               [MonoTODO]
                protected virtual bool AllowControlLasso {
                        get { return false; }
                }
 
+               [MonoTODO]
                protected virtual bool AllowGenericDragBox {
                        get { return false; }
                }
 
+               [MonoTODO]
+               protected internal virtual bool AllowSetChildIndexOnDrop {
+                       get { return false; }
+               }
+
+               [MonoTODO]
                public override IList SnapLines {
                        get { return new object [0]; }
                }
 
+               [MonoTODO]
                protected ToolboxItem MouseDragTool {
                        get { return null; }
                }
 
+               [MonoTODO]
                public override void InitializeNewComponent (IDictionary 
defaultValues)
                {
+                       base.InitializeNewComponent (defaultValues);
                }
 
+               [MonoTODO]
                protected void AddPaddingSnapLines (ref ArrayList snapLines)
                {
+                       throw new NotImplementedException ();
                }
 
+               [MonoTODO]
                protected virtual Control GetParentForComponent (IComponent 
component)
                {
+                       throw new NotImplementedException ();
                }
 
+               [MonoTODO]
                protected override ControlBodyGlyph GetControlGlyph 
(GlyphSelectionType selectionType)
                {
+                       return base.GetControlGlyph (selectionType);
                }
-               */
+
+               [MonoTODO]
+               public override GlyphCollection GetGlyphs (GlyphSelectionType 
selectionType)
+               {
+                       return base.GetGlyphs (selectionType);
+               }
+
+               [MonoTODO]
+               protected Rectangle GetUpdatedRect (Rectangle originalRect, 
Rectangle dragRect, bool updateSize)
+               {
+                       throw new NotImplementedException ();
+               }
 #endif
 #endregion
 

Added: 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/ShortcutKeysEditor.cs
===================================================================
--- 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/ShortcutKeysEditor.cs 
    2007-10-09 16:19:37 UTC (rev 87186)
+++ 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/ShortcutKeysEditor.cs 
    2007-10-09 16:19:51 UTC (rev 87187)
@@ -0,0 +1,63 @@
+//
+// System.Windows.Forms.Design.ShortcutKeysEditor.cs
+//
+// Author:
+//     Atsushi Enomoto ([EMAIL PROTECTED])
+//
+// Copyright (C) 2007 Novell, Inc.
+//
+
+//
+// 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.
+//
+
+#if NET_2_0
+
+using System;
+using System.ComponentModel;
+using System.Drawing.Design;
+using System.Security.Permissions;
+
+namespace System.Windows.Forms.Design
+{
+       [SecurityPermission (SecurityAction.Demand, Flags = 
SecurityPermissionFlag.UnmanagedCode)]
+       [PermissionSet (SecurityAction.LinkDemand, Name = "FullTrust")]
+       public class ShortcutKeysEditor : UITypeEditor
+       {
+               public ShortcutKeysEditor ()
+               {
+               }
+
+               [MonoTODO]
+               public override object EditValue (ITypeDescriptorContext 
context, IServiceProvider provider, object value)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public override UITypeEditorEditStyle GetEditStyle 
(ITypeDescriptorContext context)
+               {
+                       throw new NotImplementedException ();
+               }
+
+       }
+}
+
+#endif


Property changes on: 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/ShortcutKeysEditor.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Added: 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/WindowsFormsDesignerOptionService.cs
===================================================================
--- 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/WindowsFormsDesignerOptionService.cs
      2007-10-09 16:19:37 UTC (rev 87186)
+++ 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/WindowsFormsDesignerOptionService.cs
      2007-10-09 16:19:51 UTC (rev 87187)
@@ -0,0 +1,56 @@
+//
+// System.Windows.Forms.Design.ShortcutKeysEditor.cs
+//
+// Author:
+//     Atsushi Enomoto ([EMAIL PROTECTED])
+//
+// Copyright (C) 2007 Novell, Inc.
+//
+
+//
+// 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.
+//
+
+#if NET_2_0
+
+using System;
+using System.ComponentModel.Design;
+
+namespace System.Windows.Forms.Design
+{
+       public class WindowsFormsDesignerOptionService : DesignerOptionService
+       {
+               public WindowsFormsDesignerOptionService ()
+               {
+               }
+
+               public virtual DesignerOptions CompatibilityOptions {
+                       get { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               protected override void PopulateOptionCollection 
(DesignerOptionService.DesignerOptionCollection options)
+               {
+                       throw new NotImplementedException ();
+               }
+       }
+}
+
+#endif


Property changes on: 
trunk/mcs/class/System.Design/System.Windows.Forms.Design/WindowsFormsDesignerOptionService.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Added: trunk/mcs/class/System.Design/Test/System.Windows.Forms.Design/ChangeLog
===================================================================
--- trunk/mcs/class/System.Design/Test/System.Windows.Forms.Design/ChangeLog    
2007-10-09 16:19:37 UTC (rev 87186)
+++ trunk/mcs/class/System.Design/Test/System.Windows.Forms.Design/ChangeLog    
2007-10-09 16:19:51 UTC (rev 87187)
@@ -0,0 +1,3 @@
+2007-10-09  Atsushi Enomoto  <[EMAIL PROTECTED]>
+
+       * MenuCommandsTest.cs : new test.

Added: 
trunk/mcs/class/System.Design/Test/System.Windows.Forms.Design/MenuCommandsTest.cs
===================================================================
--- 
trunk/mcs/class/System.Design/Test/System.Windows.Forms.Design/MenuCommandsTest.cs
  2007-10-09 16:19:37 UTC (rev 87186)
+++ 
trunk/mcs/class/System.Design/Test/System.Windows.Forms.Design/MenuCommandsTest.cs
  2007-10-09 16:19:51 UTC (rev 87187)
@@ -0,0 +1,69 @@
+//
+// MenuCommandsTest.cs
+//
+// Author:
+//       Atsushi Enomoto ([EMAIL PROTECTED])
+//
+// Copyright (C) 2007 Novell, Inc.
+
+//
+// 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.
+//
+
+#if NET_2_0
+
+using System;
+using System.Collections;
+using System.ComponentModel;
+using System.Windows.Forms.Design;
+using NUnit.Framework;
+
+namespace MonoTests.System.Windows.Forms.Design
+{
+       [TestFixture]
+       public class MenuCommandsTest
+       {
+               [Test]
+               public void Commands ()
+               {
+                       Guid wfMenuGroup = new Guid 
("{74D21312-2AEE-11d1-8BFB-00A0C90F26F7}");
+                       Guid wfCommandSet = new Guid 
("{74D21313-2AEE-11d1-8BFB-00A0C90F26F7}");
+                       Guid guidVSStd2K = new Guid 
("{1496A755-94DE-11D0-8C3F-00C04FC2AAE2}");
+                       Guid guidVSStd97 = new Guid 
("{5efc7975-14bc-11cf-9b2b-00aa00573819}");
+                       Assert.AreEqual (guidVSStd97, 
MenuCommands.EditLabel.Guid, "#1-1");
+                       Assert.AreEqual (338, MenuCommands.EditLabel.ID, 
"#1-2");
+                       Assert.AreEqual (guidVSStd2K, MenuCommands.KeyEnd.Guid, 
"#2-1");
+                       Assert.AreEqual (17, MenuCommands.KeyEnd.ID, "#2-2");
+                       Assert.AreEqual (guidVSStd2K, 
MenuCommands.KeyHome.Guid, "#3-1");
+                       Assert.AreEqual (15, MenuCommands.KeyHome.ID, "#3-2");
+                       Assert.AreEqual (guidVSStd2K, 
MenuCommands.KeyInvokeSmartTag.Guid, "#4-1");
+                       Assert.AreEqual (147, 
MenuCommands.KeyInvokeSmartTag.ID, "#4-2");
+                       Assert.AreEqual (guidVSStd2K, 
MenuCommands.KeyShiftEnd.Guid, "#5-1");
+                       Assert.AreEqual (18, MenuCommands.KeyShiftEnd.ID, 
"#5-2");
+                       Assert.AreEqual (guidVSStd2K, 
MenuCommands.KeyShiftHome.Guid, "#6-1");
+                       Assert.AreEqual (16, MenuCommands.KeyShiftHome.ID, 
"#6-2");
+                       Assert.AreEqual (wfCommandSet, 
MenuCommands.SetStatusRectangle.Guid, "#7-1");
+                       Assert.AreEqual (16388, 
MenuCommands.SetStatusRectangle.ID, "#7-2");
+                       Assert.AreEqual (wfCommandSet, 
MenuCommands.SetStatusText.Guid, "#8-1");
+                       Assert.AreEqual (16387, MenuCommands.SetStatusText.ID, 
"#8-2");
+               }
+       }
+}
+#endif


Property changes on: 
trunk/mcs/class/System.Design/Test/System.Windows.Forms.Design/MenuCommandsTest.cs
___________________________________________________________________
Name: svn:eol-style
   + native

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

Reply via email to