コード例 #1
0
ファイル: Calendar.cs プロジェクト: Coval1000/calendar
 public LukaSiatki(int Xc, int Yc, int Xp, int Yp, Centred c)
 {
     this.gapX    = Xc;
     this.gapY    = Yc;
     this.posX    = Xp;
     this.posY    = Yp;
     this.centred = c;
 }
コード例 #2
0
ファイル: Calendar.cs プロジェクト: Coval1000/calendar
 public GridBg(int Lc, int Rc, int Tp, int Bp, Centred c)
 {
     this.left    = Lc;
     this.right   = Rc;
     this.bottom  = Bp;
     this.top     = Tp;
     this.centred = c;
 }
コード例 #3
0
ファイル: Calendar.cs プロジェクト: Coval1000/calendar
            public GridBg(int LH, int RB, int VT, Centred c)
            {
                switch (c)
                {
                case Centred.Horizontal:
                    this.horizontal = LH;
                    this.bottom     = RB;
                    this.top        = VT;
                    this.centred    = c;
                    break;

                case Centred.Vertical:
                    this.left     = LH;
                    this.right    = RB;
                    this.vertical = VT;
                    this.centred  = c;
                    break;
                }
            }
コード例 #4
0
ファイル: Calendar.cs プロジェクト: Coval1000/calendar
 public GridBg(int t, Centred c)
 {
     this.thick   = t;
     this.centred = c;
 }
コード例 #5
0
ファイル: Calendar.cs プロジェクト: Coval1000/calendar
 public GridBg(int Lc = 0, int Rc = 0, int Tp = 0, int Bp = 0, int v = 0, int h = 0, int t = 0, Centred c = Centred.None)
 {
     this.left       = Lc;
     this.right      = Rc;
     this.bottom     = Bp;
     this.top        = Tp;
     this.horizontal = h;
     this.vertical   = v;
     this.thick      = t;
     this.centred    = c;
 }