C#两个关于自动滚动的问题 新手【急】 textbox能实现,控制滚动高度就可以了。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 textBox可以实现有一个ScrollBars的属性控制滚动条 不是的是自动滚动的只是滚动条不够的而且怎么用Timer控制呢? public void timer_Tick(object sender, EventArgs e) { if (Label1.Location.X == 0) Label1Direction = true; if (Label1.Location.X + Label1.Width == this.Width) Label1Direction = false; if (RaceFootDirection) { Label1.Location = new Point(Label1.Location.X + 1, Label1.Location.Y); } else { Label1.Location = new Point(Label1.Location.X - 1, Label1.Location.Y); } } public void timer_Tick(object sender, EventArgs e) { if (Label1.Location.X == 0) Label1Direction = true; if (Label1.Location.X + Label1.Width == this.Width) Label1Direction = false; if (Label1Direction) { Label1.Location = new Point(Label1.Location.X + 1, Label1.Location.Y); } else { Label1.Location = new Point(Label1.Location.X - 1, Label1.Location.Y); } } 如何使treeview不同的节点显示不同的图标 关于两点间路径问题 多条件查询语句,c# 关于用户 'sa' 登录失败,求助 图像分割中的区域增长算法 c#开发的手机程序怎样检测手机信号?答对了给50分!!! .Net的Winform程序如何制作安装补丁啊??? 关于构建应用程序的我的一个想法 我面临一个选择C#还是JAVA的问题,大家帮帮我1 如何将string转化为double??? Need a C# wrapper for video format conversion, please 如何使ASP.NET的 TREEVIEW遍历并且能动态增删改(要求平台是VS2005
有一个ScrollBars的属性控制滚动条
是自动滚动的
只是滚动条不够的
而且怎么用Timer控制呢?
{
if (Label1.Location.X == 0)
Label1Direction = true; if (Label1.Location.X + Label1.Width == this.Width)
Label1Direction = false; if (RaceFootDirection)
{
Label1.Location = new Point(Label1.Location.X + 1, Label1.Location.Y);
}
else
{
Label1.Location = new Point(Label1.Location.X - 1, Label1.Location.Y);
}
}
{
if (Label1.Location.X == 0)
Label1Direction = true; if (Label1.Location.X + Label1.Width == this.Width)
Label1Direction = false; if (Label1Direction)
{
Label1.Location = new Point(Label1.Location.X + 1, Label1.Location.Y);
}
else
{
Label1.Location = new Point(Label1.Location.X - 1, Label1.Location.Y);
}
}