摘要: 1.创建窗体及添加StatusStrip 默认StatusStrip名称为statusStrip12.在statusStrip1的Items属性中 添加三个StatusLabel 默认名称为toolStripStatusLabel1,2,3 按1,2,3的顺序排列3.修改toolStripStatusLabel1的Text属性 为相关文字如"欢迎使用本系统"4.修改toolStripStatusLabel2的Text属性 为空 Sprint属性为True BorderSides属性为Left,Right5.修改toolStripStatusLabel3的Text属性 为空 阅读全文
posted @ 2010-10-15 17:18 deepwishly 阅读(1270) 评论(0) 推荐(0) 编辑
摘要: /向注册表添加开机起动privatevoidbutton1_Click(objectsender,System.EventArgse)//button1按下后,会执行的方法{RegistryKeyhklm=Registry.LocalMachine;//需要引用Microsoft.Win32//定义hklm指向注册表的LocalMachine,对注册表的结构,可以在windows的运行里,输入regedit,运行后,可以看看里面的各个子键,//其中Software/Microsoft/Windows/CurrentVersion/Run就是关系到系统中随系统启动而启动的程序,通称启动项Regi 阅读全文
posted @ 2010-10-15 15:17 deepwishly 阅读(397) 评论(0) 推荐(0) 编辑