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