HamBook – Diff between revs 15 and 54
?pathlinks?
Rev 15 | Rev 54 | |||
---|---|---|---|---|
Line 1... | Line -... | |||
1 | using HamBook; |
- | ||
2 | using System; |
1 | using System; |
|
3 | using System.Windows.Forms; |
2 | using System.Windows.Forms; |
|
Line 4... | Line 3... | |||
4 | |
3 | |
|
5 | namespace HamBook |
4 | namespace HamBook |
|
6 | { |
5 | { |
|
7 | public class DataGridViewRowProgressFailure : DataGridViewRowProgress |
6 | public class DataGridViewRowProgressFailure<T> : DataGridViewRowProgress |
|
- | 7 | { |
||
- | 8 | public T Data { get; } |
||
8 | { |
9 | |
|
Line 9... | Line 10... | |||
9 | #region Constructors, Destructors and Finalizers |
10 | #region Constructors, Destructors and Finalizers |
|
- | 11 | |
||
- | 12 | public DataGridViewRowProgressFailure(DataGridViewRow row, int index, Exception exception) : base(row, index, |
||
- | 13 | false) |
||
- | 14 | { |
||
- | 15 | Exception = exception; |
||
- | 16 | } |
||
10 | |
17 | |
|
11 | public DataGridViewRowProgressFailure(DataGridViewRow row, int index, Exception exception) : base(row, index, false) |
18 | public DataGridViewRowProgressFailure(DataGridViewRow row, int index, Exception exception, T data ) : base(row, index, false) |
|
- | 19 | { |
||
12 | { |
20 | Exception = exception; |
|
Line 13... | Line 21... | |||
13 | Exception = exception; |
21 | Data = data; |
|
Line 14... | Line 22... | |||
14 | } |
22 | } |