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