프로젝트

일반

사용자정보

개정판 94b7c12c

ID94b7c12c822b5c038480293880642d365fa8da77
상위 16f1ded9
하위 a2464ff0

김동진이(가) 5년 이상 전에 추가함

issue #000: Document History link 추가, Compare panel update 수정

Change-Id: I399ca61dcb6514e4ed6567a0ae2a92c84d987e1e

차이점 보기:

KCOM/Views/MainMenu.xaml.cs
678 678
                    Logger.sendCheckLog("pageNavigator_PageChanging_defaultBitmapImage_Compare BitmapImage 설정", 1);
679 679
                    var defaultBitmapImage_Compare = new BitmapImage();
680 680
                    defaultBitmapImage_Compare.BeginInit();
681
                    defaultBitmapImage_Compare.CreateOptions = BitmapCreateOptions.IgnoreImageCache;
681 682
                    defaultBitmapImage_Compare.CacheOption = BitmapCacheOption.OnLoad;
682 683
                    defaultBitmapImage_Compare.UriSource = new Uri(uri2);
683
                    defaultBitmapImage_Compare.DecodePixelWidth = Int32.Parse(e.CurrentPage.PAGE_WIDTH);
684
                    defaultBitmapImage_Compare.DecodePixelHeight = Int32.Parse(e.CurrentPage.PAGE_HEIGHT);
684
                    //defaultBitmapImage_Compare.DecodePixelWidth = Int32.Parse(e.CurrentPage.PAGE_WIDTH);
685
                    //defaultBitmapImage_Compare.DecodePixelHeight = Int32.Parse(e.CurrentPage.PAGE_HEIGHT);
685 686
                    defaultBitmapImage_Compare.EndInit();
686 687

  
687 688
                    ViewerDataModel.Instance.ImageViewPath_C = null;                    
......
704 705
                            ViewerDataModel.Instance.ImageViewPath_C = defaultBitmapImage_Compare;
705 706
                            ViewerDataModel.Instance.ImageViewWidth_C = defaultBitmapImage_Compare.PixelWidth;
706 707
                            ViewerDataModel.Instance.ImageViewHeight_C = defaultBitmapImage_Compare.PixelHeight;
708
                            ComparePanel.UpdateLayout();
707 709
                            zoomAndPanCanvas2.Width = defaultBitmapImage_Compare.PixelWidth;
708 710
                            zoomAndPanCanvas2.Height = defaultBitmapImage_Compare.PixelHeight;
709 711

  
......
4374 4376
                Logger.sendReqLog("GetSyncMarkupInfoItemsAsync", _ViewInfo.ProjectNO + "," + CurrentRev.DOCUMENT_ID + "," + _ViewInfo.UserID, 1);
4375 4377
            }
4376 4378
        }
4379
        private void EnsembleLink_Button_Click(object sender, RoutedEventArgs e)
4380
        {
4381
            try
4382
            {
4383
                if (sender is RadButton)
4384
                {
4385
                    if ((sender as RadButton).Tag != null)
4386
                    {
4387
                        var url = (sender as RadButton).Tag.ToString();
4388
                        System.Diagnostics.Process.Start(url);
4389
                    }
4390
                    else
4391
                    {
4392
                        this.ParentOfType<MainWindow>().DialogMessage_Alert("Link 정보가 잘못 되었습니다", "안내");
4393
                    }
4394
                }
4395
            }
4396
            catch (Exception ex)
4397
            {
4398
                Logger.sendResLog("EnsembleLink_Button_Click", ex.Message, 0);
4399
            }
4400
        }
4377 4401

  
4378 4402
        public void Sync_Event(VPRevision Currnet_Rev)
4379 4403
        {

내보내기 Unified diff

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