프로젝트

일반

사용자정보

개정판 1066bae3

ID1066bae338c75b4539ee2f375d83b4298150ce3f
상위 5423f26d
하위 1ba2b03d

이지연이(가) 5년 이상 전에 추가함

issue #923 Select Control edit

Change-Id: Ic24089c392a187d3635fb1fb006fc9bf758e3d5c

차이점 보기:

MarkupToPDF/Controls/Text/TextControl.cs
1117 1117
            if (e.OldValue != e.NewValue && instance.Base_TextBlock != null)
1118 1118
            {
1119 1119
                instance.SetValue(e.Property, e.NewValue);
1120
                //instance.DrawingCloud();
1120
                instance.DrawingCloud();
1121 1121
            }
1122 1122
        }
1123 1123

  
......
1127 1127
            if (e.OldValue != e.NewValue && instance!= null)
1128 1128
            {
1129 1129
                instance.SetValue(e.Property, e.NewValue);
1130
                //instance.DrawingCloud();
1130
                instance.DrawingCloud();
1131 1131
            }
1132 1132
        }
1133 1133
            
......
1166 1166
        /// <param name="dy"></param>
1167 1167
        public override void Move(double dx, double dy)
1168 1168
        {
1169
            Canvas.SetLeft(this, Canvas.GetLeft(this) + dx);
1170
            Canvas.SetTop(this, Canvas.GetTop(this) + dy);
1169
            //Canvas.SetLeft(this, Canvas.GetLeft(this) + dx);
1170
            //Canvas.SetTop(this, Canvas.GetTop(this) + dy);
1171
            this.SetValue(TextControl.CanvasXProperty, Canvas.GetLeft(this) + dx);
1172
            this.SetValue(TextControl.CanvasYProperty, Canvas.GetTop(this) + dy);
1173
            //System.Diagnostics.Debug.WriteLine("Left :" + Canvas.GetLeft(this) + dx);
1174
            //System.Diagnostics.Debug.WriteLine("Top :" + Canvas.GetTop(this) + dy);
1175

  
1176
            //this.CanvasX = Canvas.GetLeft(this) + dx;
1177
            //this.CanvasY = Canvas.GetTop(this) + dy;
1178

  
1179
            //System.Diagnostics.Debug.WriteLine("X :" + this.CanvasX);
1180
            //System.Diagnostics.Debug.WriteLine("Y :" + this.CanvasY);
1181
            //this.SetValue(TextControl.CanvasXProperty, Canvas.GetLeft(this) + dx);
1182
            //this.SetValue(TextControl.CanvasYProperty, Canvas.GetTop(this) + dy);
1171 1183
            this.StartPoint = new Point(this.StartPoint.X + dx, this.StartPoint.Y + dy);
1172 1184
            this.EndPoint = new Point(this.EndPoint.X + dx, this.EndPoint.Y + dy);
1173 1185
        }

내보내기 Unified diff

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