프로젝트

일반

사용자정보

개정판 0d00f9c8

ID0d00f9c81d1c7f1736863a06f43686f6fe0df84e
상위 5984979a
하위 8771edc4

백흠경이(가) 5년 이상 전에 추가함

issue #923: implementing drag textcontrol

Change-Id: I17d1f4ec754ea13646260d1c331d574ad680d47d

차이점 보기:

KCOM/MainWindow.xaml.cs
570 570

  
571 571
                    double realPointX = this.dzMainMenu.getCurrentPoint.X - final.BorderSize.X - (final.BorderSize.Width / 2);
572 572
                    double realPointY = this.dzMainMenu.getCurrentPoint.Y - final.BorderSize.Y - (final.BorderSize.Height / 2);
573
                    final.MoveAdorner(new System.Windows.Controls.Primitives.DragDeltaEventArgs(realPointX, realPointY));
573
                    final.TranslateItems(realPointX, realPointY);
574 574

  
575 575
                    if (final.Members.Where(type => type.Drawingtype == MarkupToPDF.Controls.Common.ControlType.TextControl).FirstOrDefault() != null)
576 576
                    {
577
                        final.MoveAdorner(new System.Windows.Controls.Primitives.DragDeltaEventArgs(0.001, 0.001));
577
                        final.TranslateItems(0.001, 0.001);
578 578
                    }
579 579

  
580 580
                    this.dzMainMenu.SelectLayer.Children.Add(final);
......
676 676

  
677 677
                        double realPointX = this.dzMainMenu.getCurrentPoint.X - final.BorderSize.X - (final.BorderSize.Width / 2);
678 678
                        double realPointY = this.dzMainMenu.getCurrentPoint.Y - final.BorderSize.Y - (final.BorderSize.Height / 2);
679
                        final.MoveAdorner(new System.Windows.Controls.Primitives.DragDeltaEventArgs(realPointX, realPointY));
679
                        final.TranslateItems(realPointX, realPointY);
680 680
                    }
681 681
                    catch(Exception ex)
682 682
                    {

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)