39 lines
856 B
C#
39 lines
856 B
C#
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;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 窗体对象实例
|
|
/// </summary>
|
|
private static CloseWindow _instance;
|
|
public static CloseWindow Instance
|
|
{
|
|
get
|
|
{
|
|
if (_instance == null)
|
|
{
|
|
_instance = new CloseWindow();
|
|
}
|
|
return _instance;
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|