SVN-Revision: r807
This commit is contained in:
wyf
2025-06-27 09:40:11 +00:00
parent d0bf2c89e3
commit 0da4640550
+5 -4
View File
@@ -76,7 +76,7 @@ namespace Lskj.Control
/// <summary>
/// 日期类型控件名称
/// </summary>
private List<string> DateColumnNames=new List<string>();
private List<string> DateColumnNames = new List<string>();
/// <summary>
@@ -1418,13 +1418,11 @@ namespace Lskj.Control
gridColumn.OptionsFilter.FilterPopupMode = FilterPopupMode.CheckedList;
gridColumn.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
if (!string.IsNullOrEmpty(model.AutoPadDataReleColName))
{
AutoPadDataReleColList.Add(model);
}
// 设置列格式化、汇总
this.SetColumnFormat(gridColumn, model);
this.SetColumnSumming(gridColumn, model);
@@ -1652,7 +1650,10 @@ namespace Lskj.Control
protected void SetGridRowHeightAndFont()
{
if (SystemInfo.Instance.GridRowFontSize > 0)
{
this.gcMain.Appearance.Row.Font = new Font("微软雅黑", SystemInfo.Instance.GridRowFontSize);
this.gcMain.Appearance.HeaderPanel.Font = new Font("微软雅黑", SystemInfo.Instance.GridRowFontSize);
}
if (SystemInfo.Instance.GridRowHeight > 0)
{
this.gcMain.ColumnPanelRowHeight = this.gcMain.RowHeight = SystemInfo.Instance.GridRowHeight;
@@ -3023,7 +3024,7 @@ namespace Lskj.Control
e.Appearance.BackColor = ColorTranslator.FromHtml("#9feb6a");
}
/// <summary>
/// 粘贴功能