我如何解决问题...... [英] How I Can Solve Down Problem...
本文介绍了我如何解决问题......的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
for (int index = 1; index <= numberCities; index++)
{
g.DrawEllipse(new Pen(Color.Red, 1),new Rectangle(Global.rawData[bestTour[index]],g.DrawLine(new Pen(Color.Black, 1),Global.rawData[bestTour[index]]),Global.rawData[bestTour[index + 1]]);
}
错误信息
错误1)预期
感谢您的帮助
Error message
Error 1 ) expected
thanks for your helps
推荐答案
您应该先阅读文档:
You should read the documentation first:
for (int index = 1; index <= numberCities; index++)
{
g.DrawEllipse(new Pen(Color.Red, 1), new Rectangle(Global.rawData[bestTour[index]]);
g.DrawLine(new Pen(Color.Black, 1), Global.rawData[bestTour[index]], Global.rawData[bestTour[index + 1]]);
}
这篇关于我如何解决问题......的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文