private void TestPointSet_FormClosing(object sender, FormClosingEventArgs e) { _instance = null; }
//创建窗体对象的静态方法 public static TestPointSet InstanceObject(RPIMS数据采集及管理系统 r) { if (_instance == null) _instance = new TestPointSet(r); return _instance; }