回复 1楼menghuanyunxia的帖子
问提已解决,如下
private void FpSpread_DialogKey(object sender, DialogKeyEventArgs e)
{
if (e.KeyCode == (Keys.RButton | Keys.MButton | Keys.Back | Keys.Space) &&
this.ActiveWindowlessObject is PSShape)//禁止当点击Delete键的时候删除Shape
{
e.Handled = true;
return;
}
} |