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
1
Issues
1
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
nanahira
DataEditorX
Commits
2c961859
Commit
2c961859
authored
May 19, 2014
by
247321453
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
aed623a0
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
2 deletions
+21
-2
DataEditorX/DataEditForm.cs
DataEditorX/DataEditForm.cs
+1
-1
DataEditorX/DataEditorX.csproj
DataEditorX/DataEditorX.csproj
+6
-0
DataEditorX/DataEditorX.txt
DataEditorX/DataEditorX.txt
+3
-0
DataEditorX/MainForm.cs
DataEditorX/MainForm.cs
+3
-1
DataEditorX/readme.txt
DataEditorX/readme.txt
+8
-0
No files found.
DataEditorX/DataEditForm.cs
View file @
2c961859
...
...
@@ -71,7 +71,7 @@ void DataEditFormLoad(object sender, EventArgs e)
GAMEPATH
=
Application
.
StartupPath
;
if
(
File
.
Exists
(
Path
.
Combine
(
GAMEPATH
,
"DataEditorX.txt"
)))
{
string
[]
lines
=
File
.
ReadAllLines
(
Path
.
Combine
(
GAMEPATH
,
"DataEditorX.txt"
),
Encoding
.
Default
);
string
[]
lines
=
File
.
ReadAllLines
(
Path
.
Combine
(
GAMEPATH
,
"DataEditorX.txt"
),
Encoding
.
UTF8
);
GAMEPATH
=(
lines
.
Length
>
0
)?
lines
[
0
]:
Application
.
StartupPath
;
UPDATEURL
=(
lines
.
Length
>
1
)?
lines
[
1
]:
"http://247321453@ys168.com"
;
GITURL
=(
lines
.
Length
>
2
)?
lines
[
2
]:
"https://github.com/247321453/DataEditorX"
;
...
...
DataEditorX/DataEditorX.csproj
View file @
2c961859
...
...
@@ -78,6 +78,9 @@
<Folder
Include=
"Core"
/>
</ItemGroup>
<ItemGroup>
<None
Include=
"DataEditorX.txt"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<None
Include=
"Data\card-attribute.txt"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
...
...
@@ -102,6 +105,9 @@
<None
Include=
"Data\cover.jpg"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<None
Include=
"readme.txt"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
</ItemGroup>
<Import
Project=
"$(MSBuildToolsPath)\Microsoft.CSharp.targets"
/>
</Project>
\ No newline at end of file
DataEditorX/DataEditorX.txt
0 → 100644
View file @
2c961859
F:\game\YGOPRO
http://247321453.ys168.com
https://github.com/247321453/DataEditorX
\ No newline at end of file
DataEditorX/MainForm.cs
View file @
2c961859
...
...
@@ -8,6 +8,7 @@
using
System
;
using
System.Collections.Generic
;
using
System.Drawing
;
using
System.IO
;
using
System.Windows.Forms
;
namespace
DataEditorX
...
...
@@ -18,7 +19,7 @@ namespace DataEditorX
public
partial
class
MainForm
:
Form
{
DataEditForm
editForm
;
string
datadir
=
"
.\\data\\
"
;
string
datadir
=
""
;
public
MainForm
(
string
filename
)
{
Init
(
filename
);
...
...
@@ -37,6 +38,7 @@ void Init(string filename)
InitializeComponent
();
timer1
.
Interval
=
2000
;
timer1
.
Enabled
=
true
;
datadir
=
Path
.
Combine
(
Application
.
StartupPath
,
"data"
);
editForm
.
InitForm
(
datadir
);
}
...
...
DataEditorX/readme.txt
0 → 100644
View file @
2c961859
配置文件
DataEditorX.txt
1.游戏目录
2.更新网址
3.源码网址
F:\game\YGOPRO
http://247321453.ys168.com
https://github.com/247321453/DataEditorX
\ No newline at end of file
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