DekGenius.com
[ Team LiB ] Previous Section Next Section

MessageBoxOptionsserializable, flag

System.Windows.Forms (system.windows.forms.dll)enum

This enumeration provides several additional options to a MessageBox, including the right-to-left status (RtlReading), whether the box should always be shown on the DefaultDesktopOnly, whether it should RightAlign the text, and whether this is a ServiceNotification (i.e., the MessageBox is shown even if no user is logged on to the system).

public enum MessageBoxOptions {
   DefaultDesktopOnly = 0x00020000,
   RightAlign = 0x00080000,
   RtlReading = 0x00100000,
   ServiceNotification = 0x00200000
}

Hierarchy

System.Object System.ValueType System.Enum(System.IComparabl, System.IFormattable, System.IConvertible) MessageBoxOptions

Passed To

MessageBox.Show()

    [ Team LiB ] Previous Section Next Section