예제 #1
0
        public MainViewModel()
        {
            //Hook up the log events
            InitializeLog();
            DebugLog.Log("Initialized", "Application");

            //Create a new particle system
            ParticleSystem = ParticleFormatter.MakeNewSystem();
        }
예제 #2
0
 private void NewParticle()
 {
     CheckForUnsavedChanges();
     ParticleSystem = ParticleFormatter.MakeNewSystem();
     DebugLog.Log("Reset particle system", "Application");
 }