private void btn_admin_Click(object sender, EventArgs e) { this.Hide(); AddDeviceForm fm = new AddDeviceForm(null, idBorrowPerson); fm.Show(); }
private void button2_Click(object sender, EventArgs e) { String codigoQr = qrtext.Text; AddDeviceForm frm = new AddDeviceForm(codigoQr, idBorrowPerson); frm.Show(); this.Hide(); }