//创建窗体对象的静态方法 public static Form_PrintAllOk InstanceObject() { if (_instance == null) _instance = new Form_PrintAllOk(); return _instance; }
private void Form_PrintAllOk_FormClosing(object sender, FormClosingEventArgs e) { _instance = null; }