using System.ComponentModel;
using System.Drawing;
+using System.Runtime.InteropServices;
namespace System.Windows.Forms.Design
{
+ [ClassInterfaceAttribute (ClassInterfaceType.AutoDispatch)]
+ [ComVisible (true)]
public abstract class ComponentEditorPage : Panel
{
private bool commitOnDeactivate = false;
{
}
- public bool CommitOnDeactivate {
+ [Browsable (false)]
+ [EditorBrowsable (EditorBrowsableState.Never)]
+ [DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)]
+ new public virtual bool AutoSize {
+ get { return base.AutoSize; }
+ set { base.AutoSize = value; }
+ }
+
+ public bool CommitOnDeactivate
+ {
get { return commitOnDeactivate; }
set { commitOnDeactivate = value; }
}
{
return false;
}
+
+ #region Public Events
+ [Browsable (false)]
+ [EditorBrowsable (EditorBrowsableState.Never)]
+ public new event EventHandler AutoSizeChanged {
+ add { base.AutoSizeChanged += value; }
+ remove { base.AutoSizeChanged -= value; }
+ }
+ #endregion
}
}