mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 01:41:17 -10:00
55 lines
1.1 KiB
C#
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;
|
|
}
|
|
}
|
|
|
|
}
|