Ejemplo n.º 1
0
        private void AddShopBtn_Click(object sender, RoutedEventArgs e)
        {
            ShopAddForm shopAdd = new ShopAddForm();

            shopAdd.ShowDialog();
            ShopListBox.ItemsSource = null;
            ShopListBox.ItemsSource = DBHelper.GetContext().Shop.ToList();
        }
Ejemplo n.º 2
0
        //跳轉到新增窗口
        private void btn_add_Click(object sender, EventArgs e)
        {
            ShopAddForm shopForm = new ShopAddForm();

            shopForm.ShowDialog();
        }