예제 #1
0
		public static void Show(string message, string details)
		{
			if (isErrorWindowVisible)
				return;

			isErrorWindowVisible = true;
			var window = new ErrorWindow(message, details);
			window.Closed += (sender, args) => isErrorWindowVisible = false;
			window.Show();
		}
예제 #2
0
		public static void Show(string text)
		{
			if (isErrorWindowVisible)
				return;

			isErrorWindowVisible = true;

			var window = new ErrorWindow(text);
			window.Closed += (sender, args) => isErrorWindowVisible = false;
			window.Show();
		}