提交当前本机整理版本

This commit is contained in:
cyf
2026-07-02 10:11:39 +00:00
parent c10a5d64c7
commit aacefa24f8
822 changed files with 196665 additions and 14263 deletions
+22 -1
View File
@@ -509,4 +509,25 @@ namespace Lskj.BaseAccraditation
/// <para>创建日期:2021-11-23 </para>
/// <para>修改人:</para>
/// <para>修改日期:</para>
/// <para>修改
/// <para>修改备注:</para>
/// <para>版本:1.0</para>
/// </summary>
public void refreshThePage(string promptInformation, string id)
{
this.auditPanelObj.RefreshTabPage();
if (!string.IsNullOrWhiteSpace(promptInformation)) MessageUtil.Show(promptInformation);
//上一次点开page
XtraTabPage beforePage = ERPInfo.Instance.ModuleForms[id].BeforePage;
//要删除的page
XtraTabPage removePage = new XtraTabPage();
ERPInfo.Instance.ModuleForms.Remove(id);
foreach (XtraTabPage tablepage in ERPInfo.Instance.PageControl.TabPages)
{
if (tablepage.Tag == null) continue;
if (tablepage.Tag.ToString().Equals(id)) removePage = tablepage;
if (tablepage == beforePage) ERPInfo.Instance.PageControl.SelectedTabPage = beforePage;
}
ERPInfo.Instance.PageControl.TabPages.Remove(removePage);
}
}
}