view Implab/ProgressInitEventArgs.cs @ 9:c82e0dfbb4dd promises

sync
author cin
date Sat, 02 Nov 2013 00:55:47 +0400
parents 7ea9363fef6c
children eb418ba8275b
line wrap: on
line source

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

namespace Implab
{

    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;
        }
    }
}