Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
D
DataEditorX
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
聖園ミカ
DataEditorX
Commits
b547ffee
Commit
b547ffee
authored
Oct 22, 2014
by
keyongyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2.1.4.0
parent
ae678a3c
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
58 additions
and
44 deletions
+58
-44
DataEditorX/DataEditForm.cs
DataEditorX/DataEditForm.cs
+45
-37
DataEditorX/Properties/AssemblyInfo.cs
DataEditorX/Properties/AssemblyInfo.cs
+1
-1
DataEditorX/chinese/language-mainform.txt
DataEditorX/chinese/language-mainform.txt
+1
-1
DataEditorX/readme.txt
DataEditorX/readme.txt
+4
-1
win32/DataEditorX.exe
win32/DataEditorX.exe
+0
-0
win32/chinese/history.txt
win32/chinese/history.txt
+2
-2
win32/chinese/language-mainform.txt
win32/chinese/language-mainform.txt
+1
-1
win32/readme.txt
win32/readme.txt
+4
-1
win32/win32.zip
win32/win32.zip
+0
-0
No files found.
DataEditorX/DataEditForm.cs
View file @
b547ffee
...
...
@@ -362,12 +362,7 @@ void SetCard(Card c)
tb_def
.
Text
=(
c
.
def
<
0
)?
"?"
:
c
.
def
.
ToString
();
tb_cardcode
.
Text
=
c
.
id
.
ToString
();
tb_cardalias
.
Text
=
c
.
alias
.
ToString
();
string
f
;
if
(
menuitem_importmseimg
.
Checked
)
f
=
Path
.
Combine
(
IMAGEPATH
,
c
.
id
.
ToString
()+
".jpg"
);
else
f
=
Path
.
Combine
(
PICPATH
,
c
.
id
.
ToString
()+
".jpg"
);
setImage
(
f
);
setImage
(
c
.
id
.
ToString
());
}
//设置checkbox
...
...
@@ -944,7 +939,7 @@ void Btn_imgClick(object sender, EventArgs e)
if
(
dlg
.
ShowDialog
()==
DialogResult
.
OK
)
{
//dlg.FileName;
I
n
portImage
(
dlg
.
FileName
,
tid
);
I
m
portImage
(
dlg
.
FileName
,
tid
);
}
}
}
...
...
@@ -1427,7 +1422,7 @@ void Pl_imageDragDrop(object sender, DragEventArgs e)
MessageBox
.
Show
(
files
[
0
]);
#
endif
if
(
File
.
Exists
(
files
[
0
]))
I
n
portImage
(
files
[
0
],
tb_cardcode
.
Text
);
I
m
portImage
(
files
[
0
],
tb_cardcode
.
Text
);
}
void
Pl_imageDragEnter
(
object
sender
,
DragEventArgs
e
)
...
...
@@ -1439,45 +1434,58 @@ void Pl_imageDragEnter(object sender, DragEventArgs e)
}
void
Menuitem_importmseimgClick
(
object
sender
,
EventArgs
e
)
{
bool
ischk
=
menuitem_importmseimg
.
Checked
;
string
f
;
string
tid
=
tb_cardcode
.
Text
;
if
(
ischk
){
pl_image
.
BackgroundImageLayout
=
ImageLayout
.
Stretch
;
f
=
Path
.
Combine
(
PICPATH
,
tid
+
".jpg"
);
}
else
{
pl_image
.
BackgroundImageLayout
=
ImageLayout
.
Center
;
f
=
Path
.
Combine
(
IMAGEPATH
,
tid
+
".jpg"
);
}
setImage
(
f
);
menuitem_importmseimg
.
Checked
=!
ischk
;
menuitem_importmseimg
.
Checked
=!
menuitem_importmseimg
.
Checked
;
setImage
(
tid
);
}
void
I
n
portImage
(
string
file
,
string
tid
)
void
I
m
portImage
(
string
file
,
string
tid
)
{
string
f
;
bool
isPics
=!
menuitem_importmseimg
.
Checked
;
if
(
isPics
)
f
=
Path
.
Combine
(
PICPATH
,
tid
+
".jpg"
);
else
pl_image
.
BackgroundImage
.
Dispose
();
pl_image
.
BackgroundImage
=
m_cover
;
if
(
menuitem_importmseimg
.
Checked
){
if
(!
Directory
.
Exists
(
IMAGEPATH
))
Directory
.
CreateDirectory
(
IMAGEPATH
);
f
=
Path
.
Combine
(
IMAGEPATH
,
tid
+
".jpg"
);
if
(
File
.
Exists
(
f
))
{
pl_image
.
BackgroundImage
.
Dispose
();
pl_image
.
BackgroundImage
=
m_cover
;
File
.
Copy
(
file
,
f
,
true
);
}
if
(
isPics
)
else
{
f
=
Path
.
Combine
(
PICPATH
,
tid
+
".jpg"
);
tasker
.
ToImg
(
file
,
f
,
Path
.
Combine
(
PICPATH2
,
tid
+
".jpg"
));
else
File
.
Copy
(
file
,
f
,
true
);
setImage
(
f
);
}
setImage
(
tid
);
}
void
setImage
(
string
id
)
{
long
t
;
long
.
TryParse
(
id
,
out
t
);
setImage
(
t
);
}
void
setImage
(
string
f
){
if
(
File
.
Exists
(
f
)){
Bitmap
temp
=
new
Bitmap
(
f
);
void
setImage
(
long
id
){
if
(
pl_image
.
BackgroundImage
!=
null
&&
pl_image
.
BackgroundImage
!=
m_cover
)
pl_image
.
BackgroundImage
.
Dispose
();
Bitmap
temp
;
string
pic
=
Path
.
Combine
(
PICPATH
,
id
+
".jpg"
);
string
pic2
=
Path
.
Combine
(
IMAGEPATH
,
id
+
".jpg"
);
string
pic3
=
Path
.
Combine
(
IMAGEPATH
,
new
Card
(
id
).
idString
+
".jpg"
);
if
(
menuitem_importmseimg
.
Checked
&&
File
.
Exists
(
pic2
))
{
temp
=
new
Bitmap
(
pic2
);
pl_image
.
BackgroundImage
=
temp
;
pl_image
.
BackgroundImageLayout
=
ImageLayout
.
Center
;
}
else
if
(
menuitem_importmseimg
.
Checked
&&
File
.
Exists
(
pic3
))
{
temp
=
new
Bitmap
(
pic3
);
pl_image
.
BackgroundImage
=
temp
;
pl_image
.
BackgroundImageLayout
=
ImageLayout
.
Center
;
}
else
if
(
File
.
Exists
(
pic
)){
temp
=
new
Bitmap
(
pic
);
pl_image
.
BackgroundImage
=
temp
;
pl_image
.
BackgroundImageLayout
=
ImageLayout
.
Stretch
;
}
else
pl_image
.
BackgroundImage
=
m_cover
;
...
...
DataEditorX/Properties/AssemblyInfo.cs
View file @
b547ffee
...
...
@@ -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
(
"2.1.
3.1
"
)]
[
assembly
:
AssemblyVersion
(
"2.1.
4.0
"
)]
DataEditorX/chinese/language-mainform.txt
View file @
b547ffee
...
...
@@ -2,7 +2,7 @@
MainForm->menuitem_new 新建(&N)
MainForm->menuitem_open 打开(&O)
MainForm->menuitem_copyselect 复制所选卡片
MainForm->menuitem_copyall 复制所有卡片
MainForm->menuitem_copyall 复制
当前结果的
所有卡片
MainForm->menuitem_pastecards 粘贴卡片
MainForm->menuitem_comp1 对比-卡片数据 1
MainForm->menuitem_comp2 对比-卡片数据 2
...
...
DataEditorX/readme.txt
View file @
b547ffee
[DataEditorX]2.1.
3.1
[DataEditorX]
[DataEditorX]2.1.
4.0
[DataEditorX]
[URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL]
★使用前,请关联lua的打开方式,例如记事本,notepad++,等。
...
...
@@ -66,6 +66,9 @@ DataEditorX.exe.config
描述不详细的bug,我修复不了。(都不知道是bug是什么)
★更新历史
2.1.4.0
改善:
浏览和导入MSE图片库的图片
2.1.3.1
修复:
支持浏览和导入MSE图片库的图片
...
...
win32/DataEditorX.exe
View file @
b547ffee
No preview for this file type
win32/chinese/history.txt
View file @
b547ffee
# history
F:\games\ygocore\my.cdb
F:\games\ygopro\cards.cdb
F:\games\ygocore\cards.cdb
\ No newline at end of file
F:\games\ygocore\cards.cdb
F:\games\ygopro\cards.cdb
\ No newline at end of file
win32/chinese/language-mainform.txt
View file @
b547ffee
...
...
@@ -2,7 +2,7 @@
MainForm->menuitem_new 新建(&N)
MainForm->menuitem_open 打开(&O)
MainForm->menuitem_copyselect 复制所选卡片
MainForm->menuitem_copyall 复制所有卡片
MainForm->menuitem_copyall 复制
当前结果的
所有卡片
MainForm->menuitem_pastecards 粘贴卡片
MainForm->menuitem_comp1 对比-卡片数据 1
MainForm->menuitem_comp2 对比-卡片数据 2
...
...
win32/readme.txt
View file @
b547ffee
[DataEditorX]2.1.
3.1
[DataEditorX]
[DataEditorX]2.1.
4.0
[DataEditorX]
[URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL]
★使用前,请关联lua的打开方式,例如记事本,notepad++,等。
...
...
@@ -66,6 +66,9 @@ DataEditorX.exe.config
描述不详细的bug,我修复不了。(都不知道是bug是什么)
★更新历史
2.1.4.0
改善:
浏览和导入MSE图片库的图片
2.1.3.1
修复:
支持浏览和导入MSE图片库的图片
...
...
win32/win32.zip
View file @
b547ffee
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment