public FullScreenSeatSelectorForm(MovieSeatSelectorPanel seatPanel, int addWidth, bool leftToRight) { InitializeComponent(); this.seatPanel = seatPanel; this.addWidth = addWidth; this.leftToRight = leftToRight; if (seatPanel.Movie != null && seatPanel.MoviePlan != null) { this.lbMovieName.Text = seatPanel.Movie.Name; this.lbMovieDetail.Text = string.Format(this.lbMovieDetail.Text, seatPanel.MoviePlan.Type, seatPanel.MoviePlan.Language, seatPanel.Movie.TotalMinutes); } if (seatPanel.RoomPlan != null) { this.lbPrice.Text = string.Format(this.lbPrice.Text, seatPanel.RoomPlan.SPrice); this.lbPlanInfo.Text = string.Format(this.lbPlanInfo.Text, seatPanel.Dt.ToString("yyyy-MM-dd"), seatPanel.RoomPlan.Playtime, seatPanel.RoomPlan.RoomName); } this.InitSeat(seatPanel.SeatList); this.RefreshSelectedPanel(); this.BackState(); GlobalTools.fullScreenSeatSelectorForm = this; GlobalTools.MaskFormKeyDown(this); }