개정판 548c696e
issue #000 page 이동 시 속도 체크를 위해 log 추가
Change-Id: Ie1af198c155edc20b898e005846314ec9f955d09
KCOM/Controls/Sample.xaml.cs | ||
---|---|---|
93 | 93 |
|
94 | 94 |
public void SetPageNavi(List<DOCPAGE> PageList, string DefaultUri) |
95 | 95 |
{ |
96 |
Logger.sendCheckLog("SetPageNavi", 1); |
|
96 | 97 |
this._PageList = PageList; |
97 | 98 |
this._DefaultUri = DefaultUri; |
98 | 99 |
ThumbnailSet(); |
... | ... | |
105 | 106 |
} |
106 | 107 |
void rdoCommented_Checked(object sender, RoutedEventArgs e) |
107 | 108 |
{ |
109 |
Logger.sendCheckLog("rdoCommented_Checked", 1); |
|
108 | 110 |
if (rdoAllPages.IsChecked == true) expCommentPages.IsExpanded = false; |
109 | 111 |
SetCommentPages(); |
110 | 112 |
} |
111 | 113 |
|
112 | 114 |
void rdoFavoritePages_Checked(object sender, RoutedEventArgs e) |
113 | 115 |
{ |
116 |
Logger.sendCheckLog("rdoFavoritePages_Checked", 1); |
|
114 | 117 |
if (rdoFavoritePages.IsChecked == true) |
115 | 118 |
expCommentPages.IsExpanded = false; |
116 | 119 |
|
... | ... | |
128 | 131 |
|
129 | 132 |
private void SetCommentPages_Favorite() |
130 | 133 |
{ |
134 |
Logger.sendCheckLog("SetCommentPages_Favorite", 1); |
|
131 | 135 |
ThumbnailSet(); |
132 | 136 |
//_UsersCommentPagesList |
133 | 137 |
//var result = (from A in _UsersCommentPagesList |
... | ... | |
147 | 151 |
|
148 | 152 |
void expCommentPages_PreviewExpanded(object sender, Telerik.Windows.RadRoutedEventArgs e) |
149 | 153 |
{ |
154 |
Logger.sendCheckLog("expCommentPages_PreviewExpanded", 1); |
|
150 | 155 |
rdoAllPages.IsChecked = false; |
151 | 156 |
rdoFavoritePages.IsChecked = false; |
152 | 157 |
//txtThumbCount.Visibility = Visibility.Visible; |
... | ... | |
155 | 160 |
|
156 | 161 |
private void ImgListbox_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e) |
157 | 162 |
{ |
163 |
Logger.sendCheckLog("ImgListbox_SelectionChanged", 1); |
|
158 | 164 |
if (ImgListbox.SelectedItem != null) |
159 | 165 |
{ |
160 | 166 |
int _PageNo = -1; |
... | ... | |
200 | 206 |
|
201 | 207 |
public void setPageChange(ThumbnailItem thumbnailItem) |
202 | 208 |
{ |
209 |
Logger.sendCheckLog("setPageChange", 1); |
|
203 | 210 |
if (thumbnailItem != null) |
204 | 211 |
{ |
205 | 212 |
if (PageChanging != null) |
... | ... | |
360 | 367 |
} |
361 | 368 |
|
362 | 369 |
public void SetNextPage() |
363 |
{ |
|
370 |
{ |
|
371 |
Logger.sendCheckLog("pageNavigator_PageChanging_SetNextPage", 1); |
|
364 | 372 |
CurrentPage = _NextPage; |
365 | 373 |
PageChange(_NextPage); |
366 | 374 |
} |
367 | 375 |
|
368 | 376 |
private void PageChange(ThumbnailItem thumbitem) |
369 | 377 |
{ |
378 |
Logger.sendCheckLog("pageNavigator_PageChanging_PageChange", 1); |
|
370 | 379 |
if (PageChanged != null) |
371 | 380 |
{ |
372 | 381 |
var uri = _DefaultUri.Replace("{PageNo}", thumbitem.PageNumber.ToString()); |
... | ... | |
419 | 428 |
} |
420 | 429 |
public void SetCommentPages() |
421 | 430 |
{ |
431 |
Logger.sendCheckLog("SetCommentPages", 1); |
|
422 | 432 |
ThumbnailSet(); |
423 | 433 |
SetCommentList(_UsersCommentPagesList.ToList()); |
424 | 434 |
} |
425 | 435 |
|
426 | 436 |
public void SetCommentList(List<UsersCommentPagesMember> UsersCommentPagesList) |
427 | 437 |
{ |
438 |
Logger.sendCheckLog("SetCommentList", 1); |
|
428 | 439 |
#region 기존 색상 제거 작업 |
429 | 440 |
foreach (var item in this._thumbnailItems) |
430 | 441 |
{ |
... | ... | |
504 | 515 |
|
505 | 516 |
private void ThumbnailSet() |
506 | 517 |
{ |
518 |
Logger.sendCheckLog("ThumbnailSet", 1); |
|
507 | 519 |
if (!_Initialize) return; |
508 | 520 |
|
509 | 521 |
this._thumbnailItems = new ObservableCollection<ThumbnailItem>(); |
내보내기 Unified diff