SVN-Revision: r412
This commit is contained in:
tdx
2025-03-27 06:05:21 +00:00
parent 53b57f4417
commit d2b9dca63f
+2 -30
View File
@@ -222,38 +222,10 @@ namespace Lskj.ProductiSched
OnBandedViewColumnWidthChanged(bandGcTop.BandedView, null); OnBandedViewColumnWidthChanged(bandGcTop.BandedView, null);
} }
} }
else if (tabBottom.TabControlObj.TabPages.Count == 0)
{ {
splitLeftControl.PanelVisibility = DevExpress.XtraEditors.SplitPanelVisibility.Panel1; splitLeftControl.PanelVisibility = DevExpress.XtraEditors.SplitPanelVisibility.Panel1;
} }
//下方表格
//if (DataModel.BottomSysModel != null && !string.IsNullOrEmpty(DataModel.BottomSysModel.ModuleCode))
//{
// bandGcBottom.Model = DataModel.BottomSysModel;
// bandGcBottom.SetEditColumns(DataModel.BottomGridColumns, GridCustomColumnStruct.BaseMainGridView + DataModel.BottomModuleModel.FormKey);
// bandGcBottom.SetGridRightMenus(BaseModuleImpl.GetBaseGridRightMenus(DataModel.BottomModuleModel.ModeCode), DataModel.BottomSysModel);
// bandGcBottom.SetGridRowColors(BaseModuleImpl.GetBaseGridRowColors(DataModel.BottomModuleModel.ModeCode));
// AddDataColumns(bandGcBottom);
// foreach (GridBand gridBand in bandGcBottom.BandedView.Bands)
// {
// gridBand.OptionsBand.AllowSize = false;
// foreach (BandedGridColumn bandedGridColumn in gridBand.Columns)
// {
// bandedGridColumn.OptionsColumn.AllowSize = false;
// }
// }
// bandGcBottom.BandedView.OptionsBehavior.Editable = false;
// if (TreeMultiHeader)
// {
// OnBandedViewColumnWidthChanged(treebandGcTop.TreeListObj, null);
// }
// else
// {
// OnBandedViewColumnWidthChanged(bandGcTop.BandedView, null);
// }
//}
//右侧表格 //右侧表格
if (!string.IsNullOrEmpty(DataModel.RightSysModel.ModuleCode)) if (!string.IsNullOrEmpty(DataModel.RightSysModel.ModuleCode))
{ {
@@ -951,7 +923,7 @@ namespace Lskj.ProductiSched
/// </summary> /// </summary>
private void OnBandedViewColumnWidthChanged(object sender, EventArgs e) private void OnBandedViewColumnWidthChanged(object sender, EventArgs e)
{ {
if (bandGcBottom.Visible) if (bandGcBottom != null)
{ {
int allWidth = 0; int allWidth = 0;