mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
17 lines
528 B
C#
17 lines
528 B
C#
using System.Windows;
|
|
|
|
namespace Remotely.Agent.Installer.Win.Utilities
|
|
{
|
|
public static class MessageBoxEx
|
|
{
|
|
public static MessageBoxResult Show(string message, string caption, MessageBoxButton messageBoxButton, MessageBoxImage messageBoxImage)
|
|
{
|
|
if (!CommandLineParser.CommandLineArgs.ContainsKey("quiet"))
|
|
{
|
|
return MessageBox.Show(message, caption, messageBoxButton, messageBoxImage);
|
|
}
|
|
return MessageBoxResult.None;
|
|
}
|
|
}
|
|
}
|