프로젝트

일반

사용자정보

개정판 b643fcca

IDb643fcca31ab2f12169c198f014a9ebed9232dd0
상위 68302e9d
하위 233ef333

김태성이(가) 4년 이상 전에 추가함

- angle event 수정
- select에서 shift키 이벤트 안됨

Change-Id: I17decc4b6ab1f91e7b6ae18751acf74811e5d7a7

차이점 보기:

KCOM/Events/Implementation/TopMenuEvent.cs
1755 1755
            //    instanceMain.IsSwingMode = true;
1756 1756
            //}
1757 1757

  
1758
            #region 다른 컨트롤 버튼 선택 해제
1759
            System.Reactive.Linq.Observable2.FromPropertyChangedPattern(Common.ViewerDataModel.Instance, temp => temp.SelectedControl).Subscribe(ControlState =>
1760
            {
1761
                if (ControlState == null)
1762
                {
1763
                    instanceToggle.IsChecked = false;
1764
                    HiddenControlHide();
1765
                }
1766
            });
1767
            #endregion
1758
            //#region 다른 컨트롤 버튼 선택 해제
1759
            //System.Reactive.Linq.Observable2.FromPropertyChangedPattern(Common.ViewerDataModel.Instance, temp => temp.SelectedControl).Subscribe(ControlState =>
1760
            //{
1761
            //    if (ControlState == null)
1762
            //    {
1763
            //        instanceToggle.IsChecked = false;
1764
            //        HiddenControlHide();
1765
            //    }
1766
            //});
1767
            //#endregion
1768 1768

  
1769 1769
            Release_ToggleButton(sender); //-> 해당 컨트롤을 제외한 모든 컨트롤에 대해 해제 처리
1770 1770

  
......
1789 1789
            }
1790 1790

  
1791 1791

  
1792
            System.Reactive.Linq.Observable2.FromPropertyChangedPattern(Common.ViewerDataModel.Instance, temp => temp.AngleVisibility).Subscribe(isSee =>
1793
            {
1794
                if (instanceToggle.CommandParameter.ToString() == "ChainLine")
1795
                {
1792
            //System.Reactive.Linq.Observable2.FromPropertyChangedPattern(Common.ViewerDataModel.Instance, temp => temp.AngleVisibility).Subscribe(isSee =>
1793
            //{
1794
            //    if (instanceToggle.CommandParameter.ToString() == "ChainLine")
1795
            //    {
1796 1796

  
1797
                }
1798
                else
1799
                {
1800
                    System.Diagnostics.Debug.WriteLine(" instanceMain.dzMainMenu.MainAngle.Visibility   " + isSee);
1797
            //    }
1798
            //    else
1799
            //    {
1800
            //        System.Diagnostics.Debug.WriteLine(" instanceMain.dzMainMenu.MainAngle.Visibility   " + isSee);
1801

  
1802
            //        if (instanceMain.dzMainMenu.MainAngle.Visibility != isSee)
1803
            //        {
1804
            //            instanceMain.dzMainMenu.MainAngle.Visibility = isSee;
1805
            //        }
1806
            //    }
1807
            //    //System.Reactive.Linq.Observable2.FromPropertyChangedPattern(Common.ViewerDataModel.Instance, temp => temp.AngleValue).Subscribe(p =>
1808
            //    //{
1809
            //    //    instanceMain.dzMainMenu.MainAngle.AngleValue = p;
1810
            //    //});
1811
            //});
1801 1812

  
1802
                    if (instanceMain.dzMainMenu.MainAngle.Visibility != isSee)
1803
                    {
1804
                        instanceMain.dzMainMenu.MainAngle.Visibility = isSee;
1805
                    }
1806
                }
1807
                //System.Reactive.Linq.Observable2.FromPropertyChangedPattern(Common.ViewerDataModel.Instance, temp => temp.AngleValue).Subscribe(p =>
1808
                //{
1809
                //    instanceMain.dzMainMenu.MainAngle.AngleValue = p;
1810
                //});
1811
            });
1812 1813
            instanceMain.dzMainMenu.mouseHandlingMode = IKCOM.MouseHandlingMode.Drawing;
1813 1814

  
1814 1815
            instanceMain.dzMainMenu.inkDrawingCanvas.IsEnabled = false;

내보내기 Unified diff

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