Ale
when I want to enter to open my path, the click event is activated
private void BooksInEnglish_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Right)
{
NavigateButtons(1);
}
else if (e.KeyCode == Keys.Left)
{
NavigateButtons(-1);
}
else if (e.KeyCode == Keys.Enter && buttonPsychology1.Focused)
{
OpenBookPath();
}
}
}
48 replies