为System.IO.IOException创建跳过按钮未处理 [英] creating a skip button for System.IO.IOException was unhandled

查看:72
本文介绍了为System.IO.IOException创建跳过按钮未处理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨我想知道为我的一个游戏创建我自己的游戏启动器,我已经准备好了所有的东西,但我想要没有,如果有任何代码的按钮我可以用于什么时候我已设置下载的文件已经下载了
而不是仅仅获取该错误我希望它能够跳过该文件(如果可能的话)。感谢您提前的任何答案

解决方案

使用File.Exists方法..


HTTP: //msdn.microsoft.com/en-us/library/system.io.file.exists.aspx?cs-save-lang=1&cs-lang=csharp#code-snippet-1


hi i was wondering im creating my own game launcher for one of my games and i have everything just about ready to go but i am wanting to no if there is any code for a button i can use for when the files that i have set to download have already been downloaded instead of just getting that error i want it to be able to skip that file if its possible. thanks for any answers in advance

解决方案

Use File.Exists method..

http://msdn.microsoft.com/en-us/library/system.io.file.exists.aspx?cs-save-lang=1&cs-lang=csharp#code-snippet-1


这篇关于为System.IO.IOException创建跳过按钮未处理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