自定义按钮类,去除按钮设置透明后,点击出现黑边框
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApplication2
{
class cmpbutton : Button
{
public cmpbutton()
{
}
protected override bool ShowFocusCues
{
get
{
return false;
}
}
}
}
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。