Commit c63906d9 authored by JoyJ's avatar JoyJ

update localizations; allow drag & drop files

parent f7b90978
Pipeline #135 passed with stage
in 1 minute and 26 seconds
......@@ -54,7 +54,7 @@ private void InitializeComponent()
this.menuitem_about = new System.Windows.Forms.ToolStripMenuItem();
this.menuitem_tools = new System.Windows.Forms.ToolStripMenuItem();
this.menuitem_testlua = new System.Windows.Forms.ToolStripMenuItem();
this.effectCreatorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.menuitem_effectcreator = new System.Windows.Forms.ToolStripMenuItem();
this.tb_input = new System.Windows.Forms.TextBox();
this.backgroundWorker1 = new System.ComponentModel.BackgroundWorker();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
......@@ -193,7 +193,7 @@ private void InitializeComponent()
//
this.menuitem_tools.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.menuitem_testlua,
this.effectCreatorToolStripMenuItem});
this.menuitem_effectcreator});
this.menuitem_tools.Name = "menuitem_tools";
this.menuitem_tools.Size = new System.Drawing.Size(67, 21);
this.menuitem_tools.Text = "Tools(&T)";
......@@ -202,17 +202,17 @@ private void InitializeComponent()
//
this.menuitem_testlua.Name = "menuitem_testlua";
this.menuitem_testlua.ShortcutKeys = System.Windows.Forms.Keys.F5;
this.menuitem_testlua.Size = new System.Drawing.Size(180, 22);
this.menuitem_testlua.Size = new System.Drawing.Size(177, 22);
this.menuitem_testlua.Text = "Syntax Check";
this.menuitem_testlua.Click += new System.EventHandler(this.menuitem_testlua_Click);
//
// effectCreatorToolStripMenuItem
// menuitem_effectcreator
//
this.effectCreatorToolStripMenuItem.Name = "effectCreatorToolStripMenuItem";
this.effectCreatorToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F3;
this.effectCreatorToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.effectCreatorToolStripMenuItem.Text = "Effect Creator";
this.effectCreatorToolStripMenuItem.Click += new System.EventHandler(this.effectCreatorToolStripMenuItem_Click);
this.menuitem_effectcreator.Name = "menuitem_effectcreator";
this.menuitem_effectcreator.ShortcutKeys = System.Windows.Forms.Keys.F3;
this.menuitem_effectcreator.Size = new System.Drawing.Size(177, 22);
this.menuitem_effectcreator.Text = "Effect Creator";
this.menuitem_effectcreator.Click += new System.EventHandler(this.effectCreatorToolStripMenuItem_Click);
//
// tb_input
//
......@@ -283,6 +283,8 @@ private void InitializeComponent()
this.fctb.Zoom = 100;
this.fctb.ToolTipNeeded += new System.EventHandler<FastColoredTextBoxNS.ToolTipNeededEventArgs>(this.FctbToolTipNeeded);
this.fctb.SelectionChangedDelayed += new System.EventHandler(this.FctbSelectionChangedDelayed);
this.fctb.DragDrop += new System.Windows.Forms.DragEventHandler(this.OnDragDtop);
this.fctb.DragEnter += new System.Windows.Forms.DragEventHandler(this.OnDragEnter);
this.fctb.MouseClick += new System.Windows.Forms.MouseEventHandler(this.FctbMouseClick);
//
// documentMap1
......@@ -300,6 +302,7 @@ private void InitializeComponent()
//
// CodeEditForm
//
this.AllowDrop = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(705, 415);
this.Controls.Add(this.fctb);
......@@ -314,6 +317,8 @@ private void InitializeComponent()
this.Text = "CodeEditor";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.CodeEditFormFormClosing);
this.Load += new System.EventHandler(this.CodeEditFormLoad);
this.DragDrop += new System.Windows.Forms.DragEventHandler(this.OnDragDtop);
this.DragEnter += new System.Windows.Forms.DragEventHandler(this.OnDragEnter);
this.Enter += new System.EventHandler(this.CodeEditFormEnter);
this.mainMenu.ResumeLayout(false);
this.mainMenu.PerformLayout();
......@@ -344,6 +349,6 @@ private void InitializeComponent()
private System.Windows.Forms.ToolTip toolTip1;
private System.Windows.Forms.ToolStripMenuItem menuitem_tools;
private System.Windows.Forms.ToolStripMenuItem menuitem_testlua;
private System.Windows.Forms.ToolStripMenuItem effectCreatorToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem menuitem_effectcreator;
}
}
......@@ -15,6 +15,7 @@
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Windows.Forms;
......@@ -241,7 +242,7 @@ void SetTitle()
}
else
{
str = this.nowFile + "-" + this.title;
str = new FileInfo(this.nowFile).Name;
}
if (this.MdiParent != null)//如果父容器不为空
......@@ -249,17 +250,18 @@ void SetTitle()
if (string.IsNullOrEmpty(this.nowFile))
{
this.Text = this.title;
this.TabText = this.title;
}
else
{
this.Text = Path.GetFileName(this.nowFile);
}
this.MdiParent.Text = str;
}
else
{
this.Text = str;
this.TabText = str;
}
}
......@@ -634,5 +636,36 @@ private void effectCreatorToolStripMenuItem_Click(object sender, EventArgs e)
EffectCreatorForm form = new EffectCreatorForm();
form.Show();
}
private void OnDragEnter(object sender, DragEventArgs e)
{
e.Effect = DragDropEffects.All;
}
private void OnDragDtop(object sender, DragEventArgs e)
{
string[] drops = (string[])e.Data.GetData(DataFormats.FileDrop);
List<string> files = new List<string>();
foreach (string file in drops)
{
if (Directory.Exists(file))
{
files.AddRange(Directory.EnumerateFiles(file, "*.cdb", SearchOption.AllDirectories));
files.AddRange(Directory.EnumerateFiles(file, "*.lua", SearchOption.AllDirectories));
}
files.Add(file);
}
if (files.Count > 5)
{
if (!MyMsg.Question(LMSG.IfOpenLotsOfFile))
{
return;
}
}
foreach (string file in files)
{
(this.DockPanel.Parent as MainForm).Open(file);
}
}
}
}
......@@ -1238,6 +1238,7 @@ private void InitializeComponent()
//
// DataEditForm
//
this.AllowDrop = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(991, 617);
this.Controls.Add(this.pl_main);
......@@ -1253,6 +1254,8 @@ private void InitializeComponent()
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.DataEditFormFormClosing);
this.Load += new System.EventHandler(this.DataEditFormLoad);
this.SizeChanged += new System.EventHandler(this.DataEditFormSizeChanged);
this.DragDrop += new System.Windows.Forms.DragEventHandler(this.OnDragDrop);
this.DragEnter += new System.Windows.Forms.DragEventHandler(this.OnDragEnter);
this.Enter += new System.EventHandler(this.DataEditFormEnter);
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.DataEditForm_KeyDown);
this.mainMenu.ResumeLayout(false);
......
......@@ -2160,6 +2160,37 @@ private void menuitem_language_Click(object sender, EventArgs e)
}
private void OnDragDrop(object sender, DragEventArgs e)
{
string[] drops = (string[])e.Data.GetData(DataFormats.FileDrop);
List<string> files = new List<string>();
foreach (string file in drops)
{
if (Directory.Exists(file))
{
files.AddRange(Directory.EnumerateFiles(file, "*.cdb", SearchOption.AllDirectories));
files.AddRange(Directory.EnumerateFiles(file, "*.lua", SearchOption.AllDirectories));
}
files.Add(file);
}
if (files.Count > 5)
{
if (!MyMsg.Question(LMSG.IfOpenLotsOfFile))
{
return;
}
}
foreach (string file in files)
{
(this.DockPanel.Parent as MainForm).Open(file);
}
}
private void OnDragEnter(object sender, DragEventArgs e)
{
e.Effect = DragDropEffects.All;
}
void Tb_linkKeyPress(object sender, KeyPressEventArgs e)
{
if (e.KeyChar != '0' && e.KeyChar != '1' && e.KeyChar != 1 && e.KeyChar != 22 && e.KeyChar != 3 && e.KeyChar != 8)
......
......@@ -85,10 +85,15 @@
</Reference>
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xaml" />
<Reference Include="System.Xml" />
<Reference Include="WeifenLuo.WinFormsUI.Docking, Version=2.1.6643.41644, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\WeifenLuo.WinFormsUI.Docking.2.1.0\lib\net20\WeifenLuo.WinFormsUI.Docking.dll</HintPath>
<Reference Include="WeifenLuo.WinFormsUI.Docking, Version=3.0.6.0, Culture=neutral, PublicKeyToken=5cded1a1a0a7b481, processorArchitecture=MSIL">
<HintPath>..\packages\DockPanelSuite.3.0.6\lib\net40\WeifenLuo.WinFormsUI.Docking.dll</HintPath>
</Reference>
<Reference Include="WeifenLuo.WinFormsUI.Docking.ThemeVS2015, Version=3.0.6.0, Culture=neutral, PublicKeyToken=5cded1a1a0a7b481, processorArchitecture=MSIL">
<HintPath>..\packages\DockPanelSuite.ThemeVS2015.3.0.6\lib\net40\WeifenLuo.WinFormsUI.Docking.ThemeVS2015.dll</HintPath>
</Reference>
<Reference Include="WindowsBase" />
</ItemGroup>
<ItemGroup>
<Compile Include="CodeEditForm.cs">
......
......@@ -94,6 +94,7 @@ public enum LMSG : uint
exportMseImages = 0x4a,
exportMseImagesErr = 0x4b,
syntaxCheckPassed = 0x4c,
IfOpenLotsOfFile = 0x4d,
COUNT,
}
}
......@@ -35,7 +35,8 @@ protected override void Dispose(bool disposing)
/// </summary>
private void InitializeComponent()
{
this.dockPanel1 = new WeifenLuo.WinFormsUI.Docking.DockPanel();
this.dockPanel = new WeifenLuo.WinFormsUI.Docking.DockPanel();
this.theme = new WeifenLuo.WinFormsUI.Docking.VS2015LightTheme();
this.mainMenu = new System.Windows.Forms.MenuStrip();
this.menuitem_file = new System.Windows.Forms.ToolStripMenuItem();
this.menuitem_open = new System.Windows.Forms.ToolStripMenuItem();
......@@ -64,15 +65,19 @@ private void InitializeComponent()
this.mainMenu.SuspendLayout();
this.SuspendLayout();
//
// dockPanel1
// dockPanel
//
this.dockPanel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
this.dockPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.dockPanel1.Location = new System.Drawing.Point(0, 25);
this.dockPanel1.Margin = new System.Windows.Forms.Padding(0);
this.dockPanel1.Name = "dockPanel1";
this.dockPanel1.Size = new System.Drawing.Size(992, 736);
this.dockPanel1.TabIndex = 0;
this.dockPanel.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
this.dockPanel.Dock = System.Windows.Forms.DockStyle.Fill;
this.dockPanel.DockBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(238)))), ((int)(((byte)(242)))));
this.dockPanel.Location = new System.Drawing.Point(0, 25);
this.dockPanel.Margin = new System.Windows.Forms.Padding(0);
this.dockPanel.Name = "dockPanel";
this.dockPanel.Padding = new System.Windows.Forms.Padding(6);
this.dockPanel.ShowAutoHideContentOnHover = false;
this.dockPanel.Size = new System.Drawing.Size(992, 736);
this.dockPanel.TabIndex = 0;
this.dockPanel.Theme = this.theme;
//
// mainMenu
//
......@@ -275,7 +280,7 @@ private void InitializeComponent()
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.SystemColors.Control;
this.ClientSize = new System.Drawing.Size(992, 761);
this.Controls.Add(this.dockPanel1);
this.Controls.Add(this.dockPanel);
this.Controls.Add(this.mainMenu);
this.IsMdiContainer = true;
this.MainMenuStrip = this.mainMenu;
......@@ -313,9 +318,9 @@ private void InitializeComponent()
private System.Windows.Forms.ToolStripMenuItem menuitem_windows;
private System.Windows.Forms.ToolStripMenuItem menuitem_file;
private System.Windows.Forms.MenuStrip mainMenu;
private WeifenLuo.WinFormsUI.Docking.DockPanel dockPanel1;
private WeifenLuo.WinFormsUI.Docking.DockPanel dockPanel;
private System.Windows.Forms.ToolStripMenuItem menuitem_shistory;
private System.ComponentModel.BackgroundWorker bgWorker1;
}
private WeifenLuo.WinFormsUI.Docking.VS2015LightTheme theme;
}
}
......@@ -107,7 +107,7 @@ void InitForm()
LanguageHelper.SetFormLabel(this);
//设置所有窗口的语言
DockContentCollection contents = this.dockPanel1.Contents;
DockContentCollection contents = this.dockPanel.Contents;
foreach (DockContent dc in contents)
{
if (dc is Form)
......@@ -189,7 +189,7 @@ void OpenScript(string file)
cf.InitTooltip(this.codecfg);
//打开文件
cf.Open(file);
cf.Show(this.dockPanel1, DockState.Document);
cf.Show(this.dockPanel, DockState.Document);
}
//打开数据库
void OpenDataBase(string file)
......@@ -207,7 +207,7 @@ void OpenDataBase(string file)
LanguageHelper.SetFormLabel(def);
//初始化界面数据
def.InitControl(this.datacfg);
def.Show(this.dockPanel1, DockState.Document);
def.Show(this.dockPanel, DockState.Document);
}
//打开文件
public void Open(string file)
......@@ -241,7 +241,7 @@ public void Open(string file)
//检查是否打开
bool FindEditForm(string file, bool isOpen)
{
DockContentCollection contents = this.dockPanel1.Contents;
DockContentCollection contents = this.dockPanel.Contents;
//遍历所有标签
foreach (DockContent dc in contents)
{
......@@ -277,9 +277,9 @@ bool FindEditForm(string file, bool isOpen)
//关闭当前
void CloseToolStripMenuItemClick(object sender, EventArgs e)
{
if (this.dockPanel1.ActiveContent.DockHandler != null)
if (this.dockPanel.ActiveContent.DockHandler != null)
{
this.dockPanel1.ActiveContent.DockHandler.Close();
this.dockPanel.ActiveContent.DockHandler.Close();
}
}
//打开脚本编辑
......@@ -296,7 +296,7 @@ void DataEditorToolStripMenuItemClick(object sender, EventArgs e)
//关闭其他或者所有
void CloseMdi(bool isall)
{
DockContentCollection contents = this.dockPanel1.Contents;
DockContentCollection contents = this.dockPanel.Contents;
int num = contents.Count - 1;
try
{
......@@ -308,7 +308,7 @@ void CloseMdi(bool isall)
{
contents[num].DockHandler.Close();
}
else if (this.dockPanel1.ActiveContent != contents[num])
else if (this.dockPanel.ActiveContent != contents[num])
{
contents[num].DockHandler.Close();
}
......@@ -334,7 +334,7 @@ void CloseAllToolStripMenuItemClick(object sender, EventArgs e)
//得到当前的数据编辑
DataEditForm GetActive()
{
DataEditForm df = this.dockPanel1.ActiveContent as DataEditForm;
DataEditForm df = this.dockPanel.ActiveContent as DataEditForm;
return df;
}
//打开文件
......@@ -343,7 +343,7 @@ void Menuitem_openClick(object sender, EventArgs e)
using (OpenFileDialog dlg = new OpenFileDialog())
{
dlg.Title = LanguageHelper.GetMsg(LMSG.OpenFile);
if (this.GetActive() != null || this.dockPanel1.Contents.Count == 0)//判断当前窗口是不是DataEditor
if (this.GetActive() != null || this.dockPanel.Contents.Count == 0)//判断当前窗口是不是DataEditor
{
dlg.Filter = LanguageHelper.GetMsg(LMSG.CdbType);
}
......@@ -408,7 +408,7 @@ void Menuitem_newClick(object sender, EventArgs e)
//保存文件
void Menuitem_saveClick(object sender, EventArgs e)
{
if (this.dockPanel1.ActiveContent is IEditForm cf)
if (this.dockPanel.ActiveContent is IEditForm cf)
{
if (cf.Save())//是否保存成功
{
......@@ -554,5 +554,6 @@ private void MainForm_Load(object sender, EventArgs e)
th.Start();
}
}
}
}
......@@ -117,6 +117,9 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="theme.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>441, 17</value>
</metadata>
<metadata name="mainMenu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>237, 17</value>
</metadata>
......
......@@ -664,8 +664,8 @@ e~=nil则检查c是否可以以效果e进行通常召唤的set,min表示至少
如果nocheck是true则不检查c的召唤条件,如果nolimit是true则不检查c的苏生限制
●bool Card.IsAbleToHand(Card c)
检查c是否可以送去手
注:仅当卡片或者玩家受到“不能加入手”的效果的影响时(如雷王)此函数才返回false
检查c是否可以送去手
注:仅当卡片或者玩家受到“不能加入手”的效果的影响时(如雷王)此函数才返回false
##以下几个函数类似
●bool Card.IsAbleToDeck(Card c)
......@@ -682,9 +682,9 @@ e~=nil则检查c是否可以以效果e进行通常召唤的set,min表示至少
检查c是否可以被玩家player除外
●bool Card.IsAbleToHandAsCost(Card c)
检查c是否可以作为cost送去手
检查c是否可以作为cost送去手
注:此函数会在Card.IsAbleToHand的基础上追加检测c的实际目的地
当c送往手会被送去其它地方时(如缩退回路适用中,或者c是融合、同调 等额外怪兽的一种),此函数返回false
当c送往手会被送去其它地方时(如缩退回路适用中,或者c是融合、同调 等额外怪兽的一种),此函数返回false
##以下几个函数类似
●bool Card.IsAbleToDeckAsCost(Card c)
......@@ -874,7 +874,7 @@ location的默认值与c的种类有关,灵摆怪兽需要指定能否在怪
●void Card.CancelToGrave(Card c[, bool cancel=true])
取消送墓确定状态,cancel=false则重新设置送墓确定状态
注:送墓确定状态指的是在场上发动的不留场的魔法和陷阱后,这些卡片的状态
送墓确定状态中的卡无法返回手和卡组,并且连锁结束时送去墓地
送墓确定状态中的卡无法返回手和卡组,并且连锁结束时送去墓地
此函数的作用是取消此状态使其留场,用于光之护封剑和废铁稻草人等卡
●int,int Card.GetTributeRequirement(Card c)
......@@ -1364,8 +1364,8 @@ end
以reason原因把targets送去墓地,返回值是实际被操作的数量
●int Duel.SendtoHand(Card|Group targets, int player|nil, int reason)
以reason原因把targets送去玩家player的手,返回值是实际被操作的数量
如果player是nil则返回卡的持有者的手
以reason原因把targets送去玩家player的手,返回值是实际被操作的数量
如果player是nil则返回卡的持有者的手
●int Duel.SendtoDeck(Card|Group targets, int player|nil, int seq, int reason)
以reason原因把targets送去玩家player的卡组,返回值是实际被操作的数量
......@@ -1527,7 +1527,7 @@ TIMING_DAMAGE =0x20000 --造成伤害时点
TIMING_RECOVER =0x40000 --回复时点
TIMING_DESTROY =0x80000 --破坏时点
TIMING_REMOVE =0x100000 --除外时点
TIMING_TOHAND =0x200000 --加入手时点(检索、回收等)
TIMING_TOHAND =0x200000 --加入手时点(检索、回收等)
TIMING_TODECK =0x400000 --回卡组时点
TIMING_TOGRAVE =0x800000 --进墓地时点
TIMING_BATTLE_PHASE =0x1000000 --战斗阶段时点
......@@ -2130,7 +2130,7 @@ local ac=Duel.AnnounceCardFilter(tp,table.unpack(c28776350.announce_filter))
检查玩家player是否能除外c
●bool Duel.IsPlayerCanSendtoHand(int player, Card c)
检查玩家是否能把c送去手
检查玩家是否能把c送去手
●bool Duel.IsPlayerCanSendtoGrave(int player, Card c)
检查玩家是否能把c送去墓地
......
......@@ -12,8 +12,9 @@ CodeEditForm.mainMenu.menuitem_replace 替换
CodeEditForm.mainMenu.menuitem_setcard 设置卡片库
CodeEditForm.mainMenu.menuitem_help 帮助(&H)
CodeEditForm.mainMenu.menuitem_about 关于
CodeEditForm.mainMenu.menuitem_testlua 语法错误检查
CodeEditForm.mainMenu.menuitem_tools 工具(&T)
CodeEditForm.mainMenu.menuitem_testlua 语法错误检查
CodeEditForm.mainMenu.menuitem_effectcreator 效果生成器
#
DataEditForm.pl_bottom.btn_img 导入图片
DataEditForm.pl_main.splitContainer..lb_types 卡片类型
......@@ -127,7 +128,7 @@ MainForm.mainMenu.menuitem_closeall 关闭所有
0x1e 关于:
0x1f 版本:
0x20 作者:
0x21 数据库文件(*.cdb)|*.cdb|所有文件(*.*)|*.*
0x21 数据库文件(*.cdb)|*.cdb|脚本文件(*.lua)|*.lua|所有文件(*.*)|*.*
0x22 卡组文件(*.ydk)|*.ydk|所有文件(*.*)|*.*
0x23 系列号输入出错!
0x24 选择卡片图像
......@@ -161,7 +162,7 @@ MainForm.mainMenu.menuitem_closeall 关闭所有
0x40 是否对比卡片信息?
0x41 对比完成
0x42 打开文件
0x43 脚本文件(*.lua)|*.lua|所有文件(*.*)|*.*
0x43 脚本文件(*.lua)|*.lua|数据库文件(*.cdb)|*.cdb|所有文件(*.*)|*.*
0x44 新建文件
0x45 保存完成
0x46 是否保存脚本?
......@@ -171,3 +172,4 @@ MainForm.mainMenu.menuitem_closeall 关闭所有
0x4a 从MSE存档导出图片完成。
0x4b 从MSE存档导出图片失败。
0x4c 测试完成,没有发现语法错误。
0x4d 一次性打开大量文件将导致卡顿,是否继续?
......@@ -14,6 +14,9 @@ CodeEditForm.mainMenu.menuitem_help Help(&H)
CodeEditForm.mainMenu.menuitem_about About
DataEditForm.mainMenu.menuitem_autoreturn (*)Text auto return
DataEditForm.mainMenu.menuitem_replace (*)...
CodeEditForm.mainMenu.menuitem_tools Tools(&T)
CodeEditForm.mainMenu.menuitem_testlua Test LUA Script
CodeEditForm.mainMenu.menuitem_effectcreator Effect Creator
#
DataEditForm.pl_bottom.btn_img Import Img
DataEditForm.pl_main.lb_types Card type
......@@ -92,75 +95,77 @@ MainForm.mainMenu.menuitem_closeall Close All
0x1 Error
0x2 Warning
0x3 Question
0x4 Create succeed!
0x5 Create fail!
0x6 Add succeed!
0x7 Add fail!
0x4 Created successfully!
0x5 Creation failed!
0x6 Added successfully!
0x7 Addition failed!
0x8 Code can't be 0!
0x9 It already exists!
0xa It's no changed.
0xb If delete Card(s)?
0xc If create script file?
0xd If open database?
0xe If exists, replace cards?
0xf It's up to date.\nDo you want to download it again?
0x10 Check update fail. Please Check Network.
0x11 Find a new version,\nIf Download it?
0x12 File doesn't exist!
0x13 No selected database!
0x14 select database file
0x15 select ydk file
0x16 selcet image folder
0x17 Download succeed!
0x18 Download fail?
0x9 The card is already existed!
0xa There is no difference between editing card and the card in database.
0xb Delete dard(s)?
0xc Create a script file?
0xd Open the created database?
0xe Replace cards if exists?
0xf You're using the newest version.\nDo you want to download the software again anyway?
0x10 Failed to check the update. Check your network.
0x11 New version found.\nDo you want to proceed an update?
0x12 File not found!
0x13 No database selected!
0x14 Select database file
0x15 Select ydk file
0x16 Selcet image folder
0x17 Download successfully!
0x18 Downloading failed!
0x19 No selected script text!
0x1a Delete succeed!
0x1b Delete fail!
0x1c Modify succeed!
0x1d Modify fail!
0x1a Deleted successfully!
0x1b Deletetion failed!
0x1c Modified successfully!
0x1d Modification failed!
0x1e About :
0x1f Version:
0x20 Author :
0x21 cdb file(*.cdb)|*.cdb|all files(*.*)|*.*
0x21 Databases(*.cdb)|*.cdb|Scripts(*.lua)|*.lua|all files(*.*)|*.*
0x22 ydk file(*.ydk)|*.ydk|all files(*.*)|*.*
0x23 SetCode Input Error?
0x24 Select Image For Card
0x23 Invalid SetCode!
0x24 Select Image File
0x25 jpg(*.jpg)|*.jpg|bmp(*.bmp)|*.bmp|png(*.png)|*.png|all files(*.*)|*.*
0x26 The Task is runing.
0x26 The Task is running.
0x27 Checking Update...
0x28 Copying Database...
0x29 Copy Database OK
0x29 Copied Database successfully.
0x2a Save Mse-set file
0x2b MSE set(*.mse-set)|*.mse-set|all files(*.*)|*.*
0x2c Exporting Mse-set
0x2d Export Mse-set OK
0x2e Cutting Images...
0x2f Cut Images OK
0x30 No Selected Cards
0x31 Replace Image when it exists?
0x2f Cut Images successfully.
0x30 No card selected
0x31 Replace Image while it already exists?
0x32 Converting Images
0x33 Convert Images OK
0x34 Compression DataBase OK
0x35 Only Update Text of Set?
0x36 Task is Canceled
0x37 Task is Paused
0x38 Task is Resume
0x39 Task has Error
0x3a Cancel Task?
0x34 Compression Database OK
0x35 Only update the text of the set?
0x36 Task canceled
0x37 Task paused
0x38 Task resumed
0x39 Task error
0x3a Cancel task?
0x3b Copy
0x3c Paste
0x3d Clear History
0x3e Exporting Data
0x3f Export Data OK
0x40 Compare Cards With Text?
0x41 Cards is Compared.
0x3d Clear history
0x3e Exporting data
0x3f Successfully exported the data.
0x40 Compare cards with text?
0x41 Cards compared.
0x42 Open File
0x43 Script(*.lua)|*.lua|all files(*.*)|*.*
0x43 Scripts(*.lua)|*.lua|Databases(*.cdb)|*.cdb|all files(*.*)|*.*
0x44 New File
0x45 Save OK
0x46 If Save Script?
0x45 Saved Successfully.
0x46 Save Script?
0x47 Read MSE-set
0x48 Read MSE-set is OK.
0x48 Successfully reading MSE-set.
0x49 Please restart program to apply changes.
0x4a Export Mse-set to Images OK.
0x4b Export Mse-set to Images Fail.
0x4a Successfully exported MSE-set to images.
0x4b Failed to export MSE-set to images fail.
0x4c No syntax error found.
0x4d It is not recommended to open lots of file at a time. Continue?
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="DockPanelSuite" version="3.0.6" targetFramework="net46" />
<package id="DockPanelSuite.ThemeVS2015" version="3.0.6" targetFramework="net46" />
<package id="EntityFramework" version="6.4.4" targetFramework="net46" />
<package id="FCTB" version="2.16.24" targetFramework="net46" />
<package id="Microsoft.CSharp" version="4.7.0" targetFramework="net46" />
......@@ -9,5 +11,4 @@
<package id="System.Data.SQLite.Core" version="1.0.113.1" targetFramework="net46" />
<package id="System.Data.SQLite.EF6" version="1.0.113.0" targetFramework="net46" />
<package id="System.Data.SQLite.Linq" version="1.0.113.0" targetFramework="net46" />
<package id="WeifenLuo.WinFormsUI.Docking" version="2.1.0" targetFramework="net46" />
</packages>
\ No newline at end of file
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