annotate Implab/ProgressInitEventArgs.cs @ 222:98eeb63cedb2

sync
author cin
date Tue, 22 Aug 2017 09:34:47 +0300
parents eb418ba8275b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
1 using System;
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
2 using System.Collections.Generic;
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
3 using System.Linq;
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
4 using System.Text;
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
5
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
6 namespace Implab
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
7 {
12
eb418ba8275b refactoring, added WorkerPool
cin
parents: 7
diff changeset
8 [Serializable]
7
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
9 public class ProgressInitEventArgs: EventArgs
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
10 {
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
11 public float MaxProgress
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
12 {
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
13 get;
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
14 private set;
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
15 }
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
16
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
17 public float CurrentProgress
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
18 {
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
19 get;
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
20 private set;
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
21 }
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
22
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
23 public string Message
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
24 {
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
25 get;
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
26 private set;
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
27 }
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
28
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
29 public ProgressInitEventArgs(float current, float max, string message)
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
30 {
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
31 this.MaxProgress = max;
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
32 this.CurrentProgress = current;
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
33 this.Message = message;
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
34 }
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
35 }
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
36 }