【发布时间】:2010-12-29 11:16:39
【问题描述】:
当用户按下“del”键时如何从图片框中删除图像...我没有找到任何用于 PB 的按键或按键事件。
private void topRight_pbx_MouseClick(object sender, MouseEventArgs e)
{
imgSelected=true;
//need to accept "delete"key from keyboard?
topRight_pbx.Image = null;
topRFile = "";
}
【问题讨论】:
标签: c# .net winforms picturebox