using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using AntdUI; namespace DHSoftware.Views { public partial class CloseWindow : Window { public CloseWindow() { InitializeComponent(); Control.CheckForIllegalCrossThreadCalls = false; } /// /// 窗体对象实例 /// private static CloseWindow _instance; public static CloseWindow Instance { get { if (_instance == null) { _instance = new CloseWindow(); } return _instance; } } } }