Commit 987dec0c authored by 247321453's avatar 247321453

new

parent 9023a420
/*
* 由SharpDevelop创建。
* 用户: Acer
* 日期: 5月18 星期日
* 时间: 17:01
*
*/
using System;
using System.Data.SQLite;
namespace DataEditorX.Core
{
/// <summary>
/// Description of SQLite.
/// </summary>
public class CDB
{
}
}
This diff is collapsed.
......@@ -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" />
......
......@@ -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();
}
}
......@@ -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();
}
}
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