개정판 ef3c797e
저장되지 않은 코멘트 저장 시
Undo Time과 Update Time 불러오는 부분 수정
KCOM/MainWindow.xaml.cs | ||
---|---|---|
237 | 237 |
break; |
238 | 238 |
case ("X"): |
239 | 239 |
{ |
240 |
DateTime undoTime = DateTime.Parse(ViewerDataModel.Instance.UndoDataList.OrderByDescending(order => order.EventTime).FirstOrDefault().EventTime.ToLongTimeString());
|
|
241 |
DateTime updatetime = DateTime.Parse(ViewerDataModel.Instance._markupInfoList.OrderByDescending(order => order.UpdateTime).FirstOrDefault().UpdateTime.ToLongTimeString());
|
|
240 |
DateTime undoTime = ViewerDataModel.Instance.UndoDataList.OrderByDescending(order => order.EventTime).FirstOrDefault().EventTime;
|
|
241 |
DateTime updatetime = ViewerDataModel.Instance._markupInfoList.OrderByDescending(order => order.UpdateTime).FirstOrDefault().UpdateTime;
|
|
242 | 242 | |
243 |
if(undoTime > updatetime)
|
|
243 |
if(undoTime > updatetime) |
|
244 | 244 |
{ |
245 | 245 |
var box = new TextBlock(); |
246 | 246 |
box.MinWidth = 400; |
내보내기 Unified diff