コード例 #1
0
 public static void ResetToDefaults()
 {
     MsgFontSize          = 12d;
     MsgFontFamily        = new System.Windows.Media.FontFamily("Segoe UI");
     DelegateObj          = null;
     DetailsText          = null;
     MessageForeground    = null;
     MessageBackground    = null;
     ButtonBackground     = null;
     ParentWindow         = null;
     isSilent             = false;
     enableCloseButton    = true;
     ButtonTemplateName   = null;
     MsgBoxIconToolTip    = null;
     ShowCheckBox         = Visibility.Collapsed;
     CheckBoxData         = null;
     ExitAfterErrorAction = false;
     MaxFormWidth         = 800;
     Url                 = null;
     ShowUrl             = Visibility.Collapsed;
     UrlDisplayName      = null;
     UrlForeground       = new SolidColorBrush(DefaultUrlForegroundColor);
     staticButtonDefault = MessageBoxButtonDefault.Forms;
 }
コード例 #2
0
 public static void SetDefaultButton(MessageBoxButtonDefault buttonDefault)
 {
     staticButtonDefault = buttonDefault;
 }