Changeset 940
- Timestamp:
- 5/1/2009 1:29:21 AM (4 years ago)
- File:
-
- 1 edited
-
branches/eraser6/Eraser/UpdateForm.cs (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eraser6/Eraser/UpdateForm.cs
r927 r940 1121 1121 : base((int)(progressPercentage * 100), userState) 1122 1122 { 1123 this.progressPercentage = progressPercentage;1124 this.overallProgressPercentage = overallPercentage;1125 this.message = message;1123 ProgressPercentage = progressPercentage; 1124 OverallProgressPercentage = overallPercentage; 1125 Message = message; 1126 1126 } 1127 1127 … … 1129 1129 /// Gets the asynchronous task progress percentage. 1130 1130 /// </summary> 1131 public new float ProgressPercentage 1132 { 1133 get 1134 { 1135 return progressPercentage; 1136 } 1137 } 1131 public new float ProgressPercentage { get; private set; } 1138 1132 1139 1133 /// <summary> 1140 1134 /// Gets the asynchronous task overall progress percentage. 1141 1135 /// </summary> 1142 public float OverallProgressPercentage 1143 { 1144 get 1145 { 1146 return overallProgressPercentage; 1147 } 1148 } 1136 public float OverallProgressPercentage { get; private set; } 1149 1137 1150 1138 /// <summary> 1151 1139 /// Gets the message associated with the current task. 1152 1140 /// </summary> 1153 public string Message 1154 { 1155 get 1156 { 1157 return message; 1158 } 1159 } 1160 1161 float progressPercentage; 1162 float overallProgressPercentage; 1163 string message; 1141 public string Message { get; private set; } 1164 1142 } 1165 1143 … … 1178 1156 : base(e.ProgressPercentage, e.OverallProgressPercentage, e.UserState, e.Message) 1179 1157 { 1180 this.exception = ex;1158 Exception = ex; 1181 1159 } 1182 1160 … … 1184 1162 /// The exception associated with the progress event. 1185 1163 /// </summary> 1186 public Exception Exception 1187 { 1188 get 1189 { 1190 return exception; 1191 } 1192 } 1193 1194 private Exception exception; 1164 public Exception Exception { get; private set; } 1195 1165 } 1196 1166 }
Note: See TracChangeset
for help on using the changeset viewer.
