ホテル管理システム
ogi
yesterday 1a1c8e71fcd14858f595029f089b2d4a00202b32
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing.Drawing2D;
 
namespace HotelPms.Share.Windows.Report
{
    public class Border
    {
        public enum TypeIndex : int
        {
            Left = 0,
            Right,
            Top,
            Bottom,
        }
 
        private TypeIndex m_Index = TypeIndex.Left;
 
        public TypeIndex Index
        {
            get { return m_Index; }
            set { m_Index = value; }
        }
 
        private bool m_Visible = false;
 
        public bool Visible
        {
            get { return m_Visible; }
            set { m_Visible = value; }
        }
 
        private DashStyle m_DashStyle = DashStyle.Solid;
 
        public DashStyle DashStyle
        {
            get { return m_DashStyle; }
            set { m_DashStyle = value; }
        }
 
        private float m_Weight = 1;
 
        public float Weight
        {
            get { return m_Weight; }
            set { m_Weight = value; }
        }
 
        public Border(TypeIndex index)
        {
            m_Index = index;
        }
    }
}