namespace Yw.WinFrmUI { /// /// layoutControl拓展类 /// public static class LayoutControlExtensions { /// /// 设置 /// public static void SetupLayoutControl(this LayoutControl layout) { layout.AllowCustomization = false; layout.OptionsView.UseParentAutoScaleFactor = true; } } }