개정판 2007ecaa
thumbnail을 별도의 프로세스에서 download 하도록 수정
Change-Id: Ica8432a3fbe5e44d92412ec91290097deddeee71
KCOM/Common/ThumbnailItem.cs | ||
---|---|---|
12 | 12 |
{ |
13 | 13 |
public ThumbnailItem() |
14 | 14 |
{ |
15 |
|
|
15 | 16 |
} |
16 | 17 |
|
17 |
public Uri ImageUri { get; set; }
|
|
18 |
private Uri _ImageUri;
|
|
18 | 19 |
|
20 |
public Uri ImageUri |
|
21 |
{ |
|
22 |
get { |
|
23 |
|
|
24 |
if (_ImageUri == null) |
|
25 |
{ |
|
26 |
_ImageUri = new Uri("/KCOM;component/Resources/Images/ExtImage/bmp.png", UriKind.Relative); |
|
27 |
} |
|
28 |
|
|
29 |
return _ImageUri; |
|
30 |
} |
|
31 |
set |
|
32 |
{ |
|
33 |
if (_ImageUri != value) |
|
34 |
{ |
|
35 |
_ImageUri = value; |
|
36 |
|
|
37 |
NotifyPropertyChanged("ImageUri"); |
|
38 |
} |
|
39 |
} |
|
40 |
} |
|
41 |
|
|
42 |
private bool _IsActive; |
|
43 |
|
|
44 |
public bool IsActive |
|
45 |
{ |
|
46 |
get { return _IsActive; } |
|
47 |
set |
|
48 |
{ |
|
49 |
if (_IsActive != value) |
|
50 |
{ |
|
51 |
_IsActive = value; |
|
52 |
|
|
53 |
NotifyPropertyChanged("IsActive"); |
|
54 |
} |
|
55 |
} |
|
56 |
} |
|
57 |
|
|
58 |
private int _PageNumber; |
|
59 |
|
|
60 |
public int PageNumber |
|
61 |
{ |
|
62 |
get { return _PageNumber; } |
|
63 |
set |
|
64 |
{ |
|
65 |
if (_PageNumber != value) |
|
66 |
{ |
|
67 |
_PageNumber = value; |
|
68 |
//NotifyPropertyChanged("PageNumber"); |
|
69 |
} |
|
70 |
} |
|
71 |
} |
|
72 |
|
|
73 |
|
|
74 |
//public int PageNumber { get; set; } |
|
19 | 75 |
private List<SetColorMarkupItem> _DisplayColorItems; |
20 | 76 |
|
21 | 77 |
public List<SetColorMarkupItem> DisplayColorItems |
... | ... | |
31 | 87 |
} |
32 | 88 |
} |
33 | 89 |
|
34 |
private int _Angle;
|
|
90 |
private double _Angle;
|
|
35 | 91 |
|
36 |
public int Angle
|
|
92 |
public double Angle
|
|
37 | 93 |
{ |
38 | 94 |
get |
39 | 95 |
{ |
... | ... | |
50 | 106 |
} |
51 | 107 |
} |
52 | 108 |
} |
53 |
|
|
54 |
public int PageNumber { get; set; } |
|
55 | 109 |
|
56 | 110 |
//강인구 추가 |
57 | 111 |
public double Width { get; set; } |
... | ... | |
67 | 121 |
|
68 | 122 |
public void NotifyPropertyChanged(string propertyName) |
69 | 123 |
{ |
124 |
//if (propertyName == "IsActive" && this.IsActive) |
|
125 |
//{ |
|
126 |
// NotifyPropertyChanged("ImageUri"); |
|
127 |
//} |
|
128 |
|
|
70 | 129 |
if (PropertyChanged != null) |
71 | 130 |
{ |
72 | 131 |
PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); |
내보내기 Unified diff