* UITreeView: 去掉窗体控件的默认设计器

This commit is contained in:
Sunny 2022-08-12 21:45:59 +08:00
parent e916d6911d
commit aac3925c6a
2 changed files with 0 additions and 2 deletions

View File

@ -44,7 +44,6 @@ namespace Sunny.UI
{ {
[DefaultEvent("AfterSelect")] [DefaultEvent("AfterSelect")]
[DefaultProperty("Nodes")] [DefaultProperty("Nodes")]
[Designer("System.Windows.Forms.Design.TreeViewDesigner, " + AssemblyRefEx.SystemDesign)]
public sealed class UITreeView : UIPanel, IToolTip public sealed class UITreeView : UIPanel, IToolTip
{ {
private UIScrollBar Bar; private UIScrollBar Bar;

View File

@ -29,7 +29,6 @@ using System.Windows.Forms;
#pragma warning disable 1591 #pragma warning disable 1591
namespace Sunny.UI namespace Sunny.UI
{ {
[Designer("System.Windows.Forms.Design.ParentControlDesigner, System.Design", typeof(System.ComponentModel.Design.IDesigner))]
[DefaultEvent("Click"), DefaultProperty("Text")] [DefaultEvent("Click"), DefaultProperty("Text")]
public partial class UIUserControl : UserControl, IStyleInterface, IZoomScale public partial class UIUserControl : UserControl, IStyleInterface, IZoomScale
{ {