using KssSmaPlaLib.Alert.Gamen; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace KssSmaPlaLib.Alert { public static class FullScreenAlertUxer { public static void ShowFullScreenAlert( Form orner, string message, DateTime dateTime, bool kyoretsu = true, int autoCloseSec = 0) { using (var alert = new AlertForm( message, dateTime, kyoretsu, //true, autoCloseSec)) { alert.ShowDialog(orner); // モーダルで前面確実化 } } } }