public void GiveFeedback(string message)
 {
     Application.Current.MainWindow.Dispatcher.Invoke(new Action(() =>
         {
             var window = new FeedbackWindow { MessageText = { Text = message }, Topmost = true };
             window.ShowDialog();
         }));
 }
Пример #2
0
        public void GiveFeedback(string message)
        {
            var window = new FeedbackWindow {
                MessageText = { Text = message }, Topmost = true
            };

            window.ShowDialog();
        }