private void btnQRCode_Click(object sender, EventArgs e)
 {
     if (dataGridViewNhanVien.SelectedCells.Count > 0)
     {
         QRCodeForm form = new QRCodeForm(dataGridViewNhanVien.Rows[dataGridViewNhanVien.SelectedCells[0].RowIndex].Cells[1].Value.ToString()); //Employee ID
         form.ShowDialog();
     }
 }
Beispiel #2
0
        private void QRCodeItem_Click(object sender, EventArgs e)
        {
            var qrCodeForm = new QRCodeForm(controller.GetCurrentServer().ToURL());

            qrCodeForm.Show();
        }