Aggiunto URL link con copy x simulare auth

This commit is contained in:
Samuele E. Locatelli
2019-04-17 22:49:29 +02:00
parent 61d646e867
commit bfa62b78ca
2 changed files with 46 additions and 36 deletions
+9
View File
@@ -222,6 +222,9 @@ namespace TestClient
QRCode qrCode = new QRCode(qrCodeData);
Bitmap qrCodeImage = qrCode.GetGraphic(5);
pictBox.Image = qrCodeImage;
// aggiungo link!
lblUrl.Text = authData.QrCode;
}
}
}
@@ -869,5 +872,11 @@ namespace TestClient
pictBox.Image = qrCodeImage;
}
private void lblUrl_Click(object sender, EventArgs e)
{
Clipboard.SetText(lblUrl.Text);
MessageBox.Show("COPIED current AUTH URL to Clipboard!\r\n" + lblUrl.Text, "AUTH URL ACQUIRED", MessageBoxButtons.OK);
}
}
}