private void button1_Click(object sender, EventArgs e) { Kopierkarte copycard = new Kopierkarte(); copycard.setKopien(Convert.ToInt32(textBox1.Text)); copycard.PinNr = Convert.ToInt32(textBox2.Text); this.Visible = false; new Form2(ref copycard).ShowDialog(); this.Close(); }
public Form3(ref Kopierkarte cc) { copycard = cc; InitializeComponent(); }
public Form2(ref Kopierkarte cc) { InitializeComponent(); copycard = cc; }