private void button1_Click(object sender, EventArgs e) { FinalizeCard finalize = new FinalizeCard(); finalize.Show(); this.Hide(); }
private void button1_Click(object sender, EventArgs e) { CardsEntity card = new CardsEntity() { CardName = tbCardTitle.Text, Location = cbxLocation.SelectedItem.ToString(), ConnOrgName = OrgName }; CardHelper cHelper = new CardHelper(); cHelper.SaveCardsList(card); FinalizeCard finalize = new FinalizeCard(card.CardID); finalize.Show(); this.Hide(); }