示例#1
0
        private async void btn_adds_Click(object sender, EventArgs e)
        {
            new ADDProduct().ShowDialog();

            await CardPOS.AddRangeAsync <DummyCard>(Cards());

            await CardProduct.AddRangeAsync <DummyCard>(Cards());
        }
示例#2
0
        private async void btn_update_Click(object sender, EventArgs e)
        {
            if (_id == 0)
            {
                MessageBox.Show("Product Not Selected");
                return;
            }

            new UPDATEProduct(_id).ShowDialog();

            await CardPOS.AddRangeAsync <DummyCard>(Cards());

            await CardProduct.AddRangeAsync <DummyCard>(Cards());

            _id = 0;
        }
示例#3
0
        private async void SIMSProduct_Load(object sender, EventArgs e)
        {
            await CardPOS.AddRangeAsync <DummyCard>(Cards());

            await CardProduct.AddRangeAsync <DummyCard>(Cards());
        }