category added
This commit is contained in:
@@ -194,16 +194,16 @@ namespace FasdDesktopUi.Pages.CustomMessageBox
|
||||
return null;
|
||||
}
|
||||
|
||||
public static int Show(string Message, List<string> MultiButtonText, string Caption = null, enumHealthCardStateLevel Level = enumHealthCardStateLevel.None, Window Owner = null, bool TopMost = false, bool CenterScreen = false, int MaxWidth = -1)
|
||||
{
|
||||
var messageBox = InitializeMessageBox(Message, Caption, Level, Owner, false, false, MultiButtonText, TopMost, CenterScreen);
|
||||
if (MaxWidth > 0)
|
||||
messageBox.MaxWidth = MaxWidth;
|
||||
if (messageBox == null)
|
||||
return -1;
|
||||
messageBox.ShowDialog();
|
||||
return messageBox.ResultIndex;
|
||||
}
|
||||
public static int Show(string Message, List<string> MultiButtonText, string Caption = null, enumHealthCardStateLevel Level = enumHealthCardStateLevel.None, Window Owner = null, bool TopMost = false, bool CenterScreen = false, int MaxWidth = -1)
|
||||
{
|
||||
var messageBox = InitializeMessageBox(Message, Caption, Level, Owner, false, false, MultiButtonText, TopMost, CenterScreen);
|
||||
if (messageBox == null)
|
||||
return -1;
|
||||
if (MaxWidth > 0)
|
||||
messageBox.MaxWidth = MaxWidth;
|
||||
messageBox.ShowDialog();
|
||||
return messageBox.ResultIndex;
|
||||
}
|
||||
|
||||
public static bool? Show(string Message, string Caption = null, enumHealthCardStateLevel Level = enumHealthCardStateLevel.None, Window Owner = null, bool HasYesNoButtons = false, bool HasYesNoText = false, bool TopMost = false, bool CenterScreen = false)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user