35 lines
1.0 KiB
C#
35 lines
1.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
|
|
namespace UniMarc
|
|
{
|
|
public static class CUtill
|
|
{
|
|
public static arUtil.Log mLog;
|
|
|
|
public static void MsgI(string m)
|
|
{
|
|
//MessageWindow.VisibleAll(false);
|
|
MessageBox.Show(m, "CHECK", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
//MessageWindow.VisibleAll(true);
|
|
}
|
|
public static void MsgE(string m)
|
|
{
|
|
//MessageWindow.VisibleAll(false);
|
|
MessageBox.Show(m, "ERROR", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
|
//MessageWindow.VisibleAll(true);
|
|
}
|
|
public static DialogResult MsgQ(string m)
|
|
{
|
|
//MessageWindow.VisibleAll(false);
|
|
DialogResult dlg = MessageBox.Show(m, "CHECK", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
|
|
//MessageWindow.VisibleAll(true);
|
|
return dlg;
|
|
}
|
|
}
|
|
}
|