From 2b3750fda8303e8322ab146778dfc7ad47e75d31 Mon Sep 17 00:00:00 2001
From: lu <123456>
Date: 星期三, 13 八月 2025 10:23:53 +0800
Subject: [PATCH] bug
---
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