コード例 #1
0
 public ReservationWindow(Show show)
 {
     InitializeComponent();
     this.show = show;
     PopulateWithCells();
     reservationButton.IsEnabled = false;
     MovieInfo.Content = string.Format("{0}, {1}, {2:00}:{3:00}, hall {4}", show.Movie.Name, show.Date, show.Time.Hours, show.Time.Minutes, show.Hall.Id);
 }
コード例 #2
0
ファイル: ShowList.cs プロジェクト: RosenTodorov/MyProjects
 public void Add(Show show)
 {
     this.shows.Add(show);
 }