개정판 873011c4
Fix: Undo/Redo 수정 진행
Change-Id: I3392d0ebc877626804a7c5d139d0b31a1942df7d
KCOM/Controls/Sample.xaml.cs | ||
---|---|---|
1191 | 1191 |
} |
1192 | 1192 |
} |
1193 | 1193 |
|
1194 |
public void MarkupListUpdate(MarkupReturn res, Event_Type eventType, string CommentID, MarkupInfoItem item)
|
|
1194 |
public void MarkupListUpdate(MarkupReturn res, EventType eventType, string CommentID, MarkupInfoItem item) |
|
1195 | 1195 |
{ |
1196 | 1196 |
if (MarkupInfoSmallList.Count == 0) |
1197 | 1197 |
{ |
... | ... | |
1219 | 1219 |
|
1220 | 1220 |
switch (eventType) |
1221 | 1221 |
{ |
1222 |
case Event_Type.Create:
|
|
1222 |
case EventType.Create: |
|
1223 | 1223 |
MarkupInfoSmallList.Add(new MarkupInfoItemSmall |
1224 | 1224 |
{ |
1225 | 1225 |
Id = res.CommentID, |
... | ... | |
1230 | 1230 |
UserName = App.UserName, |
1231 | 1231 |
}); |
1232 | 1232 |
break; |
1233 |
case Event_Type.Delete:
|
|
1233 |
case EventType.Delete: |
|
1234 | 1234 |
if(CommentID == null) //user information list delete btn |
1235 | 1235 |
{ |
1236 | 1236 |
foreach (var delItem in item.MarkupList) |
... | ... | |
1243 | 1243 |
MarkupInfoSmallList.RemoveAll(p => p.Id.Equals(CommentID)); |
1244 | 1244 |
} |
1245 | 1245 |
break; |
1246 |
case Event_Type.Thumb://이동 회전
|
|
1246 |
case EventType.Operation://이동 회전
|
|
1247 | 1247 |
MarkupInfoSmallList.RemoveAll(p => p.Id.Equals(res.CommentID)); |
1248 | 1248 |
MarkupInfoSmallList.Add(new MarkupInfoItemSmall |
1249 | 1249 |
{ |
내보내기 Unified diff