개정판 24678e06
issue #000: Add Commons.cs file
Change-Id: I14ae2a26673890b4be08a1c989faf570629ad3d1
KCOM/MainWindow.xaml.cs | ||
---|---|---|
550 | 550 |
var unkownControl = JsonSerializerHelper.JsonDeserialize<S_BaseControl>(controldata); //복호화작업 |
551 | 551 |
ViewerDataModel.Instance.IsPressCtrl = false; |
552 | 552 |
|
553 |
(item as MarkupToPDF.Common.CommentUserInfo).CommentID = Events.SaveCommand.shortGuid();
|
|
553 |
(item as MarkupToPDF.Common.CommentUserInfo).CommentID = Commons.shortGuid();
|
|
554 | 554 |
if (data2.Length >= 2) |
555 | 555 |
{ |
556 | 556 |
(item as MarkupToPDF.Common.CommentUserInfo).SymbolID = data2[1]; |
... | ... | |
599 | 599 |
|
600 | 600 |
string temppath = System.IO.Path.GetTempPath(); |
601 | 601 |
//string filename = KCOM.Events.Save.shortCommentKey(); |
602 |
string filename = KCOM.Events.SaveCommand.shortFileKey();
|
|
602 |
string filename = Commons.shortFileKey();
|
|
603 | 603 |
|
604 | 604 |
System.Drawing.Image clipboardImage = System.Windows.Forms.Clipboard.GetImage(); |
605 | 605 |
clipboardImage.Save(temppath + "\\" + filename); |
... | ... | |
667 | 667 |
ViewerDataModel.Instance.UndoDataList.Add(UndoData); |
668 | 668 |
|
669 | 669 |
ViewerDataModel.Instance.MarkupControls_USER.Add(currentControl as MarkupToPDF.Common.CommentUserInfo); |
670 |
currentControl.CommentID = Events.SaveCommand.shortGuid();
|
|
670 |
currentControl.CommentID = Commons.shortGuid();
|
|
671 | 671 |
|
672 | 672 |
currentControl.ApplyTemplate(); |
673 | 673 |
currentControl.SetImage(); |
내보내기 Unified diff