Example #1
0
        public static void Client_PopMessageBoxShowDialog(string text, string title)
        {
            PopBox box = new PopBox(text, title);

            box.Topmost = true;
            box.ShowDialog();
        }
Example #2
0
        public static void Client_PopMessageBox(string text, string title)
        {
            PopBox box = new PopBox(text, title);

            box.Topmost = true;
            box.Show();
            Application.Current.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(() => box.Activate()));
        }