From 9ce8cb1ee053fb5ad4b51d724a5736e0e27ff0aa Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期五, 23 五月 2025 09:10:52 +0800 Subject: [PATCH] 仓库 --- DevApp/Gs.DevApp/UserControl/UcLookUser.cs | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/DevApp/Gs.DevApp/UserControl/UcLookUser.cs b/DevApp/Gs.DevApp/UserControl/UcLookUser.cs index 9ad337d..06ba467 100644 --- a/DevApp/Gs.DevApp/UserControl/UcLookUser.cs +++ b/DevApp/Gs.DevApp/UserControl/UcLookUser.cs @@ -1,5 +1,4 @@ -锘縰sing DevExpress.XtraEditors; -using Gs.DevApp.Entity; +锘縰sing Gs.DevApp.Entity; using Gs.DevApp.ToolBox; using Newtonsoft.Json; using System; @@ -19,7 +18,7 @@ } - public bool IsReadly { get; set; } + private bool _rdy; public bool IsReadly { set { _rdy = value; this.lookSearchSupplier.ReadOnly = _rdy; } get { return _rdy; } } /// <summary> /// 鏀瑰彉浜嬩欢 @@ -44,6 +43,8 @@ lookSearchSupplier.Properties.DataSource = dt; lookSearchSupplier.Properties.DisplayMember = "userName"; lookSearchSupplier.Properties.ValueMember = "guid"; + lookSearchSupplier.ForceInitialize(); + lookSearchSupplier.Properties.BestFitMode = DevExpress.XtraEditors.Controls.BestFitMode.BestFitResizePopup; } catch (Exception ex) { -- Gitblit v1.9.3