|
楼主 |
发表于 2013-10-9 16:30:38
|
显示全部楼层
//x坐标显示
string[] n = { "7:00-8:00", "8:00-9:00", "9:00-10:00", "10:00-11:00", "11:00-12:00", "12:00-13:00", "13:00-14:00", "14:00-15:00", "15:00-16:00", "16:00-17:00", "17:00-18:00", "18:00-19:00", "19:00-20:00", "20:00-21:00", "21:00-22:00", "22:00-23:00", "23:00-00:00", "00:00-1:00", "1:00-2:00", "2:00-3:00", "3:00-4:00", "4:00-5:00", "5:00-6:00", "6:00-7:00" };
x = 660;
for (int i = 0; i < 24; i++)
{
g.DrawString(n.ToString(), font, Brushes.Red, x, 540);
x = x + 20;
}
老大这个怎么改才好呢?谢谢!
|
|