개정판 a20d338f
issue #000: TempFile 폴더 변경, UriCheck Delete
Change-Id: I9c76ad959c9232ccd54a16d28d162acc5afb3b6a
KCOM/Views/MainMenu.xaml.cs | ||
---|---|---|
320 | 320 |
ComingNewBieEnd = false; |
321 | 321 |
ViewerDataModel.Instance.MarkupList_USER.Remove(a); |
322 | 322 |
//임시파일에서도 삭제 |
323 |
temp.DelTemp(a.ID, this.ParentOfType<MainWindow>().dzMainMenu.pageNavigator.CurrentPage.PageNumber.ToString());
|
|
323 |
TempFile.DelTemp(a.ID, this.ParentOfType<MainWindow>().dzMainMenu.pageNavigator.CurrentPage.PageNumber.ToString());
|
|
324 | 324 |
}); |
325 | 325 |
|
326 | 326 |
gridViewMarkup.ItemsSource = ViewerDataModel.Instance._markupInfoList; |
... | ... | |
489 | 489 |
} |
490 | 490 |
} |
491 | 491 |
|
492 |
temp.WriteTemp(tempDtList);
|
|
492 |
TempFile.WriteTemp(tempDtList);
|
|
493 | 493 |
tempDtList.Clear(); |
494 | 494 |
} |
495 | 495 |
} |
... | ... | |
509 | 509 |
} |
510 | 510 |
|
511 | 511 |
List<TempLoadData> tempLoadData = new List<TempLoadData>(); |
512 |
public string FilePath = AppDomain.CurrentDomain.BaseDirectory + "Temp\\" + App.ViewInfo.DocumentItemID + ".tmp"; |
|
512 |
//public string FilePath = AppDomain.CurrentDomain.BaseDirectory + "Temp\\" + ; |
|
513 |
public static string PathString = System.IO.Path.GetTempPath() + "\\MARKUS\\" + App.ViewInfo.DocumentItemID + ".tmp"; |
|
513 | 514 |
|
514 | 515 |
public void TempLoad() |
515 | 516 |
{ |
... | ... | |
558 | 559 |
} |
559 | 560 |
else //파일 삭제 |
560 | 561 |
{ |
561 |
temp.Remove();
|
|
562 |
TempFile.Remove();
|
|
562 | 563 |
} |
563 | 564 |
} |
564 | 565 |
} |
... | ... | |
5465 | 5466 |
ViewerDataModel.Instance.MarkupList_USER.Remove(Item_); |
5466 | 5467 |
|
5467 | 5468 |
//임시파일에서도 삭제한다. |
5468 |
temp.DelTemp((control as MarkupToPDF.Common.CommentUserInfo).CommentID, this.ParentOfType<MainWindow>().dzMainMenu.pageNavigator.CurrentPage.PageNumber.ToString());
|
|
5469 |
TempFile.DelTemp((control as MarkupToPDF.Common.CommentUserInfo).CommentID, this.ParentOfType<MainWindow>().dzMainMenu.pageNavigator.CurrentPage.PageNumber.ToString());
|
|
5469 | 5470 |
|
5470 | 5471 |
ViewerDataModel.Instance.UndoDataList.Where(data => data.IsUndo == true).ToList().ForEach(i => |
5471 | 5472 |
{ |
내보내기 Unified diff