C# Класс PsHandler.UI.WindowMessage

Interaction logic for WindowMessage.xaml
Наследование: System.Windows.Window
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Result WindowMessageResult

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

Метод Описание
Show ( string message, string title, WindowMessageButtons buttons, WindowMessageImage image, Window owner, WindowStartupLocation windowStartupLocation = WindowStartupLocation.CenterOwner, WindowMessageTextType windowMessageTextType = WindowMessageTextType.TextBlock, FontFamily fontFamily = null, double fontSize = 12 ) : WindowMessageResult
ShowDialog ( string message, string title, WindowMessageButtons buttons, WindowMessageImage image, Window owner, WindowStartupLocation windowStartupLocation = WindowStartupLocation.CenterOwner, WindowMessageTextType windowMessageTextType = WindowMessageTextType.TextBlock, FontFamily fontFamily = null, double fontSize = 12 ) : WindowMessageResult
WindowMessage ( string message, string title, WindowMessageButtons buttons, WindowMessageImage image, Window owner, WindowStartupLocation windowStartupLocation, WindowMessageTextType windowMessageTextType, FontFamily fontFamily = null, double fontSize = 12 ) : System

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

Метод Описание
Button_Cancel_Click ( object sender, RoutedEventArgs e ) : void
Button_No_Click ( object sender, RoutedEventArgs e ) : void
Button_OK_Click ( object sender, RoutedEventArgs e ) : void
Button_Yes_Click ( object sender, RoutedEventArgs e ) : void

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

Show() публичный статический Метод

public static Show ( string message, string title, WindowMessageButtons buttons, WindowMessageImage image, Window owner, WindowStartupLocation windowStartupLocation = WindowStartupLocation.CenterOwner, WindowMessageTextType windowMessageTextType = WindowMessageTextType.TextBlock, FontFamily fontFamily = null, double fontSize = 12 ) : WindowMessageResult
message string
title string
buttons WindowMessageButtons
image WindowMessageImage
owner System.Windows.Window
windowStartupLocation WindowStartupLocation
windowMessageTextType WindowMessageTextType
fontFamily FontFamily
fontSize double
Результат WindowMessageResult

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

public static ShowDialog ( string message, string title, WindowMessageButtons buttons, WindowMessageImage image, Window owner, WindowStartupLocation windowStartupLocation = WindowStartupLocation.CenterOwner, WindowMessageTextType windowMessageTextType = WindowMessageTextType.TextBlock, FontFamily fontFamily = null, double fontSize = 12 ) : WindowMessageResult
message string
title string
buttons WindowMessageButtons
image WindowMessageImage
owner System.Windows.Window
windowStartupLocation WindowStartupLocation
windowMessageTextType WindowMessageTextType
fontFamily FontFamily
fontSize double
Результат WindowMessageResult

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

public WindowMessage ( string message, string title, WindowMessageButtons buttons, WindowMessageImage image, Window owner, WindowStartupLocation windowStartupLocation, WindowMessageTextType windowMessageTextType, FontFamily fontFamily = null, double fontSize = 12 ) : System
message string
title string
buttons WindowMessageButtons
image WindowMessageImage
owner System.Windows.Window
windowStartupLocation WindowStartupLocation
windowMessageTextType WindowMessageTextType
fontFamily FontFamily
fontSize double
Результат System

Описание свойств

Result публичное свойство

public WindowMessageResult Result
Результат WindowMessageResult