개정판 f816dd63
issue #923: add RedoCommand class
Change-Id: I4030ff812a02655439edccaa65cdaaa035e1549a
KCOM/Events/Implementation/TopMenuEvent.cs | ||
---|---|---|
2096 | 2096 |
#endregion |
2097 | 2097 |
#region Undo |
2098 | 2098 |
case "Undo": |
2099 |
this.ParentOfType<MainWindow>().dzMainMenu.Undo();
|
|
2099 |
UndoCommand.Instance.Execute();
|
|
2100 | 2100 |
instanceToggle.IsChecked = false; |
2101 | 2101 |
ViewerDataModel.Instance.SelectedControl = ""; |
2102 | 2102 |
ViewerDataModel.Instance.ControlTag = null; |
... | ... | |
2106 | 2106 |
#endregion |
2107 | 2107 |
#region Redo |
2108 | 2108 |
case "Redo": |
2109 |
this.ParentOfType<MainWindow>().dzMainMenu.Redo();
|
|
2109 |
RedoCommand.Instance.Execute();
|
|
2110 | 2110 |
instanceToggle.IsChecked = false; |
2111 | 2111 |
ViewerDataModel.Instance.SelectedControl = ""; |
2112 | 2112 |
ViewerDataModel.Instance.ControlTag = null; |
내보내기 Unified diff