private async void btn_adds_Click(object sender, EventArgs e) { new ADDProduct().ShowDialog(); await CardPOS.AddRangeAsync <DummyCard>(Cards()); await CardProduct.AddRangeAsync <DummyCard>(Cards()); }
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; }
private async void SIMSProduct_Load(object sender, EventArgs e) { await CardPOS.AddRangeAsync <DummyCard>(Cards()); await CardProduct.AddRangeAsync <DummyCard>(Cards()); }