25 lines
681 B
C#
25 lines
681 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
|
|
namespace GtaVUsersInfo.Helpers
|
|
{
|
|
public static class ErrorsShow
|
|
{
|
|
public static void ShowErrorMessage(string message)
|
|
{
|
|
MessageBox.Show(message, "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
|
Console.WriteLine(message);
|
|
}
|
|
|
|
public static void ShowInfoMessage(string message)
|
|
{
|
|
MessageBox.Show(message, "Информация", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
Console.WriteLine(message);
|
|
}
|
|
}
|
|
}
|