fix(legacy): complete hosted module cleanup
This commit is contained in:
@@ -2524,7 +2524,7 @@ namespace Lskj.Control
|
||||
DllName = "",
|
||||
Id = this.Model.ModuleCode,
|
||||
Name = this.Model.FormText,
|
||||
BeforePage = ERPInfo.Instance.PageControl.SelectedTabPage
|
||||
BeforePage = ERPInfo.Instance.CurrentModulePage
|
||||
};
|
||||
module.ModuleForm = frmGridSift;
|
||||
string guid = Guid.NewGuid().ToString();
|
||||
@@ -2541,8 +2541,8 @@ namespace Lskj.Control
|
||||
tp.Controls.Add(frmGridSift);
|
||||
tp.ShowCloseButton = DefaultBoolean.True;
|
||||
tp.Dock = DockStyle.Fill;
|
||||
ERPInfo.Instance.PageControl.TabPages.Add(tp);
|
||||
ERPInfo.Instance.PageControl.SelectedTabPage = tp;
|
||||
ERPInfo.Instance.AddModulePage(tp);
|
||||
ERPInfo.Instance.CurrentModulePage = tp;
|
||||
ERPInfo.Instance.ModuleForms.Add(guid, module);
|
||||
frmGridSift.Show();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user