Пример #1
0
 public cFireworks()
 {
     if (m_Singleton == null)
     {
         m_Singleton = this;
     }
     mALFireworks = new ArrayList();
 }
Пример #2
0
        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
                {
                }
            }
        }
Пример #3
0
 /// <summary>
 /// Disposes
 /// </summary>
 public override void Dispose()
 {
     m_Singleton = null;
     mALFireworks.Clear();
     base.Dispose();
 }