待调用的函数有6个参数
public void Init(string name, int len, string text, Point txtLocation, bool canSelected = true, string tip = "")
{
this.mSkinInfo.TextRect = new Rectangle();
this.mSkinInfo.TextLocation = txtLocation;
Init(name, len, text, canSelected, tip);
}
调用上面的函数(这里只写了4个函数,也不报错)
this.btnHome.Init("tb_home", 3, "主页", new Point(21, 60));
*当然了,只限于高版本的!