private void customer_Click(object sender, RoutedEventArgs e) { customerUI custUi = new customerUI(); custUi.Activate(); custUi.Show(); }
private void moreInfo_Click(object sender, RoutedEventArgs e) { DataLayer.Entities.Booking custid = new DataLayer.Entities.Booking(); custid = (DataLayer.Entities.Booking)BookingList.SelectedItem; if (custid != null) { customerUI custUi = new customerUI(custid); custUi.Show(); } else { MessageBox.Show("Please Select Booking Data"); } }