예제 #1
0
 public frmBooking(DataRow session, List<Point> soldPlaces)
     : this()
 {
     this.BaseDate = new DateTime(2010, 1, 1, 0, 0, 0);
     this.session = session;
     this.SoldTickets = soldPlaces;
     int rows = (int)this.session["rows"];
     int places = (int)this.session["places"];
     this.placer = new Placer(rows, places, this.SoldTickets);
     this.placer.Anchor = AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Top;
     this.tlpPlacer.Controls.Add(placer);
 }
예제 #2
0
        public frmBooking(DataRow session, List <Point> soldPlaces) : this()
        {
            this.BaseDate    = new DateTime(2010, 1, 1, 0, 0, 0);
            this.session     = session;
            this.SoldTickets = soldPlaces;
            int rows   = (int)this.session["rows"];
            int places = (int)this.session["places"];

            this.placer        = new Placer(rows, places, this.SoldTickets);
            this.placer.Anchor = AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Top;
            this.tlpPlacer.Controls.Add(placer);
        }