프로젝트

일반

사용자정보

개정판 4913851c

ID4913851c4c0b26e88c3adc113286ae58410e93f4
상위 a36a37c3
하위 5e52ea63, b2a7c1f8

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

issue #923: change control's color when mouse is over1

Change-Id: Id6c30459bd314a0d7d87d9c3ba037aef0db53338

차이점 보기:

KCOM/Common/SelectionSet.cs
58 58
                {
59 59
                    if (item.GetType().Name == "AdornerFinal")
60 60
                    {
61
                        foreach (var InnerItem in (item as Controls.AdornerFinal).MemberSet.Cast<Controls.AdornerMember>())
61
                        foreach (var InnerItem in (item as Controls.AdornerFinal).Members.Cast<Controls.AdornerMember>())
62 62
                        {
63 63
                            res.Add(InnerItem.DrawingData as MarkupToPDF.Common.CommentUserInfo);
64 64
                        }
......
111 111
                        {
112 112
                            (item as AdornerFinal).unRegister();
113 113

  
114
                            foreach (var InnerItem in (item as AdornerFinal).MemberSet.Cast<AdornerMember>())
114
                            foreach (var InnerItem in (item as AdornerFinal).Members.Cast<AdornerMember>())
115 115
                            {
116 116
                                if (!ViewerDataModel.Instance.MarkupControls_USER.Contains(InnerItem.DrawingData))
117 117
                                {
KCOM/Controls/AdornerFinal.xaml.cs
35 35
        public string Symbol_ID { get; set; }
36 36
        public long Group_ID { get; set; }
37 37
    }
38

  
38 39
    public partial class AdornerFinal : UserControl
39 40
    {
40 41
        public TextBox editTextBox { get; set; }
41 42
        #region 공용 인스턴스
42
        public List<AdornerMember> MemberSet { get; set; }
43
        public List<AdornerMember> Members { get; } = new List<AdornerMember>();
43 44
        public Dictionary<Thumb, DragData> _dragData = new Dictionary<Thumb, DragData>();
44 45
        public double AngleValue = 0;
45 46
        public bool IsTextAngle = false;
......
51 52
        public RadCalendar dropCalendar;
52 53
        public Thumb mainDragThumb { get; set; }
53 54

  
55
        private bool disposed;
56

  
54 57
        public Point reSizePoint { get; set; }
55 58
        private Point rotatePoint { get; set; } /// 2018.05.09 added by humkyung
56 59
        #endregion
......
59 62
        {
60 63
            dropData = sender as RadDropDownButton;
61 64
        }
65

  
62 66
        private void Date_Calendar_Loaded(object sender, RoutedEventArgs e)
63 67
        {
64 68
            dropCalendar = sender as RadCalendar;
65 69
            dropCalendar.SelectionChanged += (sen, ea) =>
66 70
            {
67 71
                dropData.IsOpen = false;
68
                if ((MemberSet.First() as AdornerMember).DrawingData.GetType().Name == "DateControl")
72
                if ((this.Members.First() as AdornerMember).DrawingData.GetType().Name == "DateControl")
69 73
                {
70
                    DateControl data = (MemberSet.First() as AdornerMember).DrawingData as DateControl;
74
                    DateControl data = (this.Members.First() as AdornerMember).DrawingData as DateControl;
71 75
                    data.Text = dropCalendar.SelectedDate.Value.ToShortDateString();
72 76
                }
73 77
            };
74 78
        }
79

  
75 80
        public AdornerFinal()
76 81
        {
77 82
            InitializeComponent();
78
            MemberSet = new List<AdornerMember>();
79 83
            BorderSize = new Rect();
80 84
            _dragData.Add(rotateTop, new DragData() { CursorAngle = 0, DragType = DragType.Rotate, RotateIsLeft = true, RotateIsTop = true });
81
            //_dragData.Add(rotateCenter, new DragData() { CursorAngle = 0, DragType = DragType.Rotate, RotateIsLeft = true, RotateIsTop = true });
85
        }
86

  
87
        ~AdornerFinal()
88
        {
89
            this.Dispose(false);
90
        }
91

  
92
        public void Dispose()
93
        {
94
            this.Dispose(true);
95
            GC.SuppressFinalize(this);
96
        }
97

  
98
        protected virtual void Dispose(bool disposing)
99
        {
100
            if (this.disposed) return;
101
            if (disposing)
102
            {
103
                foreach (var member in this.Members)
104
                {
105
                    if(!Common.ViewerDataModel.Instance.MarkupControls_USER.Contains(member.DrawingData))
106
                        Common.ViewerDataModel.Instance.MarkupControls_USER.Add(member.DrawingData as CommentUserInfo);
107
                }
108
                // IDisposable 인터페이스를 구현하는 멤버들을 여기서 정리합니다.
109
            }
110
            // .NET Framework에 의하여 관리되지 않는 외부 리소스들을 여기서 정리합니다.
111
            this.disposed = true;
82 112
        }
83 113

  
84 114
        void DragThumb_Loaded(object sender, RoutedEventArgs e)
......
106 136
            SetAdornerMember(objectData as CommentUserInfo);
107 137
            this.Focus();
108 138
        }
139

  
109 140
        public AdornerFinal(List<CommentUserInfo> objectData) : this()
110 141
        {
111 142
            InitializeComponent();
......
126 157

  
127 158
                }
128 159
            }
129
            SetAdornerMember(objectData);
160
            this.SetAdornerMember(objectData);
130 161
            this.Focus();
131 162
        }
132 163

  
......
153 184
            {
154 185
                #region 컨트롤 조건
155 186
                case "LineControl": //Angle추가 안했음
156
                    MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.SingleLine, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
187
                    this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.SingleLine, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
157 188
                    break;
158 189
                case "ImgControl": //Angle추가 안했음
159
                    MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.ImgControl, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
190
                    this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.ImgControl, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
160 191
                    //AdornerBorder.RenderTransformOrigin = new Point(0.5, 0.5);            
161 192
                    //DragThumb.RenderTransformOrigin = new Point(0.5, 0.5);
162 193
                    AngleValue = (member as ImgControl).Angle;
163 194
                    break;
164 195
                //case "SymControl": //Angle추가 안했음
165
                //    MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = MarkupType.Viewbox, ThumbList = new List<Thumb>() });
196
                //    this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = MarkupType.Viewbox, ThumbList = new List<Thumb>() });
166 197
                //    AngleValue = (member as SymControl).Angle;
167 198
                //    //ViewBoxRotate(member);
168 199
                //    break;
169 200
                //case "SymControlN": //Angle추가 안했음
170
                //    MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = MarkupType.Viewbox, ThumbList = new List<Thumb>() });
201
                //    this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = MarkupType.Viewbox, ThumbList = new List<Thumb>() });
171 202
                //    AngleValue = (member as SymControlN).Angle;
172 203
                //    //ViewBoxRotate(member);
173 204
                //    break;
174 205
                case "PolygonControl": //Angle추가 안했음
175
                    MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.PolygonControl, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
206
                    this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.PolygonControl, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
176 207
                    break;
177 208
                case "ArrowControl":
178
                    MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.ArrowLine, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
209
                    this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.ArrowLine, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
179 210
                    break;
180 211
                case "ArrowTextControl":
181
                    MemberSet.Add(new AdornerMember
212
                    this.Members.Add(new AdornerMember
182 213
                    {
183 214
                        DrawingData = member,
184 215
                        Drawingtype = ControlType.ArrowTextControl,
......
200 231
                    });
201 232
                    break;
202 233
                case "ArcControl":
203
                    MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.ArcLine, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
234
                    this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.ArcLine, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
204 235
                    break;
205 236
                case "ArrowArcControl":
206
                    MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.ArcArrow, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
237
                    this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.ArcArrow, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
207 238
                    break;
208 239
                case "ArrowControl_Multi":
209
                    MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.ArrowMultiLine, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
240
                    this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.ArrowMultiLine, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
210 241
                    break;
211 242
                case "RectangleControl":
212
                    MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.Rectangle, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
243
                    this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.Rectangle, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
213 244
                    break;
214 245
                case "DateControl":
215
                    MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.Date, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
246
                    this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.Date, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
216 247
                    AngleValue = (member as DateControl).Angle;
217 248
                    break;
218 249
                case "TriControl":
219
                    MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.Triangle, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
250
                    this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.Triangle, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
220 251
                    break;
221 252
                case "CircleControl":
222
                    MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.Circle, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
253
                    this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.Circle, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
223 254
                    break;
224 255
                case "CloudControl":
225
                    MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.PolygonCloud, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
256
                    this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.PolygonCloud, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
226 257
                    break;
227 258
                case "RectCloudControl":
228
                    MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.RectCloud, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
259
                    this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.RectCloud, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
229 260
                    break;
230 261
                case "SignControl":
231
                    MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.Sign, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
262
                    this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.Sign, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
232 263
                    AngleValue = (member as SignControl).Angle;
233 264
                    break;
234 265

  
235 266
                case "SymControl":
236
                    MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.Symbol, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
267
                    this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.Symbol, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
237 268
                    AngleValue = (member as SymControl).Angle;
238 269
                    break;
239 270
                case "SymControlN":
240
                    MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.Stamp, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
271
                    this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.Stamp, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
241 272
                    AngleValue = (member as SymControlN).Angle;
242 273
                    break;
243 274
                case "InkControl": //Angle추가 안했음
244
                    MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.Ink, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
275
                    this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.Ink, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
245 276
                    break;
246 277
                case "TextControl":
247
                    MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.TextControl, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
278
                    this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.TextControl, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
248 279
                    RectangleGeometry Data = new RectangleGeometry
249 280
                    {
250 281
                        Rect = new Rect()
......
299 330
                    });
300 331
                    break;
301 332
                case "InsideWhiteControl":
302
                    MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.InsideWhite, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
333
                    this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.InsideWhite, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
303 334
                    break;
304 335
                case "OverlapWhiteControl":
305
                    MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.OverlapWhite, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
336
                    this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.OverlapWhite, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
306 337
                    break;
307 338
                case "ClipWhiteControl":
308
                    MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.ClipWhite, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
339
                    this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.ClipWhite, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
309 340
                    break;
310 341
                case "CoordinateControl":
311
                    MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.Coordinate, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
342
                    this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.Coordinate, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
312 343
                    break;
313 344
                default:
314 345
                    break;
......
326 357
                RegistryPoint(member);
327 358
            }
328 359
            BorderUpdate();
360

  
361
            if (Common.ViewerDataModel.Instance.MarkupControls_USER.Contains(member)) Common.ViewerDataModel.Instance.MarkupControls_USER.Remove(member);
329 362
        }
330 363

  
331 364
        private void ViewBoxRotate(UIElement member)
......
335 368
            AdornerBorder.RenderTransform = new RotateTransform() { Angle = (member as IViewBox).Angle };
336 369
            DragThumb.RenderTransform = new RotateTransform() { Angle = (member as IViewBox).Angle };
337 370
        }
