public static DataImportExport GetInstance() { if (singleton == null) { singleton = new DataImportExport(); } return(singleton); }
private void DataImportExport_FormClosed(object sender, FormClosedEventArgs e) { singleton = null; }