Esempio n. 1
0
        private void addcostumerbutton_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                bl.AddCostumer(costumerr);
                MessageBox.Show("Costumer  " + costumerr.costumerName + " was added successfully");
                //MessageBox.Show("הוסף בהצלחה" + costumerr.costumerName + " לקוח ");

                costumerr        = new BE.Costumer();
                this.DataContext = costumerr;
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }