mirror of https://github.com/Sonarr/Sonarr
13 lines
325 B
C#
13 lines
325 B
C#
|
using System.Windows.Forms;
|
|||
|
using NzbDrone.Host;
|
|||
|
|
|||
|
namespace NzbDrone
|
|||
|
{
|
|||
|
public class MessageBoxUserAlert : IUserAlert
|
|||
|
{
|
|||
|
public void Alert(string message)
|
|||
|
{
|
|||
|
MessageBox.Show(text: message, buttons: MessageBoxButtons.OK, icon: MessageBoxIcon.Warning, caption: "NzbDrone");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|