프로젝트

일반

사용자정보

개정판 92c9cab8

ID92c9cab85f626f07bf5f8ef8e70a1ed0bfb02d09
상위 38d69491
하위 a8aec13a

김태성이(가) 12달 전에 추가함

issue #0000 DIG test 오류 수정

Change-Id: If8c0d8e600350c6ac591324d3cc5667a1bc57c5e

차이점 보기:

KCOM/Events/Event_KeyEvent.cs
73 73

  
74 74
                            if (Common.ViewerDataModel.Instance.MarkupControls_USER.Count > 0)
75 75
                            {
76
                                /// 전체 선택 시 선택된 토글 해제
76
                                var text_item_ = ViewerDataModel.Instance.MarkupControls_USER.Where(data => (data as TextControl) != null && (data as TextControl).IsEditingMode == true).FirstOrDefault();
77
                                if (text_item_ != null)
78
                                {
79
                                    (text_item_ as TextControl).Base_TextBlock.Visibility = Visibility.Visible;
80
                                    (text_item_ as TextControl).Base_TextBox.Visibility = Visibility.Collapsed;
81
                                    (text_item_ as TextControl).UnEditingMode();
82

  
83
                                    SelectionSet.Instance.UnSelect(ViewerDataModel.Instance.SystemMain.dzMainMenu);
84
                                }
85

  
86
                                var Arrowtext_item_ = ViewerDataModel.Instance.MarkupControls_USER.Where(data => (data as ArrowTextControl) != null && (data as ArrowTextControl).IsEditingMode == true).FirstOrDefault();
87
                                if (Arrowtext_item_ != null && ((Arrowtext_item_ as ArrowTextControl).IsNew == false))
88
                                {
89
                                    (Arrowtext_item_ as ArrowTextControl).IsEditingMode = false;
90
                                    (Arrowtext_item_ as ArrowTextControl).Base_TextBox.Focusable = false;
91
                                    (Arrowtext_item_ as ArrowTextControl).UnEditingMode();
92

  
93
                                    SelectionSet.Instance.UnSelect(ViewerDataModel.Instance.SystemMain.dzMainMenu);
94
                                }
95

  
96
                                    /// 전체 선택 시 선택된 토글 해제
77 97
                                var TogList = this.dzTopMenu.Parent.ChildrenOfType<RadToggleButton>();
78 98
                                this.dzMainMenu.controlType = MarkupToPDF.Controls.Common.ControlType.None;
79 99
                                this.dzMainMenu.mouseHandlingMode = IKCOM.MouseHandlingMode.None;
80 100

  
81
                                /// 컨트롤을 그리는 도중일 경우 컨트롤 삭제
82
                                ViewerDataModel.Instance.MarkupControls_USER.Remove(this.dzMainMenu.currentControl);
101
                                if (text_item_ == null && Arrowtext_item_ == null)
102
                                {
103
                                    /// 컨트롤을 그리는 도중일 경우 컨트롤 삭제
104
                                    ViewerDataModel.Instance.MarkupControls_USER.Remove(this.dzMainMenu.currentControl);
105
                                }
106

  
83 107
                                this.dzMainMenu.currentControl = null;
84 108

  
85 109
                                foreach (var tog in TogList)

내보내기 Unified diff

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