protected override void Unloaded() { NTimer.Stop(); NDispatcher.Default.OnMessage -= OnMessage; }
protected override void Loaded() { NDispatcher.Default.OnMessage += OnMessage; NTimer.Start(); }