Пример #1
0
        private void customer_Click(object sender, RoutedEventArgs e)
        {
            customerUI custUi = new customerUI();

            custUi.Activate();
            custUi.Show();
        }
Пример #2
0
        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");
            }
        }