개정판 be31927d
issue #000 symbol click event error modify
KCOM/Controls/Symbol.xaml.cs | ||
---|---|---|
396 | 396 |
{ |
397 | 397 |
Type type = e.OriginalSource.GetType(); |
398 | 398 |
string id = string.Empty; |
399 |
Logger.sendResLog("Move_Symbol", type.Name, 0); |
|
399 | 400 |
if (type.Name == "Image") |
400 | 401 |
{ |
401 | 402 |
id = ((e.OriginalSource as Image).DataContext as Symbol_Custom).ID; |
... | ... | |
404 | 405 |
{ |
405 | 406 |
id = ((e.OriginalSource as Border).DataContext as Symbol_Custom).ID; |
406 | 407 |
} |
408 |
else if (type.Name == "TextBlock") |
|
409 |
{ |
|
410 |
id = ((e.OriginalSource as TextBlock).DataContext as Symbol_Custom).ID; |
|
411 |
} |
|
407 | 412 |
|
408 | 413 |
IsMouseDown = true; |
409 | 414 |
if (e.ClickCount > 1) |
내보내기 Unified diff