C# Class PsHandler.UI.WindowMessage

Interaction logic for WindowMessage.xaml
Inheritance: System.Windows.Window
Mostra file Open project: kampiuceris/PsHandler Class Usage Examples

Public Properties

Property Type Description
Result WindowMessageResult

Public Methods

Method Description
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

Private Methods

Method Description
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

Method Details

Show() public static method

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
return WindowMessageResult

ShowDialog() public static method

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
return WindowMessageResult

WindowMessage() public method

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
return System

Property Details

Result public_oe property

public WindowMessageResult Result
return WindowMessageResult