mirror of https://github.com/quasar/Quasar.git
DialogBox fix
Fixes showing the messagebox and sending it to the front as the active window
This commit is contained in:
parent
eca75b3a5f
commit
fb1d27002b
|
@ -150,9 +150,10 @@ namespace xClient.Core.Commands
|
|||
{
|
||||
new Thread(() =>
|
||||
{
|
||||
MessageBox.Show(null, command.Text, command.Caption,
|
||||
MessageBox.Show(command.Text, command.Caption,
|
||||
(MessageBoxButtons)Enum.Parse(typeof(MessageBoxButtons), command.MessageboxButton),
|
||||
(MessageBoxIcon)Enum.Parse(typeof(MessageBoxIcon), command.MessageboxIcon));
|
||||
(MessageBoxIcon)Enum.Parse(typeof(MessageBoxIcon), command.MessageboxIcon),
|
||||
MessageBoxDefaultButton.Button1, MessageBoxOptions.DefaultDesktopOnly);
|
||||
}).Start();
|
||||
|
||||
new Packets.ClientPackets.SetStatus("Showed Messagebox").Execute(client);
|
||||
|
|
Loading…
Reference in New Issue