C# Class Hourglass.Windows.ErrorDialog

A window that displays an error.
Afficher le fichier Open project: Dziemborowicz/Hourglass Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
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.

Method Details

ErrorDialog() public méthode

Initializes a new instance of the ErrorDialog class.
public ErrorDialog ( ) : System.Windows
Résultat System.Windows

ShowDialog() public méthode

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.)
Résultat void