2 // System.Windows.Forms.Design.ComponentDocumentDesigner.cs
5 // Dennis Hayes (dennish@raytek.com)
6 // (C) 2002 Ximian, Inc. http://www.ximian.com
10 // Permission is hereby granted, free of charge, to any person obtaining
11 // a copy of this software and associated documentation files (the
12 // "Software"), to deal in the Software without restriction, including
13 // without limitation the rights to use, copy, modify, merge, publish,
14 // distribute, sublicense, and/or sell copies of the Software, and to
15 // permit persons to whom the Software is furnished to do so, subject to
16 // the following conditions:
18 // The above copyright notice and this permission notice shall be
19 // included in all copies or substantial portions of the Software.
21 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
22 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
23 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
24 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
25 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
26 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
27 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
31 using System.Collections;
32 using System.ComponentModel;
33 using System.ComponentModel.Design;
34 using System.Drawing.Design;
35 using System.Windows.Forms;
37 namespace System.Windows.Forms.Design
39 public class ComponentDocumentDesigner : ComponentDesigner, IRootDesigner, IToolboxUser, ITypeDescriptorFilterService, IOleDragClient
41 #region Public Instance Constructors
44 public ComponentDocumentDesigner ()
48 #endregion Public Instance Constructors
50 #region Implementation of IRootDesigner
52 ViewTechnology[] IRootDesigner.SupportedTechnologies
56 ViewTechnology[] array1 = new ViewTechnology[1];
57 array1[0] = ViewTechnology.WindowsForms;
63 object IRootDesigner.GetView (ViewTechnology technology)
65 throw new NotImplementedException ();
68 #endregion Implementation of IRootDesigner
70 #region Implementation of IToolboxUser
72 bool IToolboxUser.GetToolSupported (ToolboxItem tool)
78 void IToolboxUser.ToolPicked (ToolboxItem tool)
80 throw new NotImplementedException ();
83 #endregion Implementation of IToolboxUser
85 #region Implementation of ITypeDescriptorFilterService
88 bool ITypeDescriptorFilterService.FilterAttributes (IComponent component, IDictionary attributes)
90 throw new NotImplementedException ();
94 bool ITypeDescriptorFilterService.FilterEvents (IComponent component, IDictionary events)
96 throw new NotImplementedException ();
100 bool ITypeDescriptorFilterService.FilterProperties (IComponent component, IDictionary properties)
102 throw new NotImplementedException ();
105 #endregion Implementation of ITypeDescriptorFilterService
107 #region Implementation of IOleDragClient
110 bool IOleDragClient.AddComponent (IComponent component, string name, bool firstAdd)
112 throw new NotImplementedException ();
115 bool IOleDragClient.CanModifyComponents
124 Control IOleDragClient.GetControlForComponent (object component)
126 throw new NotImplementedException ();
130 Control IOleDragClient.GetDesignerControl ()
132 throw new NotImplementedException ();
136 bool IOleDragClient.IsDropOk (IComponent component)
142 IComponent IOleDragClient.Component
146 throw new NotImplementedException ();
150 #endregion Implementation of IOleDragClient
152 #region Public Instance Properties
155 public Control Control
159 throw new NotImplementedException ();
163 public bool TrayAutoArrange
167 throw new NotImplementedException ();
171 throw new NotImplementedException ();
174 public bool TrayLargeIcon
178 throw new NotImplementedException ();
182 throw new NotImplementedException ();
186 #endregion Public Instance Properties
189 public override void Initialize (IComponent component)
191 throw new NotImplementedException ();
195 protected override void Dispose (bool disposing)
197 throw new NotImplementedException ();
200 protected virtual bool GetToolSupported (ToolboxItem tool)
205 #region Override implementation of ComponentDesigner
208 protected override void PreFilterProperties (IDictionary properties)
210 throw new NotImplementedException ();
213 #endregion Override implementation of ComponentDesigner