I have a non-usage error of Directive
or a Assembly Reference
pointed to KeyCod
and Modifiers
Does anyone know what it would be and how can I upload it?
private void lblAutoCod_MouseClick(object sender, MouseEventArgs e)
{
if (e.KeyCode == Keys.C && e.Modifiers == Keys.Control)
{
MessageBox.Show("You pressed ctrl + c");
}
}
The purpose is to make those in a click on a label
the text be copied.