개정판 276fdd9b
Comment가 없어도 Favorit페이지 정확하게 나오도록 수정
KCOM/Controls/Sample.xaml.cs | ||
---|---|---|
390 | 390 |
var _pageNo = page.PAGE_NUMBER; |
391 | 391 |
bool _addFlag = false; |
392 | 392 |
|
393 |
|
|
394 |
if (_selectComment.Count() > 0) |
|
393 |
if (rdoFavoritePages.IsChecked == false) |
|
395 | 394 |
{ |
396 |
if ((rdoAllPages.IsChecked == true) |
|
397 |
|| (expCommentPages.IsExpanded == true && _selectComment.Where(s => s == _pageNo).Count() > 0)) |
|
395 |
if (_selectComment.Count() > 0) |
|
398 | 396 |
{ |
399 |
_addFlag = true; |
|
397 |
if ((rdoAllPages.IsChecked == true) |
|
398 |
|| (expCommentPages.IsExpanded == true && _selectComment.Where(s => s == _pageNo).Count() > 0)) |
|
399 |
{ |
|
400 |
_addFlag = true; |
|
401 |
} |
|
400 | 402 |
} |
401 |
} |
|
402 |
else |
|
403 |
{ |
|
404 |
//if (App.ViewInfo.IsCustomPage) |
|
405 |
//{ |
|
406 |
// //_addFlag = false; |
|
407 |
|
|
408 |
// //App.ViewInfo.IsCustomPage = false; |
|
409 |
// //this.rdoAllPages.Visibility = System.Windows.Visibility.Collapsed; |
|
410 |
// //this.lstSelectComment.Visibility = System.Windows.Visibility.Collapsed; |
|
411 |
// this.rdoAllPages.IsChecked = false; |
|
412 |
// this.rdoFavoritePages.IsChecked = true; |
|
413 |
// //SetCommentPages(); |
|
414 |
//} |
|
415 |
//else |
|
416 |
//{ |
|
403 |
else |
|
404 |
{ |
|
405 |
//if (App.ViewInfo.IsCustomPage) |
|
406 |
//{ |
|
407 |
// //_addFlag = false; |
|
408 |
|
|
409 |
// //App.ViewInfo.IsCustomPage = false; |
|
410 |
// //this.rdoAllPages.Visibility = System.Windows.Visibility.Collapsed; |
|
411 |
// //this.lstSelectComment.Visibility = System.Windows.Visibility.Collapsed; |
|
412 |
// this.rdoAllPages.IsChecked = false; |
|
413 |
// this.rdoFavoritePages.IsChecked = true; |
|
414 |
// //SetCommentPages(); |
|
415 |
//} |
|
416 |
//else |
|
417 |
//{ |
|
417 | 418 |
_addFlag = true; |
418 |
//} |
|
419 |
//} |
|
420 |
} |
|
419 | 421 |
} |
420 | 422 |
|
421 | 423 |
|
내보내기 Unified diff