개정판 873011c4
Fix: Undo/Redo 수정 진행
Change-Id: I3392d0ebc877626804a7c5d139d0b31a1942df7d
KCOM/Events/CreateCommand.cs | ||
---|---|---|
63 | 63 |
ViewerDataModel.Instance.UndoDataList.Remove(i); |
64 | 64 |
}); |
65 | 65 |
|
66 |
MarkupToPDF.Common.Undo_data UndoData = new Undo_data()
|
|
66 |
MarkupToPDF.Common.UndoDataGroup UndoData = new UndoDataGroup()
|
|
67 | 67 |
{ |
68 | 68 |
IsUndo = false, |
69 |
Event = Event_Type.Create,
|
|
69 |
Event = EventType.Create, |
|
70 | 70 |
EventTime = DateTime.Now, |
71 |
Markup_List = new List<Multi_Undo_data>()
|
|
71 |
MarkupDataColl = new List<Multi_UndoData>()
|
|
72 | 72 |
}; |
73 | 73 |
|
74 |
Multi_Undo_data multi_Undo_Data = new Multi_Undo_data()
|
|
74 |
Multi_UndoData multi_UndoData = new Multi_UndoData()
|
|
75 | 75 |
{ |
76 | 76 |
Markup = control |
77 | 77 |
}; |
78 |
UndoData.Markup_List.Add(multi_Undo_Data);
|
|
78 |
UndoData.MarkupDataColl.Add(multi_UndoData);
|
|
79 | 79 |
|
80 | 80 |
ViewerDataModel.Instance.UndoDataList.Add(UndoData); |
81 | 81 |
|
82 | 82 |
ViewerDataModel.Instance.SystemMain.dzMainMenu.pageNavigator.MarkupListUpdate( |
83 |
MarkupParser.MarkupToString(multi_Undo_Data.Markup, App.ViewInfo.UserID), Event_Type.Create, null, null);
|
|
83 |
MarkupParser.MarkupToString(multi_UndoData.Markup, App.ViewInfo.UserID), EventType.Create, null, null);
|
|
84 | 84 |
|
85 | 85 |
control.ApplyOverViewData(); |
86 | 86 |
} |
내보내기 Unified diff