Commit 5f77861f authored by keyongyu's avatar keyongyu

setcode

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