프로젝트

일반

사용자정보

개정판 0585d5cc

ID0585d5cce61f9968e2d980d7b3a21001157281c8
상위 0cd6d4c9
하위 c9f98e3b

김태성이(가) 약 5년 전에 추가함

markus Api 오류 출력 되도록 수정

Change-Id: I7318ee5da1ec9b8dbfd4450a1ab7117b6b2713ea

차이점 보기:

KCOM/Views/MainMenu.xaml.cs
585 585
                }
586 586
            }
587 587

  
588
            /// delete markup list
589
            int iPageNo = this.pageNavigator.CurrentPage.PageNumber;
588
            if(this.pageNavigator.CurrentPage != null)
589
            { 
590
                /// delete markup list
591
                int iPageNo = this.pageNavigator.CurrentPage.PageNumber;
590 592

  
591
            var deleted = (from markup in ViewerDataModel.Instance.MyMarkupList
592
                          where (markup.PageNumber == iPageNo) 
593
                          && (null == ViewerDataModel.Instance.MarkupControls_USER.Where(control => control.CommentID == markup.ID).FirstOrDefault())
594
                          select markup).ToList();
593
                var deleted = (from markup in ViewerDataModel.Instance.MyMarkupList
594
                              where (markup.PageNumber == iPageNo) 
595
                              && (null == ViewerDataModel.Instance.MarkupControls_USER.Where(control => control.CommentID == markup.ID).FirstOrDefault())
596
                              select markup).ToList();
595 597

  
596
            foreach (var markup in deleted)
598
                foreach (var markup in deleted)
599
                {
600
                    ViewerDataModel.Instance.MyMarkupList.Remove(markup);
601
                }
602
            }
603
            else
597 604
            {
598
                ViewerDataModel.Instance.MyMarkupList.Remove(markup);
605
                System.Diagnostics.Debug.WriteLine("UpdateMyMarkupList : this.pageNavigator.CurrentPage null ");
599 606
            }
607

  
600 608
            /// up to here
601 609

  
602 610
            //if (modified)

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)