프로젝트

일반

사용자정보

개정판 873011c4

ID873011c45de2dc9166fab8ef8a85a0fa394a0d84
상위 47048310
하위 37eadd3f

백흠경이(가) 9달 전에 추가함

Fix: Undo/Redo 수정 진행

Change-Id: I3392d0ebc877626804a7c5d139d0b31a1942df7d

차이점 보기:

KCOM/Events/CutCommand.cs
65 65
                    string id = string.Empty;
66 66
                    if (item?.GetType().Name == "AdornerFinal")
67 67
                    {
68
                        MarkupToPDF.Common.Undo_data UndoData = new Undo_data()
68
                        MarkupToPDF.Common.UndoDataGroup UndoData = new UndoDataGroup()
69 69
                        {
70 70
                            IsUndo = false,
71
                            Event = Event_Type.Delete,
71
                            Event = EventType.Delete,
72 72
                            EventTime = DateTime.Now,
73
                            Markup_List = new List<Multi_Undo_data>()
73
                            MarkupDataColl = new List<Multi_UndoData>()
74 74
                        };
75 75

  
76 76
                        foreach (var InnerItem in (item as Controls.AdornerFinal).Members.Cast<Controls.AdornerMember>())
77 77
                        {
78 78
                            var comment = (InnerItem.DrawingData as MarkupToPDF.Common.CommentUserInfo);
79 79

  
80
                            Multi_Undo_data multi_Undo_Data = new Multi_Undo_data()
80
                            Multi_UndoData multi_UndoData = new Multi_UndoData()
81 81
                            {
82 82
                                Markup = comment
83 83
                            };
84
                            UndoData.Markup_List.Add(multi_Undo_Data);
84
                            UndoData.MarkupDataColl.Add(multi_UndoData);
85 85

  
86 86
                            var data = MarkupParser.MarkupToString(comment, App.ViewInfo.UserID);
87 87

  
......
96 96
                            ViewerDataModel.Instance.MyMarkupList.Remove(Item_);
97 97

  
98 98
                            ViewerDataModel.Instance.SystemMain.dzMainMenu.pageNavigator.MarkupListUpdate(
99
                            null, Event_Type.Delete, data.CommentID, null);
99
                            null, EventType.Delete, data.CommentID, null);
100 100
                        }
101 101
                        ViewerDataModel.Instance.UndoDataList.Add(UndoData);
102 102
                        Clipboard.SetText(MarkupData,TextDataFormat.Text);

내보내기 Unified diff

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