using System.ComponentModel; using System.Drawing; using System.Windows.Forms; namespace RyzStudio.Windows.Forms { public class TUserControl : UserControl { public TUserControl() : base() { } [Browsable(false), EditorBrowsable(EditorBrowsableState.Never)] public override Image BackgroundImage { get => base.BackgroundImage; set => base.BackgroundImage = value; } [Browsable(false), EditorBrowsable(EditorBrowsableState.Never)] public override ImageLayout BackgroundImageLayout { get => base.BackgroundImageLayout; set => base.BackgroundImageLayout = value; } [Browsable(false), EditorBrowsable(EditorBrowsableState.Never)] public new BorderStyle BorderStyle { get => base.BorderStyle; set => base.BorderStyle = value; } [Browsable(false), EditorBrowsable(EditorBrowsableState.Never)] public override Cursor Cursor { get => base.Cursor; set => base.Cursor = value; } [Browsable(false), EditorBrowsable(EditorBrowsableState.Never)] public override Font Font { get => base.Font; set => base.Font = value; } [Browsable(false), EditorBrowsable(EditorBrowsableState.Never)] public override Color ForeColor { get => base.ForeColor; set => base.ForeColor = value; } [Browsable(false), EditorBrowsable(EditorBrowsableState.Never)] public override RightToLeft RightToLeft { get => base.RightToLeft; set => base.RightToLeft = value; } [Browsable(false), EditorBrowsable(EditorBrowsableState.Never)] public new bool UseWaitCursor { get => base.UseWaitCursor; set => base.UseWaitCursor = value; } [Browsable(false), EditorBrowsable(EditorBrowsableState.Never)] public override bool AllowDrop { get => base.AllowDrop; set => base.AllowDrop = value; } [Browsable(false), EditorBrowsable(EditorBrowsableState.Never)] public override AutoValidate AutoValidate { get => base.AutoValidate; set => base.AutoValidate = value; } //[Browsable(false), EditorBrowsable(EditorBrowsableState.Never)] //public override ContextMenuStrip ContextMenuStrip { get => base.ContextMenuStrip; set => base.ContextMenuStrip = value; } [Browsable(false), EditorBrowsable(EditorBrowsableState.Never)] public new ImeMode ImeMode { get => base.ImeMode; set => base.ImeMode = value; } [Browsable(false), EditorBrowsable(EditorBrowsableState.Never)] public override bool AutoScroll { get => base.AutoScroll; set => base.AutoScroll = value; } [Browsable(false), EditorBrowsable(EditorBrowsableState.Never)] public new Size AutoScrollMargin { get => base.AutoScrollMargin; set => base.AutoScrollMargin = value; } [Browsable(false), EditorBrowsable(EditorBrowsableState.Never)] public new Size AutoScrollMinSize { get => base.AutoScrollMinSize; set => base.AutoScrollMinSize = value; } [Browsable(false), EditorBrowsable(EditorBrowsableState.Never)] public override bool AutoSize { get => base.AutoSize; set => base.AutoSize = value; } [Browsable(false), EditorBrowsable(EditorBrowsableState.Never)] public new AutoSizeMode AutoSizeMode { get => base.AutoSizeMode; set => base.AutoSizeMode = value; } [Browsable(false), EditorBrowsable(EditorBrowsableState.Never)] public override Size MaximumSize { get => base.MaximumSize; set => base.MaximumSize = value; } [Browsable(false), EditorBrowsable(EditorBrowsableState.Never)] public override Size MinimumSize { get => base.MinimumSize; set => base.MinimumSize = value; } } }