프로젝트

일반

사용자정보

개정판 7b34fb3a

ID7b34fb3adb7cc9f42eb8f74ea9182ea7e8b5a7a0
상위 86143026
하위 147d78f3

임예철이(가) 9달 전에 추가함

drawing control copy, clone 추가

Change-Id: I453efca38394beb691b91c3ad0ab288725668d77

차이점 보기:

MarkupToPDF/Controls/Etc/SymControlN.cs
37 37
            // System.Diagnostics.Debug.WriteLine("resource Count :" + Application.Current.Resources.MergedDictionaries.Count);
38 38
        }
39 39

  
40
        public override void Copy(CommentUserInfo lhs)
41
        {
42
            if (lhs is SymControlN symControlN)
43
            {
44
                this.PointSet = symControlN.PointSet.ConvertAll(x => new Point(x.X, x.Y));
45
                this.StartPoint = new Point(symControlN.StartPoint.X, symControlN.StartPoint.Y);
46
                this.EndPoint = new Point(symControlN.EndPoint.X, symControlN.EndPoint.Y);
47
                this.CommentAngle = symControlN.CommentAngle;
48
                this.LeftBottomPoint = new Point(symControlN.LeftBottomPoint.X, symControlN.LeftBottomPoint.Y);
49
                this.TopRightPoint = new Point(symControlN.TopRightPoint.X, symControlN.TopRightPoint.Y);
50
                this.Opacity = symControlN.Opacity;
51
                this.PathXathData = symControlN.PathXathData;
52
                this.Memo = symControlN.Memo;
53
            }
54
        }
55

  
56
        public override CommentUserInfo Clone()
57
        {
58
            var clone = new SymControlN();
59
            clone.Copy(this);
60
            return clone;
61
        }
62

  
40 63
        public event PropertyChangedEventHandler PropertyChanged;
41 64
        protected void RaisePropertyChanged(string propName)
42 65
        {

내보내기 Unified diff

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