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
987dec0c
Commit
987dec0c
authored
May 18, 2014
by
247321453
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new
parent
9023a420
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
390 additions
and
14 deletions
+390
-14
DataEditorX/Core/CDB.cs
DataEditorX/Core/CDB.cs
+20
-0
DataEditorX/Core/Card.cs
DataEditorX/Core/Card.cs
+342
-0
DataEditorX/DataEditorX.csproj
DataEditorX/DataEditorX.csproj
+3
-0
DataEditorX/Interface/ICardView.cs
DataEditorX/Interface/ICardView.cs
+6
-7
DataEditorX/Interface/IEditor.cs
DataEditorX/Interface/IEditor.cs
+19
-7
No files found.
DataEditorX/Core/CDB.cs
0 → 100644
View file @
987dec0c
/*
* 由SharpDevelop创建。
* 用户: Acer
* 日期: 5月18 星期日
* 时间: 17:01
*
*/
using
System
;
using
System.Data.SQLite
;
namespace
DataEditorX.Core
{
/// <summary>
/// Description of SQLite.
/// </summary>
public
class
CDB
{
}
}
DataEditorX/Core/Card.cs
0 → 100644
View file @
987dec0c
This diff is collapsed.
Click to expand it.
DataEditorX/DataEditorX.csproj
View file @
987dec0c
...
...
@@ -40,6 +40,8 @@
<Reference
Include=
"System.Xml"
/>
</ItemGroup>
<ItemGroup>
<Compile
Include=
"Core\Card.cs"
/>
<Compile
Include=
"Core\CDB.cs"
/>
<Compile
Include=
"Interface\ICardView.cs"
/>
<Compile
Include=
"Interface\IEditor.cs"
/>
<Compile
Include=
"MainForm.cs"
/>
...
...
@@ -58,6 +60,7 @@
<Folder
Include=
"Data\ygopro"
/>
<Folder
Include=
"Interface"
/>
<Folder
Include=
"Data"
/>
<Folder
Include=
"Core"
/>
</ItemGroup>
<ItemGroup>
<None
Include=
"Data\ygopro\card-attribute.txt"
/>
...
...
DataEditorX/Interface/ICardView.cs
View file @
987dec0c
...
...
@@ -6,16 +6,15 @@
*
*/
using
System
;
using
DataEditorX.Core
;
namespace
DataEditorX.Interface
{
/// <summary>
/// Description of ICardView.
/// </summary>
public
class
ICardView
public
interface
ICardView
{
public
ICardView
()
{
}
Card
m_oldcard
{
set
;
get
;}
Card
GetCard
();
bool
SetCard
();
}
}
DataEditorX/Interface/IEditor.cs
View file @
987dec0c
...
...
@@ -6,16 +6,28 @@
*
*/
using
System
;
using
DataEditorX.Core
;
namespace
DataEditorX.Interface
{
/// <summary>
/// Description of IEditor.
/// </summary>
public
class
IEditor
public
interface
IEditor
{
public
IEditor
()
{
}
string
m_dbfile
{
get
;
set
;}
bool
Open
(
string
file
);
bool
Close
();
bool
Save
();
bool
Reload
();
Card
[]
Search
(
Card
modelCard
);
Card
[]
GetCards
();
bool
Add
(
Card
card
);
bool
AddCards
(
Card
[]
card
);
bool
Delete
(
Card
card
);
bool
DeleteCards
(
Card
[]
card
);
bool
Change
(
Card
oldCard
,
Card
nowCard
);
bool
Undo
();
bool
Redo
();
}
}
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