C# Класс Hourglass.Windows.ErrorDialog

A window that displays an error.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ErrorDialog ( ) : System.Windows

Initializes a new instance of the ErrorDialog class.

ShowDialog ( string title, string message = null, string details = null ) : void

Opens the window and returns only when the window is closed.

Приватные методы

Метод Описание
InitializeMaxSize ( ) : void

Initializes the Window.MaxWidth and Window.MaxHeight properties.

InitializeResources ( ) : void

Initializes localized resources.

ShowDetailsButtonClick ( object sender, RoutedEventArgs e ) : void

Invoked when the ShowDetailsButton is clicked.

Описание методов

ErrorDialog() публичный Метод

Initializes a new instance of the ErrorDialog class.
public ErrorDialog ( ) : System.Windows
Результат System.Windows

ShowDialog() публичный Метод

Opens the window and returns only when the window is closed.
public ShowDialog ( string title, string message = null, string details = null ) : void
title string The title for the error dialog..
message string The error message to show. (Optional.)
details string Details of the error, such as a call stack. (Optional.)
Результат void