窗体定位升起降落效果实例源码privatevoidbutton1_Click(objectsender,EventArgse){for(inth=0;hthis.Size.Height;h++){Rectangler=newRectangle(System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.Width-this.Size.Width,System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.Height-h,this.Size.Width,this.Size.Height);//(wz)宽,高,(ct)宽,高,this.DesktopBounds=r;}}privatevoidbutton2_Click(objectsender,EventArgse){for(inth=this.Size.Height;h0;h--){Rectangler=newRectangle(System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.Wi
SplashScreen窗体加载源码源码描述:每次应用程序加载的时候,都会出现一个加载界面。一个好的加载界面需要:在一个单独的线程上运行,淡入,淡出消失,显示运行状态更新消息,使用静态方法显示和更新预测self-calibrating机制smooth-gradient进度条显示剩余的加载完成之前的秒数更新信息20140521:Fixedcrossthreadingoversight(lblTimeRemaininglabelwasbeingsetdirectly.)Alternativestoragetoavoidthewindowsregistry(ColinStansfield,Lagrange)Delayupdatesuntilthesplashscreenthreadisstarted(daws)timer.Stop()beforeclosingtheform(kilroytrout)Drawtheprogressbarduringthetimertickevent(kilroytrout,cbschuld)Remainingtimeaccuracyimprovements(P
窗体记住密码功能源码功能介绍:采用WinForm制作的一个保存输入密码,把用户输入的密码和帐号保存在本地,下次打开的时候自动读取,并且有排序功能,最新添加的都会排在第一,快速登陆的小程序界面;当登陆界面实现多个账号进入时,有时会忘记密码或需要快速登陆,当你第一次登陆的时候,选中记住密码,以后只需输入账号,根据账号记录相对应的密码无需输入,就可快速登陆;密码未做加密处理!供初学者学习参考!本程序是在VS2010环境下使用C#开发
