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

namespace AR.FTPClient
{
    public class MessageEventArgs : EventArgs
        {
            protected Boolean _isError = false;
            public Boolean IsError { get { return _isError; } }
            protected string _message = string.Empty;
            public string Message { get { return _message; } }
            public MessageEventArgs(Boolean isError, string Message)
            {
                _isError = isError;
                _message = Message;
            }
        }
        public class ListProgressEventArgs : EventArgs
        {
            //public long Max { get; set; }
            //public long Value { get; set; }
            public long TotalRecv { get; set; }
            public ListProgressEventArgs(long TotalRecv_)
            {
                this.TotalRecv = TotalRecv_;
            }
        }
        
}
