コード例 #1
0
 private void CreateReservation_Click(object sender, RoutedEventArgs e)
 {
     CreateReservation newWindow = new CreateReservation();
     newWindow.ShowDialog();
 }
コード例 #2
0
        private void UpdateReservation_Click(object sender, RoutedEventArgs e)
        {
            IReservation reservation = (IReservation)reservationListBox.SelectedItem;

            CreateReservation openReservation = new CreateReservation(reservation);
            openReservation.ShowDialog();
        }