Beispiel #1
0
        //Double click on a costumer to open a new order for the selected costumer //Laur
        private void CustomerList_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            DisplayMenu dm = new DisplayMenu(mvm);

            if (dm.ShowDialog() == true)
            {
                MessageBox.Show("You have successfully created an order");
            }
        }
Beispiel #2
0
        private void ChooseCustomer_Click(object sender, RoutedEventArgs e) //This starts the order creation after customer is selected in the listbox
        {
            DisplayMenu dm = new DisplayMenu(mvm);

            if (dm.ShowDialog() == true)
            {
                MessageBox.Show("You have successfully created an order");
            }
        }