public cFireworks() { if (m_Singleton == null) { m_Singleton = this; } mALFireworks = new ArrayList(); }
static void Main(string[] args) { cFireworks app = new cFireworks(); try { app.Start(); } catch (Exception e) { Console.WriteLine("### Exception {0}\n{1}\n{2}", e.Message, e.Source, e.StackTrace); } finally { try { app.Dispose(); } catch { } } }
/// <summary> /// Disposes /// </summary> public override void Dispose() { m_Singleton = null; mALFireworks.Clear(); base.Dispose(); }