ningshuxia
2025-04-16 ed113213fc94c3d9886ea08dfddd09d08d9ba7d5
01-api/_Expand/IStation.Win.Schedule/Core/Alert/AlertTool.cs
@@ -8,12 +8,12 @@
        private static AlertControl Alert
        {
            get
            {
            {
                if (_alert == null)
                {
                    _alert = new AlertControl();
                    //_alert.FormMaxCount = 1;
                    _alert.AutoFormDelay = 5 * 1000;
                    _alert.AutoFormDelay = 2 * 1000;
                    _alert.AutoHeight = true;
                }
                return _alert;
@@ -29,7 +29,7 @@
        /// <param name="text"></param>
        public static void ShowInfo(Form owner, string caption, string text)
        {
            DevExpress.XtraBars.Alerter.AlertInfo info = new DevExpress.XtraBars.Alerter.AlertInfo(caption, text);
            DevExpress.XtraBars.Alerter.AlertInfo info = new DevExpress.XtraBars.Alerter.AlertInfo(caption, text);
            AlertTool.Alert.Show(owner, info);
        }