up
This commit is contained in:
parent
ec4fd3eaa6
commit
8a6676062d
2
OTP/Form1.Designer.cs
generated
2
OTP/Form1.Designer.cs
generated
@ -64,6 +64,7 @@
|
||||
label1.TabIndex = 1;
|
||||
label1.Text = "TOTP Code";
|
||||
label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
label1.Click += Label1_Click;
|
||||
//
|
||||
// button1
|
||||
//
|
||||
@ -160,6 +161,7 @@
|
||||
label5.Size = new System.Drawing.Size(92, 20);
|
||||
label5.TabIndex = 13;
|
||||
label5.Text = "Next Code";
|
||||
label5.Click += Label5_Click;
|
||||
//
|
||||
// Form1
|
||||
//
|
||||
|
@ -216,5 +216,14 @@ namespace OTP
|
||||
LoadTitlesToListBox();
|
||||
}
|
||||
|
||||
private void Label1_Click(object sender, EventArgs e)
|
||||
{
|
||||
Clipboard.SetText(label1.Text);
|
||||
}
|
||||
|
||||
private void Label5_Click(object sender, EventArgs e)
|
||||
{
|
||||
Clipboard.SetText(label5.Text);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user