1、在工具--》选项中关掉IntelliTrace
2、必须看看宽度的属性,以下是部分代码:public int Width { get { return this.Width; } set { Width = value; //此处自定义控件内部的控件的location的设置,如:lable1.location=new Piont(); //为了实现一个联动的效果 } }
3、这时菜鸟D注意到代码左侧的提示

时间:2024-11-06 00:35:44
1、在工具--》选项中关掉IntelliTrace
2、必须看看宽度的属性,以下是部分代码:public int Width { get { return this.Width; } set { Width = value; //此处自定义控件内部的控件的location的设置,如:lable1.location=new Piont(); //为了实现一个联动的效果 } }
3、这时菜鸟D注意到代码左侧的提示