winform自定义控件中其他遮挡控件点击事件
2021-06-19 16:06
阅读:531
标签:点击事件 for end pre ble ase col info oid
自定义控件在其他窗口调用时,里面的lable阻挡了控件的点击事件
解决方法
自定义控件中lable的 点击事件
private void Lable1_Click(object sender, EventArgs e) { base.OnClick(e);//触发控件点击事件 }
winform自定义控件中其他遮挡控件点击事件
标签:点击事件 for end pre ble ase col info oid
原文地址:https://www.cnblogs.com/shoumufan/p/10276311.html
文章来自:搜素材网的编程语言模块,转载请注明文章出处。
文章标题:winform自定义控件中其他遮挡控件点击事件
文章链接:http://soscw.com/index.php/essay/96023.html
文章标题:winform自定义控件中其他遮挡控件点击事件
文章链接:http://soscw.com/index.php/essay/96023.html
评论
亲,登录后才可以留言!