371

  
338 372
        public void SetAdornerMember(List<CommentUserInfo> members)
339 373
        {
340 374
            foreach (var member in members)
......
343 377
                {
344 378
                    #region 컨트롤 조건
345 379
                    case "LineControl":
346
                        MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.SingleLine, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
380
                        this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.SingleLine, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
347 381
                        break;
348 382
                    case "ImgControl":
349
                        MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.ImgControl, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
383
                        this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.ImgControl, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
350 384
                        break;
351 385
                    case "ArrowControl":
352
                        MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.ArrowLine, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
386
                        this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.ArrowLine, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
353 387
                        break;
354 388
                    case "PolygonControl":
355
                        MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.PolygonControl, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
389
                        this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.PolygonControl, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
356 390
                        break;
357 391
                    case "ArrowTextControl":
358
                        MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.ArrowTextControl, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
392
                        this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.ArrowTextControl, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
359 393
                        (member as ArrowTextControl).Base_TextBox.IsHitTestVisible = false;
360 394
                        break;
361 395
                    case "ArcControl":
362
                        MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.ArcLine, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
396
                        this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.ArcLine, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
363 397
                        break;
364 398
                    case "ArrowArcControl":
365
                        MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.ArcArrow, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
399
                        this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.ArcArrow, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
366 400
                        break;
367 401
                    case "DateControl":
368
                        MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.Date, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
402
                        this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.Date, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
369 403
                        break;
370 404
                    case "ArrowControl_Multi":
371
                        MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.ArrowMultiLine, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
405
                        this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.ArrowMultiLine, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
372 406
                        break;
373 407
                    case "RectangleControl":
374
                        MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.Rectangle, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
408
                        this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.Rectangle, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
375 409
                        break;
376 410
                    case "TriControl":
377
                        MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.Triangle, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
411
                        this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.Triangle, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
378 412
                        break;
379 413
                    case "CircleControl":
380
                        MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.Circle, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
414
                        this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.Circle, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
381 415
                        break;
382 416
                    case "CloudControl":
383
                        MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.PolygonCloud, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
417
                        this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.PolygonCloud, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
384 418
                        break;
385 419
                    case "RectCloudControl":
386
                        MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.RectCloud, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
420
                        this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.RectCloud, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
387 421
                        break;
388 422
                    case "SignControl":
389
                        MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.Sign, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
423
                        this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.Sign, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
390 424
                        break;
391 425
                    case "SymControl":
392
                        MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.Symbol, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
426
                        this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.Symbol, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
393 427
                        break;
394 428
                    case "SymControlN":
395
                        MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.Stamp, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
429
                        this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.Stamp, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
396 430
                        break;
397 431
                    case "InkControl":
398
                        MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.Ink, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
432
                        this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.Ink, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
399 433
                        break;
400 434
                    case "TextControl":
401
                        MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.TextControl, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
435
                        this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.TextControl, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
402 436
                        Observable.FromEventPattern(((TextControl)member), "PropertyChanged").Subscribe(a =>
403 437
                        {
404 438
                            BorderUpdate();
......
418 452
                        });
419 453
                        break;
420 454
                    case "InsideWhiteControl":
421
                        MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.InsideWhite, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
455
                        this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.InsideWhite, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
422 456
                        break;
423 457
                    case "OverlapWhiteControl":
424
                        MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.OverlapWhite, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
458
                        this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.OverlapWhite, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
425 459
                        break;
426 460
                    case "ClipWhiteControl":
427
                        MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.ClipWhite, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
461
                        this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.ClipWhite, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
428 462
                        break;
429 463
                    case "CoordinateControl":
430
                        MemberSet.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.Coordinate, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
464
                        this.Members.Add(new AdornerMember { DrawingData = member, Drawingtype = ControlType.Coordinate, ThumbList = new List<Thumb>(), Symbol_ID = member.SymbolID, Group_ID = member.GroupID });
431 465
                        break;
432 466
                    default:
433 467
                        break;
......
443 477
                {
444 478
                    RegistryPoint(member, members.Count);
445 479
                }
480

  
481
                if (Common.ViewerDataModel.Instance.MarkupControls_USER.Contains(member))  Common.ViewerDataModel.Instance.MarkupControls_USER.Remove(member); /// remove commment from mycontrols
446 482
            }
447 483

  
448 484
            BorderUpdate();
......
461 497
            double maxX = double.MinValue;
462 498
            double maxY = double.MinValue;
463 499

  
464
            if (MemberSet.Count == 1)
500
            if (this.Members.Count == 1)
465 501
            {
466
                if (MemberSet.First().DrawingData.GetType().Name == "TextControl")
502
                if (this.Members.First().DrawingData.GetType().Name == "TextControl")
467 503
                {
468
                    if ((MemberSet.First().DrawingData as TextControl).Angle != 0)
504
                    if ((this.Members.First().DrawingData as TextControl).Angle != 0)
469 505
                    {
470
                        trRotate.Angle = (MemberSet.First().DrawingData as TextControl).Angle;
471
                        trRotateThumb.Angle = (MemberSet.First().DrawingData as TextControl).Angle;
506
                        trRotate.Angle = (this.Members.First().DrawingData as TextControl).Angle;
507
                        trRotateThumb.Angle = (this.Members.First().DrawingData as TextControl).Angle;
472 508
                    }
473 509
                    else
474 510
                    {
......
477 513
                    }
478 514
                }
479 515
            }
480
            foreach (var item in MemberSet)
516
            foreach (var item in this.Members)
481 517
            {
482 518
                UIElement currentControl = (item as AdornerMember).DrawingData;
483 519
                if (item.DrawingData.GetType().Name == "TextControl")
......
646 682
                list.Add(new Point((member as IPath).PathData.Bounds.Right, (member as IPath).PathData.Bounds.Bottom));
647 683
                list.Add(new Point((member as IPath).PathData.Bounds.Right, (member as IPath).PathData.Bounds.Top));
648 684
            }
649
            ControlType markT = MemberSet.Where(p => p.DrawingData == member).First().Drawingtype;
685
            ControlType markT = this.Members.Where(p => p.DrawingData == member).First().Drawingtype;
650 686
            foreach (var ax in list)
651 687
            {
652 688
                Minx = (ax.X < Minx) ? ax.X : Minx;
......
659 695
                    Style = (Style)this.LayoutRoot.Resources["ThumbResizeStyle"],
660 696
                };
661 697

  
662
                MemberSet.Last().ThumbList.Add(tm);
698
                this.Members.Last().ThumbList.Add(tm);
663 699

  
664 700
                if ((markT == ControlType.ArcLine && list[i] == (member as ArcControl).MidPoint) || (markT == ControlType.ArcArrow && list[i] == (member as ArrowArcControl).MidPoint))
665 701
                {
......
667 703
                }
668 704
                if (member.GetType().Name == "ArrowTextControl" && i == 1)
669 705
                {
670
                    //if (MemberSet.Count()<=1)
706
                    //if (this.Members.Count()<=1)
671 707
                    //{
672 708
                    tm.Style = (Style)this.LayoutRoot.Resources["ThumbArcControlStyle"];
673 709
                    List<Point> ps = new List<Point>();
674 710

  
675
                    if ((MemberSet.First() as AdornerMember).DrawingData as ArrowTextControl != null)
711
                    if ((this.Members.First() as AdornerMember).DrawingData as ArrowTextControl != null)
676 712
                    {
677
                        var temp = (MemberSet.First() as AdornerMember).DrawingData as ArrowTextControl;
713
                        var temp = (this.Members.First() as AdornerMember).DrawingData as ArrowTextControl;
678 714

  
679 715

  
680 716
                        switch (Math.Abs(temp.Angle).ToString())
......
836 872

  
837 873
        private void ResizeTm_DragDelta(object sender, DragDeltaEventArgs e)
838 874
        {
839
            if (MemberSet.Count > 1)
875
            if (this.Members.Count > 1)
840 876
                return;
841 877
            if (reSizePoint != new Point(0, 0))
842 878
            {
......
866 902

  
867 903
                Point setPoint = new Point(Canvas.GetLeft(thumb), Canvas.GetTop(thumb));
868 904
                
869
                AdornerMember control = (from userThumb in MemberSet
905
                AdornerMember control = (from userThumb in this.Members
870 906
                                         where userThumb.ThumbList.Contains(thumb)
871 907
                                         select userThumb).FirstOrDefault();
872 908
                Point nearPoint = new Point(0, 0);
......
874 910
                if (ControlType.TextControl != control.Drawingtype)
875 911
                {
876 912

  
877
                    var temp = (MemberSet.First() as AdornerMember).DrawingData as ArrowTextControl;
913
                    var temp = (this.Members.First() as AdornerMember).DrawingData as ArrowTextControl;
878 914
                    List<Point> ps = new List<Point>();
879 915

  
880 916
                    nearPoint = MathSet.getNearPoint((control.DrawingData as IPath).PointSet, setPoint);
......
1193 1229
            this.isDragging = false;
1194 1230
            DraggerThumb = null;
1195 1231

  
1196
            var comments = (from drawing in this.MemberSet
1232
            var comments = (from drawing in this.Members
1197 1233
                            select drawing.DrawingData as CommentUserInfo).ToList();
1198 1234
            UndoCommand.Instance.Push(comments, this.AngleValue);
1199 1235
        }
......
1229 1265
                }
1230 1266
            }
1231 1267

  
1232
            var comments = (from drawing in this.MemberSet
1268
            var comments = (from drawing in this.Members
1233 1269
                            select drawing.DrawingData as CommentUserInfo).ToList();
1234 1270
            UndoCommand.Instance.Push(comments, this.AngleValue);
1235 1271
        }
1236 1272

  
1237 1273
        private void rotate_MouseMove(object sender, MouseEventArgs e)
1238 1274
        {
1239
            if ((MemberSet.First() as AdornerMember).DrawingData.GetType().Name == "TextControl")
1275
            if ((this.Members.First() as AdornerMember).DrawingData.GetType().Name == "TextControl")
1240 1276
            {
1241 1277
                if (LastRotateVerticalValue < e.GetPosition(this).X)
1242 1278
                    IsTextAngle = true;
......
1271 1307

  
1272 1308
            Dispatcher.BeginInvoke((Action)(() =>
1273 1309
            {
1274
                foreach (var item in MemberSet)
1310
                foreach (var item in this.Members)
1275 1311
                {
1276 1312
                    #region 라인  & 아크
1277 1313
                    if (item.Drawingtype == ControlType.SingleLine || item.Drawingtype == ControlType.ArcLine || item.Drawingtype == ControlType.ArrowMultiLine || item.Drawingtype == ControlType.ArcArrow)
......
1437 1473
                            testP = new Point(endP.X + 50, endP.Y);
1438 1474
                            //System.Diagnostics.Debug.WriteLine("우단");
1439 1475
                        }
1440
                        Canvas.SetLeft((MemberSet.First() as AdornerMember).ThumbList[1], testP.X);
1441
                        Canvas.SetTop((MemberSet.First() as AdornerMember).ThumbList[1], testP.Y);
1476
                        Canvas.SetLeft((this.Members.First() as AdornerMember).ThumbList[1], testP.X);
1477
                        Canvas.SetTop((this.Members.First() as AdornerMember).ThumbList[1], testP.Y);
1442 1478
                    }
1443 1479
                    else
1444 1480
                    {
1445 1481
                        var endP = MathSet.getNearPoint(ps, temp.MidPoint);
1446 1482
                        var tempP = MathSet.getMiddlePoint(temp.StartPoint, endP);
1447
                        Canvas.SetLeft((MemberSet.First() as AdornerMember).ThumbList[1], tempP.X);
1448
                        Canvas.SetTop((MemberSet.First() as AdornerMember).ThumbList[1], tempP.Y);
1483
                        Canvas.SetLeft((this.Members.First() as AdornerMember).ThumbList[1], tempP.X);
1484
                        Canvas.SetTop((this.Members.First() as AdornerMember).ThumbList[1], tempP.Y);
1449 1485
                    }
1450 1486
                }
1451 1487
            }
......
1470 1506
            }
1471 1507

  
1472 1508
            #region 센터 포인트 구하기 (그룹핑)
1473
            foreach (var item in MemberSet)
1509
            foreach (var item in this.Members)
1474 1510
            {
1475 1511
                if (item.DrawingData.GetType().Name == "TextControl")
1476 1512
                {
......
1489 1525

  
1490 1526
            Dispatcher.BeginInvoke((Action)(() =>
1491 1527
            {
1492
                foreach (var item in MemberSet)
1528
                foreach (var item in this.Members)
1493 1529
                {
1494 1530
                    foreach (var thumb in item.ThumbList)
1495 1531
                    {
......
1508 1544
                            if (!(item.DrawingData as ArrowTextControl).isTrans)
1509 1545
                            {
1510 1546
                                List<Point> ps = new List<Point>();
1511
                                var temp = (MemberSet.First() as AdornerMember).DrawingData as ArrowTextControl;
1547
                                var temp = (this.Members.First() as AdornerMember).DrawingData as ArrowTextControl;
1512 1548
                                switch (Math.Abs(temp.Angle).ToString())
1513 1549
                                {
1514 1550
                                    case "90":
......
1555 1591

  
1556 1592
                                var endP = MathSet.getNearPoint(ps, temp.MidPoint);
1557 1593
                                var tempP = MathSet.getMiddlePoint(temp.StartPoint, endP);
1558
                                Canvas.SetLeft((MemberSet.First() as AdornerMember).ThumbList[1], tempP.X);
1559
                                Canvas.SetTop((MemberSet.First() as AdornerMember).ThumbList[1], tempP.Y);
1594
                                Canvas.SetLeft((this.Members.First() as AdornerMember).ThumbList[1], tempP.X);
1595
                                Canvas.SetTop((this.Members.First() as AdornerMember).ThumbList[1], tempP.Y);
1560 1596
                            }
1561 1597
                        }
1562 1598
                    }
......
1567 1603
                    }
1568 1604
                }
1569 1605
                #region 컨트롤 업데이트
1570
                foreach (var item in MemberSet)
1606
                foreach (var item in this.Members)
1571 1607
                {
1572 1608
                    switch (item.Drawingtype)
1573 1609
                    {
......
1736 1772
            Point CenterPoint = new Point();
1737 1773
            
1738 1774
            #region 센터 포인트 구하기 (그룹핑)
1739
            foreach (var item in MemberSet)
1775
            foreach (var item in this.Members)
1740 1776
            {
1741 1777
                if (item.DrawingData.GetType().Name == "TextControl")
1742 1778
                {                    
......
1775 1811

  
1776 1812
            Dispatcher.BeginInvoke((Action)(() =>
1777 1813
            {
1778
                foreach (var item in MemberSet)
1814
                foreach (var item in this.Members)
1779 1815
                {
1780 1816
                    foreach (var thumb in item.ThumbList)
1781 1817
                    {
......
1793 1829
                    }
1794 1830
                }
1795 1831
                #region 보더 업데이트
1796
                foreach (var item in MemberSet)
1832
                foreach (var item in this.Members)
1797 1833
                {
1798 1834
                    switch (item.Drawingtype)
1799 1835
                    {
......
1928 1964
            rotateTop.Cursor = Cursors.SizeAll;
1929 1965

  
1930 1966
            /// get angle from text controls' angle if only text control exists - 2018.05.10 added by humkyung
1931
            if ((1 == MemberSet.Count) && (MemberSet.First() as AdornerMember).DrawingData.GetType().Name == "TextControl")
1967
            if ((1 == this.Members.Count) && (this.Members.First() as AdornerMember).DrawingData.GetType().Name == "TextControl")
1932 1968
            {
1933
                this.AngleValue = ((MemberSet.First() as AdornerMember).DrawingData as TextControl).Angle;
1969
                this.AngleValue = ((this.Members.First() as AdornerMember).DrawingData as TextControl).Angle;
1934 1970
            }
1935 1971
            /// up to here
1936 1972

  
......
1957 1993
                }
1958 1994
            }
1959 1995

  
1960
            var comments = (from drawing in this.MemberSet
1996
            var comments = (from drawing in this.Members
1961 1997
                            select drawing.DrawingData as CommentUserInfo).ToList();
1962 1998
            UndoCommand.Instance.Push(comments, this.AngleValue);
1963 1999
        }
......
1966 2002
        {
1967 2003
            rotateTop.Cursor = new Cursor(MainWindow.CursorChange().StreamSource);
1968 2004

  
1969
            var comments = (from drawing in this.MemberSet
2005
            var comments = (from drawing in this.Members
1970 2006
                            select drawing.DrawingData as CommentUserInfo).ToList();
1971 2007
            UndoCommand.Instance.Push(comments, this.AngleValue);
1972 2008
        }
......
1992 2028
                }
1993 2029
            }
1994 2030

  
1995
            var comments = (from drawing in this.MemberSet
2031
            var comments = (from drawing in this.Members
1996 2032
                            select drawing.DrawingData as CommentUserInfo).ToList();
1997 2033
            UndoCommand.Instance.Push(comments, this.AngleValue);
1998 2034
        }
......
2001 2037
        {          
2002 2038
            DragThumb.Cursor = new Cursor(MainWindow.CursorChange().StreamSource);
2003 2039

  
2004
            var comments = (from drawing in this.MemberSet
2040
            var comments = (from drawing in this.Members
2005 2041
                            select drawing.DrawingData as CommentUserInfo).ToList();
2006 2042
            UndoCommand.Instance.Push(comments, this.AngleValue);
2007 2043
        }
2008 2044

  
2009 2045
        public void ControlPointMouseLeftButtonDown(object sender, MouseButtonEventArgs e)
2010 2046
        {
2011
            AdornerMember control = MemberSet.FirstOrDefault();
2047
            AdornerMember control = this.Members.FirstOrDefault();
2012 2048

  
2013 2049
            if ((control.DrawingData as ArrowTextControl) != null && DraggerThumb == null)
2014 2050
            {
......
2022 2058

  
2023 2059
        public void TextControlChanger()
2024 2060
        {
2025
            if ((MemberSet.First() as AdornerMember).DrawingData.GetType().Name == "TextControl")
2061
            if ((this.Members.First() as AdornerMember).DrawingData.GetType().Name == "TextControl")
2026 2062
            {
2027
                TextControl AllControl = (MemberSet.First() as AdornerMember).DrawingData as TextControl;
2063
                TextControl AllControl = (this.Members.First() as AdornerMember).DrawingData as TextControl;
2028 2064
                AllControl.Base_TextBox.Focus();
2029 2065
                AllControl.Base_TextBox.Visibility = Visibility.Visible;
2030 2066
                AllControl.Base_TextBlock.Visibility = Visibility.Collapsed;
......
2060 2096

  
2061 2097
        private void RectThumb_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) //더블클릭
2062 2098
        {
2063
            if (e.ClickCount == 2 && MemberSet.Count == 1)
2099
            if (e.ClickCount == 2 && this.Members.Count == 1)
2064 2100
            {
2065 2101

  
2066
                if ((MemberSet.First() as AdornerMember).DrawingData.GetType().Name == "TextControl")
2102
                if ((this.Members.First() as AdornerMember).DrawingData.GetType().Name == "TextControl")
2067 2103
                {
2068 2104
                    TextControlChanger();                    
2069 2105
                }
2070 2106

  
2071
                else if ((MemberSet.First() as AdornerMember).DrawingData.GetType().Name == "ArrowTextControl")
2107
                else if ((this.Members.First() as AdornerMember).DrawingData.GetType().Name == "ArrowTextControl")
2072 2108
                {
2073
                    ArrowTextControl AllControl = (MemberSet.First() as AdornerMember).DrawingData as ArrowTextControl;
2074
                    Thumb tm = (MemberSet.First() as AdornerMember).ThumbList.Last();
2109
                    ArrowTextControl AllControl = (this.Members.First() as AdornerMember).DrawingData as ArrowTextControl;
2110
                    Thumb tm = (this.Members.First() as AdornerMember).ThumbList.Last();
2075 2111
                    ((ArrowTextControl)AllControl).Base_TextBox.Focus();
2076 2112

  
2077 2113
                    //ArrowControl TextBox Thumb없애기
2078 2114
                    tm.Visibility = Visibility.Collapsed;
2079 2115

  
2080
                    ((MemberSet.First() as AdornerMember).DrawingData as ArrowTextControl).Base_TextBox.IsHitTestVisible = true;
2116
                    ((this.Members.First() as AdornerMember).DrawingData as ArrowTextControl).Base_TextBox.IsHitTestVisible = true;
2081 2117
                    
2082 2118
                    ((ArrowTextControl)AllControl).Base_TextBox.SizeChanged += (sen, ea) =>
2083 2119

  
......
2099 2135
                        var tempP = MathSet.getMiddlePoint(AllControl.StartPoint, endP);
2100 2136
                        if (AllControl.isTrans)
2101 2137
                        {
2102
                            Canvas.SetLeft((MemberSet.First() as AdornerMember).ThumbList[1], AllControl.MidPoint.X);
2103
                            Canvas.SetTop((MemberSet.First() as AdornerMember).ThumbList[1], AllControl.MidPoint.Y);
2138
                            Canvas.SetLeft((this.Members.First() as AdornerMember).ThumbList[1], AllControl.MidPoint.X);
2139
                            Canvas.SetTop((this.Members.First() as AdornerMember).ThumbList[1], AllControl.MidPoint.Y);
2104 2140
                        }
2105 2141
                        else
2106 2142
                        {
2107
                            Canvas.SetLeft((MemberSet.First() as AdornerMember).ThumbList[1], tempP.X);
2108
                            Canvas.SetTop((MemberSet.First() as AdornerMember).ThumbList[1], tempP.Y);
2143
                            Canvas.SetLeft((this.Members.First() as AdornerMember).ThumbList[1], tempP.X);
2144
                            Canvas.SetTop((this.Members.First() as AdornerMember).ThumbList[1], tempP.Y);
2109 2145
                        }
2110 2146

  
2111 2147

  
......
2113 2149

  
2114 2150
                    };
2115 2151
                }
2116
                else if ((MemberSet.First() as AdornerMember).DrawingData.GetType().Name == "DateControl")
2152
                else if ((this.Members.First() as AdornerMember).DrawingData.GetType().Name == "DateControl")
2117 2153
                {
2118
                    DateControl data = (MemberSet.First() as AdornerMember).DrawingData as DateControl;
2154
                    DateControl data = (this.Members.First() as AdornerMember).DrawingData as DateControl;
2119 2155
                    CalendarControl instanceCal = new CalendarControl(data.Text);
2120 2156
                    //dropData.IsOpen = true;
2121 2157
                    RadWindow rc = new RadWindow();
......
2137 2173
                    rc.ShowDialog();
2138 2174
                    //CalendarControl.xaml
2139 2175
                }
2140
                else if ((MemberSet.First() as AdornerMember).DrawingData.GetType().Name == "ArcControl")
2176
                else if ((this.Members.First() as AdornerMember).DrawingData.GetType().Name == "ArcControl")
2141 2177
                {
2142
                    ArcControl instance = ((MemberSet.First() as AdornerMember).DrawingData as ArcControl);
2178
                    ArcControl instance = ((this.Members.First() as AdornerMember).DrawingData as ArcControl);
2143 2179
                    if (instance.isTransOn)
2144 2180
                    {
2145 2181
                        instance.isTransOn = false;
......
2151 2187
                    ///instance.SetArcPath();
2152 2188
                    BorderUpdate();
2153 2189
                }
2154
                else if ((MemberSet.First() as AdornerMember).DrawingData.GetType().Name == "ArrowArcControl")
2190
                else if ((this.Members.First() as AdornerMember).DrawingData.GetType().Name == "ArrowArcControl")
2155 2191
                {
2156
                    ArrowArcControl instance = ((MemberSet.First() as AdornerMember).DrawingData as ArrowArcControl);
2192
                    ArrowArcControl instance = ((this.Members.First() as AdornerMember).DrawingData as ArrowArcControl);
2157 2193
                    if (instance.isTransOn)
2158 2194
                    {
2159 2195
                        instance.isTransOn = false;
......
2173 2209

  
2174 2210
        private void DragThumb_MouseDoubleClick(object sender, MouseButtonEventArgs e)
2175 2211
        {
2176
            if ((MemberSet.First() as AdornerMember).DrawingData.GetType().Name == "TextControl" || (MemberSet.First() as AdornerMember).DrawingData.GetType().Name == "ArrowTextControl")
2212
            if ((this.Members.First() as AdornerMember).DrawingData.GetType().Name == "TextControl" || (this.Members.First() as AdornerMember).DrawingData.GetType().Name == "ArrowTextControl")
2177 2213
            {
2178 2214
                DragThumb.Visibility = Visibility.Collapsed;
2179 2215
            }
KCOM/Controls/Symbol.xaml.cs
225 225
                    if (item.GetType().Name == "AdornerFinal")
226 226
                    {
227 227
                        finalItem = (item as Controls.AdornerFinal);
228
                        foreach (var InnerItem in (item as Controls.AdornerFinal).MemberSet.Cast<Controls.AdornerMember>())
228
                        foreach (var InnerItem in (item as Controls.AdornerFinal).Members.Cast<Controls.AdornerMember>())
229 229
                        {
230 230
                            if (!ViewerDataModel.Instance.MarkupControls.Contains(InnerItem.DrawingData))
231 231
                            {
KCOM/Events/Event_KeyEvent.cs
174 174
                                    string id = "";
175 175
                                    if (item.GetType().Name == "AdornerFinal")
176 176
                                    {
177
                                        foreach (var InnerItem in (item as Controls.AdornerFinal).MemberSet.Cast<Controls.AdornerMember>())
177
                                        foreach (var InnerItem in (item as Controls.AdornerFinal).Members.Cast<Controls.AdornerMember>())
178 178
                                        {        
179 179
                                            if (!ViewerDataModel.Instance.MarkupControls.Contains(InnerItem.DrawingData))
180 180
                                            {
......
224 224

  
225 225
                                    if (item.GetType().Name == "AdornerFinal")
226 226
                                    {
227
                                        foreach (var InnerItem in (item as Controls.AdornerFinal).MemberSet.Cast<Controls.AdornerMember>())
227
                                        foreach (var InnerItem in (item as Controls.AdornerFinal).Members.Cast<Controls.AdornerMember>())
228 228
                                        {
229 229
                                            if (!ViewerDataModel.Instance.MarkupControls.Contains(InnerItem.DrawingData))
230 230
                                            {
......
309 309
                                double realPointY = this.dzMainMenu.getCurrentPoint.Y - final.BorderSize.Y - (final.BorderSize.Height / 2);
310 310
                                final.MoveAdorner(new System.Windows.Controls.Primitives.DragDeltaEventArgs(realPointX, realPointY));
311 311

  
312
                                if (final.MemberSet.Where(type => type.Drawingtype == MarkupToPDF.Controls.Common.ControlType.TextControl).FirstOrDefault() != null)
312
                                if (final.Members.Where(type => type.Drawingtype == MarkupToPDF.Controls.Common.ControlType.TextControl).FirstOrDefault() != null)
313 313
                                {
314 314
                                    final.MoveAdorner(new System.Windows.Controls.Primitives.DragDeltaEventArgs(0.001, 0.001)); //dummy
315 315
                                }
316 316

  
317 317
                                this.dzMainMenu.SelectLayer.Children.Add(final);
318

  
319
                                //붙여 넣을때 원본 컨트롤과 겹치지 않도록 설정
320
                                //Canvas.SetLeft(final, 50);
321
                                //Canvas.SetTop(final, 50);
322

  
323 318
                            }
324 319
                            //외부 이미지 붙여넣기
325 320
                            else if (Clipboard.GetImage() != null)
KCOM/Events/Implementation/TopMenuEvent.cs
536 536
                    {
537 537
                        if (item.GetType().Name == "AdornerFinal")
538 538
                        {
539
                            foreach (var InnerItem in (item as Controls.AdornerFinal).MemberSet.Cast<Controls.AdornerMember>())
539
                            foreach (var InnerItem in (item as Controls.AdornerFinal).Members.Cast<Controls.AdornerMember>())
540 540
                            {
541 541
                                AdonerList.Add(InnerItem);
542 542
                            }
......
544 544
                    }
545 545
                }
546 546
            }
547

  
547 548
            return AdonerList;
548 549
        }
549 550
        /// <summary>
......
835 836
                    {
836 837
                        if (item.GetType().Name == "AdornerFinal")
837 838
                        {
838
                            foreach (var InnerItem in (item as Controls.AdornerFinal).MemberSet.Cast<Controls.AdornerMember>())
839
                            foreach (var InnerItem in (item as Controls.AdornerFinal).Members.Cast<Controls.AdornerMember>())
839 840
                            {
840 841
                                switch (InnerItem.DrawingData.GetType().Name)
841 842
                                {
......
971 972
                    {
972 973
                        if (item.GetType().Name == "AdornerFinal")
973 974
                        {
974
                            foreach (var InnerItem in (item as Controls.AdornerFinal).MemberSet.Cast<Controls.AdornerMember>())
975
                            foreach (var InnerItem in (item as Controls.AdornerFinal).Members.Cast<Controls.AdornerMember>())
975 976
                            {
976 977
                                switch (InnerItem.DrawingData.GetType().Name)
977 978
                                {
......
1019 1020
                    {
1020 1021
                        if (item.GetType().Name == "AdornerFinal")
1021 1022
                        {
1022
                            foreach (var InnerItem in (item as Controls.AdornerFinal).MemberSet.Cast<Controls.AdornerMember>())
1023
                            foreach (var InnerItem in (item as Controls.AdornerFinal).Members.Cast<Controls.AdornerMember>())
1023 1024
                            {
1024 1025
                                switch (InnerItem.DrawingData.GetType().Name)
1025 1026
                                {
......
1067 1068
                    {
1068 1069
                        if (item.GetType().Name == "AdornerFinal")
1069 1070
                        {
1070
                            foreach (var InnerItem in (item as Controls.AdornerFinal).MemberSet.Cast<Controls.AdornerMember>())
1071
                            foreach (var InnerItem in (item as Controls.AdornerFinal).Members.Cast<Controls.AdornerMember>())
1071 1072
                            {
1072 1073
                                switch (InnerItem.DrawingData.GetType().Name)
1073 1074
                                {
......
1122 1123
                    {
1123 1124
                        if (item.GetType().Name == "AdornerFinal")
1124 1125
                        {
1125
                            foreach (var InnerItem in (item as Controls.AdornerFinal).MemberSet.Cast<Controls.AdornerMember>())
1126
                            foreach (var InnerItem in (item as Controls.AdornerFinal).Members.Cast<Controls.AdornerMember>())
1126 1127
                            {
1127 1128
                                switch (InnerItem.DrawingData.GetType().Name)
1128 1129
                                {
......
1157 1158
                    {
1158 1159
                        if (item.GetType().Name == "AdornerFinal")
1159 1160
                        {
1160
                            foreach (var InnerItem in (item as Controls.AdornerFinal).MemberSet.Cast<Controls.AdornerMember>())
1161
                            foreach (var InnerItem in (item as Controls.AdornerFinal).Members.Cast<Controls.AdornerMember>())
1161 1162
                            {
1162 1163
                                switch (InnerItem.DrawingData.GetType().Name)
1163 1164
                                {
......
2651 2652
                {
2652 2653
                    if (item.GetType().Name == "AdornerFinal")
2653 2654
                    {
2654
                        foreach (var InnerItem in (item as Controls.AdornerFinal).MemberSet.Cast<Controls.AdornerMember>())
2655
                        foreach (var InnerItem in (item as Controls.AdornerFinal).Members.Cast<Controls.AdornerMember>())
2655 2656

  
2656 2657
                        {
2657 2658
                            if (!ViewerDataModel.Instance.MarkupControls.Contains(InnerItem.DrawingData))
......
2676 2677

  
2677 2678
                    if (item.GetType().Name == "AdornerFinal")
2678 2679
                    {
2679
                        foreach (var InnerItem in (item as Controls.AdornerFinal).MemberSet.Cast<Controls.AdornerMember>())
2680
                        foreach (var InnerItem in (item as Controls.AdornerFinal).Members.Cast<Controls.AdornerMember>())
2680 2681
                        {
2681 2682
                            if (!ViewerDataModel.Instance.MarkupControls.Contains(InnerItem.DrawingData))
2682 2683
                            {
......
2755 2756
                    double realPointY = this.ParentOfType<MainWindow>().dzMainMenu.getCurrentPoint.Y - final.BorderSize.Y - (final.BorderSize.Height / 2);
2756 2757
                    final.MoveAdorner(new System.Windows.Controls.Primitives.DragDeltaEventArgs(realPointX, realPointY));
2757 2758

  
2758
                    if (final.MemberSet.Where(type => type.Drawingtype == MarkupToPDF.Controls.Common.ControlType.TextControl).FirstOrDefault() != null)
2759
                    if (final.Members.Where(type => type.Drawingtype == MarkupToPDF.Controls.Common.ControlType.TextControl).FirstOrDefault() != null)
2759 2760
                    {
2760 2761
                        final.MoveAdorner(new System.Windows.Controls.Primitives.DragDeltaEventArgs(0.001, 0.001)); //dummy
2761 2762
                    }
KCOM/MainWindow.xaml.cs
574 574
                    double realPointY = this.dzMainMenu.getCurrentPoint.Y - final.BorderSize.Y - (final.BorderSize.Height / 2);
575 575
                    final.MoveAdorner(new System.Windows.Controls.Primitives.DragDeltaEventArgs(realPointX, realPointY));
576 576

  
577
                    if (final.MemberSet.Where(type => type.Drawingtype == MarkupToPDF.Controls.Common.ControlType.TextControl).FirstOrDefault() != null)
577
                    if (final.Members.Where(type => type.Drawingtype == MarkupToPDF.Controls.Common.ControlType.TextControl).FirstOrDefault() != null)
578 578
                    {
579 579
                        final.MoveAdorner(new System.Windows.Controls.Primitives.DragDeltaEventArgs(0.001, 0.001));
580 580
                    }
KCOM/Views/MainMenu.xaml.cs
1150 1150
            if (mouseHandlingMode != MouseHandlingMode.Drawing)
1151 1151
            {
1152 1152
                #region 마우스 오버 시 색상 변경
1153
                //var firstCondition = ViewerDataModel.Instance.MarkupControls_USER.Where(data => data.IsMouseOver).FirstOrDefault();
1154
                //Color TempColor = MarkupToPDF.Controls.Common.ValueConverter.StringToColorConverter.Parse("FF07B4FF");
1153
                /*
1154
                var firstCondition = ViewerDataModel.Instance.MarkupControls_USER.Where(data => data.IsMouseOver).FirstOrDefault();
1155
                Color TempColor = MarkupToPDF.Controls.Common.ValueConverter.StringToColorConverter.Parse("FF07B4FF");
1155 1156

  
1156
                //if (firstCondition != null)
1157
                //{
1158
                //    firstCondition.MouseLeave += new System.Windows.Input.MouseEventHandler(firstCondition_MouseLeave);
1157
                if (firstCondition != null)
1158
                {
1159
                    firstCondition.MouseLeave += new System.Windows.Input.MouseEventHandler(firstCondition_MouseLeave);
1159 1160

  
1160
                //    if (firstCondition.GetType().Name == "TextControl")
1161
                //    {
1162
                //        (firstCondition as TextControl).BackInnerColor = new SolidColorBrush(TempColor);
1163
                //        return;
1164
                //    }
1165
                //    else if (firstCondition.GetType().Name == "ArrowTextControl")
1166
                //    {
1167
                //        (firstCondition as ArrowTextControl).BackInnerColor = new SolidColorBrush(TempColor);
1168
                //        return;
1169
                //    }
1161
                    if (firstCondition.GetType().Name == "TextControl")
1162
                    {
1163
                        (firstCondition as TextControl).BackInnerColor = new SolidColorBrush(TempColor);
1164
                        return;
1165
                    }
1166
                    else if (firstCondition.GetType().Name == "ArrowTextControl")
1167
                    {
1168
                        (firstCondition as ArrowTextControl).BackInnerColor = new SolidColorBrush(TempColor);
1169
                        return;
1170
                    }
1170 1171

  
1171
                //    if (L_Size == 0)
1172
                //    {
1173
                //        L_Size = (firstCondition as IPath).LineSize;
1174
                //        (firstCondition as IPath).LineSize *= 4;
1175
                //    }
1176
                //    switch (firstCondition.GetType().Name)
1177
                //    {
1178
                //        case "RectangleControl":
1179
                //            {
1180
                //                (firstCondition as RectangleControl).StrokeColor = new SolidColorBrush(TempColor);
1181
                //            }
1182
                //            break;
1183
                //        case "CircleControl":
1184
                //            {
1185
                //                (firstCondition as CircleControl).StrokeColor = new SolidColorBrush(TempColor);
1186
                //            }
1187
                //            break;
1188
                //        case "TriControl":
1189
                //            {
1190
                //                (firstCondition as TriControl).StrokeColor = new SolidColorBrush(TempColor);
1191
                //            }
1192
                //            break;
1193
                //        case "RectCloudControl":
1194
                //            {
1195
                //                (firstCondition as RectCloudControl).StrokeColor = new SolidColorBrush(TempColor);
1196
                //            }
1197
                //            break;
1198
                //        case "CloudControl":
1199
                //            {
1200
                //                (firstCondition as CloudControl).StrokeColor = new SolidColorBrush(TempColor);
1201
                //            }
1202
                //            break;
1203
                //        case "PolygonControl":
1204
                //            {
1205
                //                (firstCondition as PolygonControl).StrokeColor = new SolidColorBrush(TempColor);
1206
                //            }
1207
                //            break;
1208
                //        case "ArcControl":
1209
                //            {
1210
                //                (firstCondition as ArcControl).StrokeColor = new SolidColorBrush(TempColor);
1211
                //            }
1212
                //            break;
1213
                //        case "LineControl":
1214
                //            {
1215
                //                (firstCondition as LineControl).StrokeColor = new SolidColorBrush(TempColor);
1216
                //            }
1217
                //            break;
1218
                //        case "ArrowControl_Multi":
1219
                //            {
1220
                //                (firstCondition as ArrowControl_Multi).StrokeColor = new SolidColorBrush(TempColor);
1221
                //            }
1222
                //            break;
1223

  
1224
                //        default:
1225
                //            {
1226

  
1227
                //            }
1228
                //            break;
1229
                //    }
1230
                //} 
1172
                    if (L_Size == 0)
1173
                    {
1174
                        L_Size = (firstCondition as IPath).LineSize;
1175
                        (firstCondition as IPath).LineSize *= 4;
1176
                    }
1177
                    switch (firstCondition.GetType().Name)
1178
                    {
1179
                        case "RectangleControl":
1180
                            {
1181
                                (firstCondition as RectangleControl).StrokeColor = new SolidColorBrush(TempColor);
1182
                            }
1183
                            break;
1184
                        case "CircleControl":
1185
                            {
1186
                                (firstCondition as CircleControl).StrokeColor = new SolidColorBrush(TempColor);
1187
                            }
1188
                            break;
1189
                        case "TriControl":
1190
                            {
1191
                                (firstCondition as TriControl).StrokeColor = new SolidColorBrush(TempColor);
1192
                            }
1193
                            break;
1194
                        case "RectCloudControl":
1195
                            {
1196
                                (firstCondition as RectCloudControl).StrokeColor = new SolidColorBrush(TempColor);
1197
                            }
1198
                            break;
1199
                        case "CloudControl":
1200
                            {
1201
                                (firstCondition as CloudControl).StrokeColor = new SolidColorBrush(TempColor);
1202
                            }
1203
                            break;
1204
                        case "PolygonControl":
1205
                            {
1206
                                (firstCondition as PolygonControl).StrokeColor = new SolidColorBrush(TempColor);
1207
                            }
1208
                            break;
1209
                        case "ArcControl":
1210
                            {
1211
                                (firstCondition as ArcControl).StrokeColor = new SolidColorBrush(TempColor);
1212
                            }
1213
                            break;
1214
                        case "LineControl":
1215
                            {
1216
                                (firstCondition as LineControl).StrokeColor = new SolidColorBrush(TempColor);
1217
                            }
1218
                            break;
1219
                        case "ArrowControl_Multi":
1220
                            {
1221
                                (firstCondition as ArrowControl_Multi).StrokeColor = new SolidColorBrush(TempColor);
1222
                            }
1223
                            break;
1224

  
1225
                        default:
1226
                            {
1227

  
1228
                            }
1229
                            break;
1230
                    }
1231
                }
1232
                */
1231 1233
                #endregion
1232 1234
            }
1233 1235

  
......
4944 4946
                        if (item is AdornerFinal)
4945 4947
                        {
4946 4948

  
4947
                            var over = (item as AdornerFinal).MemberSet.Where(data => data.DrawingData.IsMouseOver).FirstOrDefault();
4949
                            var over = (item as AdornerFinal).Members.Where(data => data.DrawingData.IsMouseOver).FirstOrDefault();
4948 4950
                            if (over != null)
4949 4951
                            {
4950 4952
                                mouseOff = true;
......
5689 5691
                    if (item.GetType().Name == "AdornerFinal")
5690 5692
                    {
5691 5693
                        adorner_ = (item as Controls.AdornerFinal);
5692
                        foreach (var InnerItem in (item as Controls.AdornerFinal).MemberSet.Cast<Controls.AdornerMember>())
5694
                        foreach (var InnerItem in (item as Controls.AdornerFinal).Members.Cast<Controls.AdornerMember>())
5693 5695
                        {
5694 5696
                            if (!ViewerDataModel.Instance.MarkupControls.Contains(InnerItem.DrawingData))
5695 5697
                            {
MarkupToPDF/Common/CommentUserInfo.cs
10 10

  
11 11
namespace MarkupToPDF.Common
12 12
{
13
    //public class MyEventArgs : System.EventArgs
14
    //{
15
    //    public bool isMouseOver { get; set; }
16
    //}
17

  
18 13
    public class CommentUserInfo : System.Windows.Controls.Control
19 14
    {
20 15
        public static readonly string[] delimiterChars = { "|DZ|" };
......
29 24
        public string SymbolID { get; set; }
30 25
        public long GroupID { get; set; }
31 26

  
32
        //public event EventHandler<MyEventArgs> StateChanged;
27
        private SolidColorBrush _TempBorderBrush { get; set; }
28
        private SolidColorBrush _HoverBorderBrush = new SolidColorBrush(Color.FromRgb(255, 0, 255));
33 29

  
34 30
        public CommentUserInfo()
35 31
        {
36
            //this.BorderThickness = new System.Windows.Thickness(5.0);
37 32
            this.BorderThickness = new System.Windows.Thickness(20.0);
38

  
39

  
40 33
            this.MouseEnter += CommentUserInfo_MouseEnter;
41 34
            this.MouseLeave += CommentUserInfo_MouseLeave;
42 35
        }
......
45 38
        {
46 39
            var temp = base.HitTestCore(hitTestParameters);
47 40
            return temp;
48
            //return base.HitTestCore(hitTestParameters);
49 41
        }
50 42

  
51 43
        private void CommentUserInfo_MouseLeave(object sender, System.Windows.Input.MouseEventArgs e)
52 44
        {
53 45
            this.IsMouseOver = false;
54
            //if (StateChanged !=null)
55
            //{
56
            //    StateChanged(this, new MyEventArgs { isMouseOver = false });
57
            //}
58
            //this.Opacity = 1;
46
            if (this.StrokeColor != null)
47
            {
48
                this.StrokeColor = this._TempBorderBrush;
49
                this.UpdateLayout();
50
            }
59 51
        }
60 52

  
61 53
        private void CommentUserInfo_MouseEnter(object sender, System.Windows.Input.MouseEventArgs e)
62 54
        {
63 55
            this.IsMouseOver = true;
64
            //this.Opacity = 0.5;
65
            //if (StateChanged != null)
66
            //{
67
            //    StateChanged(this, new MyEventArgs { isMouseOver = true });
68
            //}
56
            if (this.StrokeColor != null)
57
            {
58
                this._TempBorderBrush = this.StrokeColor;
59
                this.StrokeColor = this._HoverBorderBrush;
60
                this.UpdateLayout();
61
            }
69 62
        }
70 63

  
71 64
        /// <summary>
......
78 71
        /// </summary>
79 72
        public virtual ControlType ControlType { get; set; }
80 73

  
74
        public virtual SolidColorBrush StrokeColor { get; set; }
75

  
81 76
        /// <summary>
82 77
        /// translate commeny by given dx, dy
83 78
        /// </summary>
MarkupToPDF/Controls/Line/ArcControl.cs
241 241
            get { return (double)GetValue(CenterYProperty); }
242 242
            set { SetValue(CenterYProperty, value); }
243 243
        }
244
        public SolidColorBrush StrokeColor
244
        public override SolidColorBrush StrokeColor
245 245
        {
246 246
            get { return (SolidColorBrush)GetValue(StrokeColorProperty); }
247 247
            set
MarkupToPDF/Controls/Line/ArrowArcControl.cs
240 240
            get { return (double)GetValue(CenterYProperty); }
241 241
            set { SetValue(CenterYProperty, value); }
242 242
        }
243
        public SolidColorBrush StrokeColor
243
        public override SolidColorBrush StrokeColor
244 244
        {
245 245
            get { return (SolidColorBrush)GetValue(StrokeColorProperty); }
246 246
            set
MarkupToPDF/Controls/Line/ArrowControl_Multi.cs
190 190
            get { return (List<Point>)GetValue(PointSetProperty); }
191 191
            set { SetValue(PointSetProperty, value); }
192 192
        }
193
        public SolidColorBrush StrokeColor
193
        public override SolidColorBrush StrokeColor
194 194
        {
195 195
            get { return (SolidColorBrush)GetValue(StrokeColorProperty); }
196 196
            set
MarkupToPDF/Controls/Line/LineControl.cs
238 238
            get { return (double)GetValue(CenterYProperty); }
239 239
            set { SetValue(CenterYProperty, value); }
240 240
        }
241
        public SolidColorBrush StrokeColor
241
        public override SolidColorBrush StrokeColor
242 242
        {
243 243
            get { return (SolidColorBrush)GetValue(StrokeColorProperty); }
244 244
            set
MarkupToPDF/Controls/Polygon/CloudControl.cs
326 326
                }
327 327
            }
328 328
        }
329
        public SolidColorBrush StrokeColor
329
        public override SolidColorBrush StrokeColor
330 330
        {
331 331
            get { return (SolidColorBrush)GetValue(StrokeColorProperty); }
332 332
            set
MarkupToPDF/Controls/Polygon/InkControl.cs
369 369
                OnPropertyChanged("CenterY");
370 370
            }
371 371
        }
372
        public SolidColorBrush StrokeColor
372
        public override SolidColorBrush StrokeColor
373 373
        {
374 374
            get { return (SolidColorBrush)GetValue(StrokeColorProperty); }
375 375
            set
MarkupToPDF/Controls/Polygon/PolygonControl.cs
362 362
                OnPropertyChanged("CenterY");
363 363
            }
364 364
        }
365
        public SolidColorBrush StrokeColor
365
        public override SolidColorBrush StrokeColor
366 366
        {
367 367
            get { return (SolidColorBrush)GetValue(StrokeColorProperty); }
368 368
            set
MarkupToPDF/Controls/Shape/CircleControl.cs
214 214
                OnPropertyChanged("LeftBottomPoint");
215 215
            }
216 216
        }
217
        public SolidColorBrush StrokeColor
217
        public override SolidColorBrush StrokeColor
218 218
        {
219 219
            get { return (SolidColorBrush)GetValue(StrokeColorProperty); }
220 220
            set
MarkupToPDF/Controls/Shape/RectCloudControl.cs
190 190
                }
191 191
            }
192 192
        }
193
        public SolidColorBrush StrokeColor
193
        public override SolidColorBrush StrokeColor
194 194
        {
195 195
            get { return (SolidColorBrush)GetValue(StrokeColorProperty); }
196 196
            set
MarkupToPDF/Controls/Shape/RectangleControl.cs
37 37
            }
38 38
        }
39 39

  
40
        public SolidColorBrush StrokeColor
40
        public override SolidColorBrush StrokeColor
41 41
        {
42 42
            get
43 43
            {
MarkupToPDF/Controls/Shape/TriControl.cs
193 193
        }
194 194

  
195 195

  
196
        public SolidColorBrush StrokeColor
196
        public override SolidColorBrush StrokeColor
197 197
        {
198 198
            get { return (SolidColorBrush)GetValue(StrokeColorProperty); }
199 199
            set
MarkupToPDF/Controls/Text/ArrowTextControl.cs
173 173
        }
174 174

  
175 175

  
176
        public SolidColorBrush StrokeColor
176
        public override SolidColorBrush StrokeColor
177 177
        {
178 178
            get { return (SolidColorBrush)GetValue(StrokeColorProperty); }
179 179
            set
MarkupToPDF/Controls/Text/TextControl.cs
255 255

  
256 256
                this.BackColor = new SolidColorBrush(Color.FromArgb(Convert.ToByte(255 * 0.1),
257 257
                    Colors.White.R, Colors.White.G, Colors.White.B));
258

  
259

  
260
                //this.BackColor = new SolidColorBrush(Color.FromArgb(Convert.ToByte(255 * 0.6),
261
                //        Colors.White.R, Colors.White.G, Colors.White.B));
262
                //this.BackColor = null;
263 258
            }
264 259
            if (Base_TextPath != null)
265 260
            {

내보내기 Unified diff

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