프로젝트

일반

사용자정보

개정판 cb5c7f06

IDcb5c7f06e634035c3e92a86516b610b5fdb14fb0
상위 2184f659
하위 3908a575

백흠경이(가) 5년 이상 전에 추가함

issue #999: fixed codes for save logic

Change-Id: I4d34d82a4b670a1bcb408047cd539f077c2a18f1

차이점 보기:

KCOM/Views/MainMenu.xaml.cs
545 545
            var pageinfo = this.CurrentDoc.docInfo.DOCPAGE.Where(p => p.PAGE_NUMBER == e.CurrentPage.PAGE_NUMBER).FirstOrDefault();
546 546
            drawingPannelRotate(pageinfo.PAGE_ANGLE);
547 547

  
548
            //}
549 548
            SetCommentPages(true);
550 549
        }
550

  
551
        /// <summary>
552
        /// start page changing
553
        ///  - save controls if page is modified
554
        ///  - starting download page image
555
        /// </summary>
556
        /// <param name="sender"></param>
557
        /// <param name="e"></param>
551 558
        private void pageNavigator_PageChanging(object sender, Controls.Sample.PageChangeEventArgs e)
552 559
        {
553
            
554
            if (ViewerDataModel.Instance.UndoDataList.Count > 0)
555
            {            
556
                this.ParentOfType<MainWindow>().dzTopMenu._SaveEvent(null, null);
557
            }
558
            
559
            ViewerDataModel.Instance.UndoDataList.Clear();
560

  
561
            ConvertInkControlToPolygon();
562

  
563
            SelectionSet.Instance.UnSelect(this);
564
            UpdateMyMarkupList();
560
            this.ParentOfType<MainWindow>().dzTopMenu._SaveEvent(null, null);
565 561

  
566 562
            CompareMode.IsChecked = false;
567 563
            var BalancePoint = ViewerDataModel.Instance.PageBalanceMode == true ? e.PageNumber + ViewerDataModel.Instance.PageBalanceNumber : e.PageNumber;
568 564

  
569

  
570 565
            #region 페이지가 벗어난 경우
571 566

  
572 567
            if (BalancePoint < 1)

내보내기 Unified diff

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