private void FadeAway_Completed(object sender, EventArgs e) { Dispatcher.Invoke(DispatcherPriority.Normal, new Action(Close)); }