using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UIControl
{
    public partial class HMI 
    {
        public class MessageArgs : EventArgs
        {
            public string Message { get; set; }
            public Boolean isError { get; set; }
            public MessageArgs(string m, Boolean err)
            {
                this.Message = m;
                this.isError = err;
            }
        }


        public event EventHandler<MessageArgs> Message;

    }
}
