개정판 7211e0c2
issue #000: symbol(svg, img) 기존 place 방식으로 변경
Change-Id: I203093a09129289cd338e85a9365d56790ff98c6
KCOM/Controls/Symbol.xaml.cs | ||
---|---|---|
567 | 567 |
Controls.AdornerFinal final = new Controls.AdornerFinal(currentControl as MarkupToPDF.Common.CommentUserInfo); |
568 | 568 |
this.ParentOfType<MainWindow>().dzMainMenu.SelectLayer.Children.Add(final); |
569 | 569 |
|
570 |
/* |
|
570 | 571 |
// this.ParentOfType<MainWindow>().dzMainMenu.isLeftMouseButtonDownOnWindow = true; |
571 | 572 |
// final.MoveAdorner(new System.Windows.Controls.Primitives.DragDeltaEventArgs(realPointX, realPointY)); |
572 | 573 |
double realPointX = this.ParentOfType<MainWindow>().dzMainMenu.getCurrentPoint.X - final.BorderSize.X - (final.BorderSize.Width / 2); |
... | ... | |
574 | 575 |
final.TranslateItems(realPointX, realPointY); |
575 | 576 |
// move.control_Select(item, dragRect); |
576 | 577 |
ApplyDragSelectionRect(); |
577 |
this.ParentOfType<MainWindow>().dzMainMenu.mouseHandlingMode = MouseHandlingMode.DragSymbol; |
|
578 |
//this.ParentOfType<MainWindow>().dzMainMenu.mouseHandlingMode = MouseHandlingMode.DragSymbol;
|
|
578 | 579 |
///this.ParentOfType<MainWindow>().dzMainMenu.mouseButtonDown = MouseButton.Left; |
579 |
this.ParentOfType<MainWindow>().dzMainMenu.symboldata(id, group_id, RadTab.SelectedIndex, Data_, img.Source);
|
|
580 |
//this.ParentOfType<MainWindow>().dzMainMenu.symboldata(id, group_id, RadTab.SelectedIndex, Data_, img.Source);*/
|
|
580 | 581 |
|
581 | 582 |
} |
582 | 583 |
} |
내보내기 Unified diff