markus / MarkupToPDF_Old / Controls / Event / OverView.cs @ 3e55f781
이력 | 보기 | 이력해설 | 다운로드 (1.39 KB)
1 | 787a4489 | KangIngu | using System; |
---|---|---|---|
2 | using System.Collections.Generic; |
||
3 | using System.Linq; |
||
4 | using System.Text; |
||
5 | using System.Threading.Tasks; |
||
6 | using MarkupToPDF.Controls.Shape; |
||
7 | using MarkupToPDF.Controls.Line; |
||
8 | using MarkupToPDF.Controls.Polygon; |
||
9 | using MarkupToPDF.Controls.Text; |
||
10 | using MarkupToPDF.Controls.Common; |
||
11 | |||
12 | namespace MarkupToPDF.Controls.Event |
||
13 | { |
||
14 | public class OverView |
||
15 | { |
||
16 | public void Control_move(List<object> ControlList) |
||
17 | { |
||
18 | foreach(object control in ControlList) |
||
19 | { |
||
20 | switch(control.GetType().Name) |
||
21 | { |
||
22 | case("RectangleControl"): |
||
23 | { |
||
24 | (control as RectangleControl).ApplyOverViewData(); |
||
25 | } |
||
26 | break; |
||
27 | case ("CircleControl"): |
||
28 | { |
||
29 | (control as CircleControl).ApplyOverViewData(); |
||
30 | } |
||
31 | break; |
||
32 | case ("TriControl"): |
||
33 | { |
||
34 | (control as TriControl).ApplyOverViewData(); |
||
35 | } |
||
36 | break; |
||
37 | case ("RectCloudControl"): |
||
38 | { |
||
39 | (control as RectCloudControl).ApplyOverViewData(); |
||
40 | } |
||
41 | break; |
||
42 | } |
||
43 | } |
||
44 | } |
||
45 | } |
||
46 | } |