| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- //
- // System.Windows.Forms.Design.ComponentEditorForm.cs
- //
- // Author:
- // Dennis Hayes ([email protected])
- // (C) 2002 Ximian, Inc. http://www.ximian.com
- //
- using System;
- using System.ComponentModel;
- namespace System.Windows.Forms.Design
- {
- /// <summary>
- /// Summary description for WindowsFormsComponentEditor.
- /// </summary>
- public abstract class ComponentEditor
- {
- public ComponentEditor()
- {
- //
- // TODO: Add constructor logic here
- //
- }
-
- public bool EditComponent(object obj)
- {
- return false;
- }
-
- public abstract bool EditComponent(ITypeDescriptorContext ctx, object obj);
- }
-
- public class WindowsFormsComponentEditor : ComponentEditor
- {
- public WindowsFormsComponentEditor()
- {
- }
-
- public override bool EditComponent(ITypeDescriptorContext ctx, object obj)
- {
- return false;
- }
-
- public bool EditComponent(object obj, IWin32Window iwnd)
- {
- return false;
- }
-
- public virtual bool EditComponent(ITypeDescriptorContext ctx, object obj, IWin32Window iwnd)
- {
- return false;
- }
- }
- }
|