WinForm的TextBox怎么不让它获得焦点
if(e.KeyCode==Keys.F12){//AreaInformationar=newAreaInformation();//ar.Show();if(TArea...
if (e.KeyCode == Keys.F12)
{
//AreaInformation ar = new AreaInformation();
//ar.Show();
if (TArea_ID.Focus() != true)
{
HurryInfoFormnew fn = new HurryInfoFormnew();
fn.Show();
}
} 展开
{
//AreaInformation ar = new AreaInformation();
//ar.Show();
if (TArea_ID.Focus() != true)
{
HurryInfoFormnew fn = new HurryInfoFormnew();
fn.Show();
}
} 展开
1个回答
2013-06-07
展开全部
给它加个家电获得事件。得到焦点就转移焦点
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询