91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 4.76M
    文件類型: .rar
    金幣: 1
    下載: 0 次
    發(fā)布日期: 2024-05-01
  • 語言: C#
  • 標簽: C#??WinFrom??

資源簡介

未完成

資源截圖

代碼片段和文件信息

using?Newtonsoft.Json;
using?System;
using?System.Collections.Generic;
using?System.IO;
using?System.Linq;
using?System.Text;
using?System.Threading.Tasks;

namespace?Keep100sec
{
????class?Control
????{
????????//hp=enemynum=movespeed=rate=
????????public?int?Hp?{?get;?set;?}
????????public?int?Enemynum?{?get;?set;?}
????????public?int?Movespeed?{?get;?set;?}
????????public?int?Rate?{?get;?set;?}

????????public?Control()
????????{?
????????
????????}
????????public?Control(int?hp?int?enemy?int?movespeed?int?rete)?
????????{
????????????Hp?=?hp;
????????????Enemynum?=?enemy;
????????????Movespeed?=?movespeed;
????????????Rate?=?rete;
????????}

????????public?void?_saveConfig()
????????{
????????????try
????????????{
????????????????string?stmp?=?JsonConvert.Serializeobject(this?Newtonsoft.Json.Formatting.Indented);
????????????????_StringToFile(stmp
?????????????????????????System.Windows.Forms.Application.StartupPath?+?“\\GameSetting“
????????????????????????System.IO.FileMode.Create);
????????????}
????????????catch
????????????{
????????????}?
????????}

????????private?void?_StringToFile(string?stmp?string?v?FileMode?create)
????????{
????????????FileStream?fs?=?null;
????????????try
????????????{
????????????????fs?=?new?FileStream(v?create);
????????????????byte[]?buff?=?System.Text.Encoding.Default.GetBytes(stmp);
????????????????fs.Write(buff?0?buff.Length);
????????????}
????????????catch
????????????{
????????????}
????????????finally
????????????{
????????????????if?(fs?!=?null)
????????????????????fs.Close();
????????????}
????????}

????????public?Control?_loadConfig()
????????{
????????????Control?ct?=?null;
????????????try
????????????{
????????????????string?config?=?_stringFormFile(System.Windows.Forms.Application.StartupPath?+?“\\GameSetting“);
????????????????ct=?JsonConvert.Deserializeobject(config);
????????????}
????????????catch
????????????{
????????????}
????????????return?ct;
????????}

????????private?string?_stringFormFile(string?v)
????????{
????????????StringBuilder?sb?=?new?StringBuilder();
????????????StreamReader?sr?=?new?StreamReader(v?Encoding.Default);
????????????try
????????????{?
????????????????string?line;?
????????????????while?((line?=?sr.ReadLine())?!=?null)
????????????????{
????????????????????sb.Append(line);
????????????????}
????????????????sr.Close();?
????????????}
????????????catch?(Exception)
????????????{
????????????????sr.Close();
????????????}
????????????return?sb.ToString();
????????}
????}
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

????..A..H.?????60416??2020-07-29?10:14??Keep100sec\.vs\Keep100sec\v16\.suo

?????文件???????1069??2020-07-28?15:38??Keep100sec\Keep100sec\App.config

?????文件?????????69??2020-07-29?10:15??Keep100sec\Keep100sec\bin\Debug\GameSetting

?????文件??????19456??2020-07-29?10:14??Keep100sec\Keep100sec\bin\Debug\Keep100sec.exe

?????文件???????1069??2020-07-28?15:38??Keep100sec\Keep100sec\bin\Debug\Keep100sec.exe.config

?????文件??????62976??2020-07-29?10:14??Keep100sec\Keep100sec\bin\Debug\Keep100sec.pdb

?????文件?????700336??2019-11-09?00:56??Keep100sec\Keep100sec\bin\Debug\Newtonsoft.Json.dll

?????文件?????707721??2019-11-09?00:51??Keep100sec\Keep100sec\bin\Debug\Newtonsoft.Json.xml

?????文件???????2622??2020-07-28?13:50??Keep100sec\Keep100sec\Control.cs

?????文件???????5139??2020-07-29?10:14??Keep100sec\Keep100sec\Form1.cs

?????文件???????9398??2020-07-28?17:38??Keep100sec\Keep100sec\Form1.Designer.cs

?????文件???????6206??2020-07-28?17:38??Keep100sec\Keep100sec\Form1.resx

?????文件???????1021??2020-07-28?15:11??Keep100sec\Keep100sec\Img\Enemy.jpg

?????文件????????950??2020-07-28?15:10??Keep100sec\Keep100sec\Img\Play.jpg

?????文件???????4508??2020-07-28?15:38??Keep100sec\Keep100sec\Keep100sec.csproj

?????文件???????2838??2020-07-28?13:14??Keep100sec\Keep100sec\MainView.cs

?????文件???????7206??2020-07-28?11:16??Keep100sec\Keep100sec\MainView.Designer.cs

?????文件???????5817??2020-07-28?11:16??Keep100sec\Keep100sec\MainView.resx

?????文件????????214??2020-07-28?10:31??Keep100sec\Keep100sec\obj\Debug\.NETframeworkVersion=v4.7.2.AssemblyAttributes.cs

?????文件????????985??2020-07-28?15:37??Keep100sec\Keep100sec\obj\Debug\DesignTimeResolveAssemblyReferences.cache

?????文件???????7545??2020-07-28?15:11??Keep100sec\Keep100sec\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

?????文件??????????0??2020-07-29?10:14??Keep100sec\Keep100sec\obj\Debug\Keep100sec.csproj.CopyComplete

?????文件?????????42??2020-07-28?16:27??Keep100sec\Keep100sec\obj\Debug\Keep100sec.csproj.CoreCompileInputs.cache

?????文件???????1090??2020-07-28?17:00??Keep100sec\Keep100sec\obj\Debug\Keep100sec.csproj.FileListAbsolute.txt

?????文件???????1073??2020-07-28?17:39??Keep100sec\Keep100sec\obj\Debug\Keep100sec.csproj.GenerateResource.cache

?????文件????????424??2020-07-29?10:14??Keep100sec\Keep100sec\obj\Debug\Keep100sec.csprojAssemblyReference.cache

?????文件??????19456??2020-07-29?10:14??Keep100sec\Keep100sec\obj\Debug\Keep100sec.exe

?????文件????????180??2020-07-28?17:39??Keep100sec\Keep100sec\obj\Debug\Keep100sec.Form1.resources

?????文件????????180??2020-07-28?16:27??Keep100sec\Keep100sec\obj\Debug\Keep100sec.MainView.resources

?????文件??????62976??2020-07-29?10:14??Keep100sec\Keep100sec\obj\Debug\Keep100sec.pdb

............此處省略61個文件信息

評論

共有 條評論