Files
mono/mcs/class/System.Windows.Forms/System.Windows.Forms.Design/ComponentEditor.cs
T
Alexandre Pigolkine 82de61aee3 stubs added
svn path=/trunk/mcs/; revision=17759
2003-08-31 00:58:45 +00:00

55 lines
1.1 KiB
C#

//
// 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;
}
}
}