C# Timer

Timer控件:

在指定的时间间隔内,做一件指定的事儿;

 

跑马灯:

Lable1.Text = Lable1.Text.substring(1)+Lable1.Text.subtring(0,1);

 

SoundPlayer类:

SoundPlayer sp = new SoundPlayer();
sp.SoundLocation = @"F:\Users\zhuotu003\Desktop\Speech Disambiguation.wav";
sp.Play();

 

File   Path  FileStream  StreamReader  StreamWriter   Directory  操作文件夹  操作目录

CheckBox  

Radio Button 

单选和多选:

checked:指示这个控件是否处于选中状态

Radio  Button  只能单选,如果要分组,可以使用GroupBox

posted @ 2018-01-02 11:35  StanK  阅读(108)  评论(0编辑  收藏  举报