개정판 ac4f1e13
Markup load 비동기로 변경
Change-Id: I471906b1090f7f3f0fd18e97d88a54f75fd1f673
KCOM/Events/PasteCommand.cs | ||
---|---|---|
56 | 56 |
/// <author>humkyung</author> |
57 | 57 |
/// <date>2019.06.18</date> |
58 | 58 |
/// <param name="comments"></param> |
59 |
public void Execute() |
|
59 |
public async void Execute()
|
|
60 | 60 |
{ |
61 | 61 |
if (Clipboard.GetText().Contains("|OR||DZ|")) |
62 | 62 |
{ |
... | ... | |
90 | 90 |
string[] data2 = new string[2]; |
91 | 91 |
data2 = parse.Split(delimiterChars2, StringSplitOptions.RemoveEmptyEntries); |
92 | 92 |
|
93 |
System.Windows.Controls.Control item = MarkupParser.ParseEx(App.ViewInfo.ProjectNO, data2[0], ViewerDataModel.Instance.MarkupControls_USER, string.Empty, string.Empty);
|
|
93 |
System.Windows.Controls.Control item = await MarkupParser.ParseExAsync(App.ViewInfo.ProjectNO, data2[0], ViewerDataModel.Instance.MarkupControls_USER, string.Empty, string.Empty);
|
|
94 | 94 |
(item as MarkupToPDF.Common.CommentUserInfo).CommentID = Commons.shortGuid(); |
95 | 95 |
if (data2.Length >= 2) |
96 | 96 |
{ |
내보내기 Unified diff