SVN-Revision: r649
This commit is contained in:
tdx
2025-05-29 09:44:44 +00:00
parent d110a6b666
commit fda12c3c48
@@ -26,6 +26,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
using System.Data; using System.Data;
using System.Diagnostics;
using System.Drawing; using System.Drawing;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
@@ -2892,8 +2893,18 @@ namespace Lskj.Main.Control
if (Manager.ModuleForms.ContainsKey(guid)) if (Manager.ModuleForms.ContainsKey(guid))
{ {
Form form = m.ModuleForm as Form; Form form = m.ModuleForm as Form;
if (form != null) form.Close(); if (form != null)
{
form.Close();
}
if (m.ModuleInPtr != null)
{
HandleHelper.SendMessage(m.ModuleInPtr, 0x0010, 0, 0);
}
if (m.ModuleProcess != null)
{
m.ModuleProcess.Kill();
}
bool isclose = true; bool isclose = true;
try try
{ {