private int[,] pos = {{0,0,0},{0,0,0},{0,0,0}};
private int ar = 2, ac = 2;
private int Hits = 0;
public Container components = null;
public Form1()
{
InitializeComponent();
//PlaceRandom();
}
protected override void Dispose(bool disposing)
{
if (disposing)
{
if (components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
如何解决C#中组件的二义性,代码如下
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
1条回答 默认 最新
- threenewbee 2015-12-19 07:08关注
public Container components = null;
这个是什么,在form.designer.cs里是不是已经定义了一个components
如果是,请删除本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报