view Implab/ProgressInitEventArgs.cs @ 216:1e082fb67a46 v2

Fixed component container
author cin
date Tue, 25 Apr 2017 19:51:33 +0300
parents eb418ba8275b
children
line wrap: on
line source

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

namespace Implab
{
    [Serializable]
    public class ProgressInitEventArgs: EventArgs
    {
        public float MaxProgress
        {
            get;
            private set;
        }

        public float CurrentProgress
        {
            get;
            private set;
        }

        public string Message
        {
            get;
            private set;
        }

        public ProgressInitEventArgs(float current, float max, string message)
        {
            this.MaxProgress = max;
            this.CurrentProgress = current;
            this.Message = message;
        }
    }
}