private void btn_cardGenerate_Click(object sender, EventArgs e) { crd = new Card(); CardDB.GenerateCard(crd); lbl_generatedCard.Text = crd.CardNumber.ToString(); lbl_generatedCardPrice.Text = crd.Price.ToString(); }
private void btn_cardGenerate_Click(object sender, EventArgs e) { crd = new Card(); CardDB.GenerateCard(crd); lbl_generatedCard.Text = crd.CardNumber.ToString(); lbl_generatedCardPrice.Text = crd.Price.ToString(); }