Commit 5f77861f authored by keyongyu's avatar keyongyu

setcode

parent 14ca88eb
...@@ -1063,6 +1063,14 @@ void BackgroundWorker1RunWorkerCompleted(object sender, System.ComponentModel.Ru ...@@ -1063,6 +1063,14 @@ void BackgroundWorker1RunWorkerCompleted(object sender, System.ComponentModel.Ru
#endregion #endregion
#region setcode #region setcode
string Add0(long num,int len){
string str=num.ToString("x");
int j=len-str.Length;
for(int i=0;i<j;i++){
str="0"+str;
}
return str;
}
void setSetcode(long setcode){ void setSetcode(long setcode){
string setname=""; string setname="";
if(setcode<0){ if(setcode<0){
...@@ -1073,19 +1081,19 @@ void BackgroundWorker1RunWorkerCompleted(object sender, System.ComponentModel.Ru ...@@ -1073,19 +1081,19 @@ void BackgroundWorker1RunWorkerCompleted(object sender, System.ComponentModel.Ru
long s3=(setcode>>0x20)&0xffff; long s3=(setcode>>0x20)&0xffff;
long s4=(setcode>>0x30)&0xffff; long s4=(setcode>>0x30)&0xffff;
if(s4>0) if(s4>0)
setname=s4.ToString("x") setname=Add0(s4,4)
+" "+s3.ToString("x") +" "+Add0(s3,4)
+" "+s2.ToString("x") +" "+Add0(s2,4)
+" "+s1.ToString("x"); +" "+Add0(s1,4);
else if(s3>0) else if(s3>0)
setname=s3.ToString("x") setname=Add0(s3,4)
+" "+s2.ToString("x") +" "+Add0(s2,4)
+" "+s1.ToString("x"); +" "+Add0(s1,4);
else if(s2>0) else if(s2>0)
setname=s2.ToString("x") setname=Add0(s2,4)
+" "+s1.ToString("x"); +" "+Add0(s1,4);
else if(s1>0) else if(s1>0)
setname=s1.ToString("x"); setname=Add0(s1,4);
else else
setname="0"; setname="0";
tb_setcode.Text=setname; tb_setcode.Text=setname;
......
...@@ -28,4 +28,4 @@ ...@@ -28,4 +28,4 @@
// //
// You can specify all the values or you can use the default the Revision and // You can specify all the values or you can use the default the Revision and
// Build Numbers by using the '*' as shown below: // Build Numbers by using the '*' as shown below:
[assembly: AssemblyVersion("1.5.0.0")] [assembly: AssemblyVersion("1.5.1.0")]
...@@ -22,6 +22,6 @@ ...@@ -22,6 +22,6 @@
<add key="image" value="44,64,177,254" /> <add key="image" value="44,64,177,254" />
<add key="image_other" value="25,54,128,128" /> <add key="image_other" value="25,54,128,128" />
<add key="image_xyz" value="24,51,128,128" /> <add key="image_xyz" value="24,51,128,128" />
<add key="image_pendulum" value="13,46,150,120" /> <add key="image_pendulum" value="14,46,149,120" />
</appSettings> </appSettings>
</configuration> </configuration>
[DataEditorX]1.5.0.0[DataEditorX] [DataEditorX]1.5.1.0[DataEditorX]
[URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL] [URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL]
★使用前,请关联lua的打开方式,例如记事本,notepad++,等。 ★使用前,请关联lua的打开方式,例如记事本,notepad++,等。
...@@ -43,6 +43,8 @@ DataEditorX.exe.config ...@@ -43,6 +43,8 @@ DataEditorX.exe.config
描述不详细的bug,我修复不了。(都不知道是bug是什么) 描述不详细的bug,我修复不了。(都不知道是bug是什么)
★更新历史 ★更新历史
1.5.1.0
完善系列框,等待导出MSE存档
1.5.0.0 1.5.0.0
修复卡名搜索,读取ydk,读取图片 修复卡名搜索,读取ydk,读取图片
添加导出MSE存档,裁剪图片 添加导出MSE存档,裁剪图片
......
No preview for this file type
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<configuration> <configuration>
<connectionStrings> <connectionStrings>
<!-- Example connection to a SQL Server Database on localhost. --> <!-- Example connection to a SQL Server Database on localhost. -->
...@@ -7,14 +7,21 @@ ...@@ -7,14 +7,21 @@
providerName="System.Data.SqlClient" /> --> providerName="System.Data.SqlClient" /> -->
</connectionStrings> </connectionStrings>
<appSettings> <appSettings>
<add key="language" value="chinese" /> <!-- access these values via the property:
<add key="sourceURL" value="https://github.com/247321453/DataEditorX" /> System.Configuration.ConfigurationManager.AppSettings[key]
<add key="updateURL" value="https://github.com/247321453/DataEditorX/tree/master/win32/readme.txt" /> -->
<add key="cdb" value="F:\games\ygocore\cards.cdb" /> <!-- language directory -->
<add key="image_quilty" value="96" /> <add key="language" value="chinese" />
<add key="image" value="44,64,177,254" /> <!-- DataEditorX source code -->
<add key="image_other" value="25,54,128,128" /> <add key="sourceURL" value="https://github.com/247321453/DataEditorX" />
<add key="image_xyz" value="24,51,128,128" /> <!-- DataEditorX update url-->
<add key="image_pendulum" value="13,46,150,120" /> <add key="updateURL" value="https://github.com/247321453/DataEditorX/tree/master/win32/readme.txt" />
</appSettings> <!-- Defult DataBase -->
<add key="cdb" value="cards.cdb" />
<add key="image_quilty" value="96" />
<add key="image" value="44,64,177,254" />
<add key="image_other" value="25,54,128,128" />
<add key="image_xyz" value="24,51,128,128" />
<add key="image_pendulum" value="14,46,149,120" />
</appSettings>
</configuration> </configuration>
[DataEditorX]1.5.0.0[DataEditorX] [DataEditorX]1.5.1.0[DataEditorX]
[URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL] [URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL]
★使用前,请关联lua的打开方式,例如记事本,notepad++,等。 ★使用前,请关联lua的打开方式,例如记事本,notepad++,等。
...@@ -43,6 +43,8 @@ DataEditorX.exe.config ...@@ -43,6 +43,8 @@ DataEditorX.exe.config
描述不详细的bug,我修复不了。(都不知道是bug是什么) 描述不详细的bug,我修复不了。(都不知道是bug是什么)
★更新历史 ★更新历史
1.5.1.0
完善系列框,等待导出MSE存档
1.5.0.0 1.5.0.0
修复卡名搜索,读取ydk,读取图片 修复卡名搜索,读取ydk,读取图片
添加导出MSE存档,裁剪图片 添加导出MSE存档,裁剪图片
......
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment