public static void CleanObj() { if (obj != null) { obj = null; } }
public static LayDaySmbol CreateInstance() { if (obj == null) { return(obj = new LayDaySmbol()); } else { return(obj); } }
private void LayDaySmbol_FormClosing(object sender, FormClosingEventArgs e) { obj = null; }