I am trying to make F4 open another window, but I have some of my windows set so when they are opened, the insertion is set to a default TextBox
or ComboBox
, so since the focus is on that it does not recognize that I pressed f4, but for some reason it does recognize other F keys. It also does not recognize the insert key.
I am wondering how I could fix this
private void wCarrierContractSurcharge_KeyDown(object sender, KeyEventArgs e)
{
CommonCode.ApplyStandardKeyShortcuts(this, e);
}