Example #1
0
        public static async Task PopupDelay(string label, int delay, NotificationMsg message)
        {
            NotificationBoxF box = new NotificationBoxF(label, message);

            box.Show();
            await Task.Delay(delay);

            box.Close();
        }
        public static async Task PopupDelay(Form _owner, string label, int delay, NotificationMsg message, Position pos)
        {
            NotificationBoxF box = new NotificationBoxF(_owner, label, message, pos);

            box.Show();

            await Task.Delay(delay);

            box.Close();
        }