protected override bool ProcessDialogKey(Keys keyData)
{
#region PageDown
if (keyData == Keys.Enter)
{
btnQuery_Click(this, EventArgs.Empty);
return false;
}
#endregion
else
{
return base.ProcessDialogKey(keyData);
}
}
private void CtrlRptQueryCustomAndSupplyChain_KeyDown(object sender, KeyEventArgs e)
{
ProcessDialogKey(Keys.Enter);
}