Пример #1
0
        /// <summary>
        /// פונקציה לפתיחת חלון הוספת מנה,תופעל כאשר נלחץ על כפתור "פלוס"
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void addClientClick(object sender, RoutedEventArgs e)
        {
            Window AddOrderWindows = new addOrderWindows();

            (AddOrderWindows as addOrderWindows).refresh += refreshTable;//הרשמה לאירוע של חלון הוספת הזמנות


            AddOrderWindows.Show();
        }
Пример #2
0
        private void clickOnTableForUpdate(object sender, MouseButtonEventArgs e)
        {
            BE.Order       order     = new BE.Order();
            BE.OrderedDish orderDish = new BE.OrderedDish();
            order = (BE.Order)(orderDataGrid.SelectedItem);

            Window AddOrderWindows = new addOrderWindows(order.orderId);

            (AddOrderWindows as addOrderWindows).refresh += refreshTable;//


            AddOrderWindows.Show();
        }