コード例 #1
0
        private void btn_admin_Click(object sender, EventArgs e)
        {
            this.Hide();
            AddDeviceForm fm = new AddDeviceForm(null, idBorrowPerson);

            fm.Show();
        }
コード例 #2
0
        private void button2_Click(object sender, EventArgs e)
        {
            String        codigoQr = qrtext.Text;
            AddDeviceForm frm      = new AddDeviceForm(codigoQr, idBorrowPerson);

            frm.Show();
            this.Hide();
        }