프로젝트

일반

사용자정보

통계
| 브랜치(Branch): | 개정판:

markus / MarkupToPDF_Old / Controls / Event / OverView.cs @ a11ac46c

이력 | 보기 | 이력해설 | 다운로드 (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
}
클립보드 이미지 추가 (최대 크기: 500 MB)