Commit 5491a5a2 authored by keyongyu's avatar keyongyu

2.3.0.0

parent 42aea75b
...@@ -231,7 +231,7 @@ private void InitializeComponent() ...@@ -231,7 +231,7 @@ private void InitializeComponent()
this.fctb.Font = new System.Drawing.Font("Consolas", 14.25F); this.fctb.Font = new System.Drawing.Font("Consolas", 14.25F);
this.fctb.ForeColor = System.Drawing.Color.GhostWhite; this.fctb.ForeColor = System.Drawing.Color.GhostWhite;
this.fctb.Hotkeys = resources.GetString("fctb.Hotkeys"); this.fctb.Hotkeys = resources.GetString("fctb.Hotkeys");
this.fctb.IndentBackColor = System.Drawing.SystemColors.WindowFrame; this.fctb.IndentBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.fctb.IsReplaceMode = false; this.fctb.IsReplaceMode = false;
this.fctb.Language = FastColoredTextBoxNS.Language.Lua; this.fctb.Language = FastColoredTextBoxNS.Language.Lua;
this.fctb.LeftBracket = '('; this.fctb.LeftBracket = '(';
......
using System;
using System.Xml;
using System.IO;
using DataEditorX.Common;
using System.Windows.Forms;
using System.Diagnostics;
using System.Reflection;
namespace DataEditorX.Common
{
public class XMLReader
{
#region XML操作config
/// <summary>
/// 保存值
/// </summary>
/// <param name="appKey"></param>
/// <param name="appValue"></param>
public static void Save(string appKey, string appValue)
{
XmlDocument xDoc = new XmlDocument();
xDoc.Load(System.Windows.Forms.Application.ExecutablePath + ".config");
XmlNode xNode = xDoc.SelectSingleNode("//appSettings");
XmlElement xElem = (XmlElement)xNode.SelectSingleNode("//add[@key='" + appKey + "']");
if (xElem != null) //存在,则更新
xElem.SetAttribute("value", appValue);
else//不存在,则插入
{
XmlElement xNewElem = xDoc.CreateElement("add");
xNewElem.SetAttribute("key", appKey);
xNewElem.SetAttribute("value", appValue);
xNode.AppendChild(xNewElem);
}
xDoc.Save(System.Windows.Forms.Application.ExecutablePath + ".config");
}
/// <summary>
/// 获取值
/// </summary>
/// <param name="appKey"></param>
/// <returns></returns>
public static string GetAppConfig(string appKey)
{
XmlDocument xDoc = new XmlDocument();
xDoc.Load(System.Windows.Forms.Application.ExecutablePath + ".config");
XmlNode xNode = xDoc.SelectSingleNode("//appSettings");
XmlElement xElem = (XmlElement)xNode.SelectSingleNode("//add[@key='" + appKey + "']");
if (xElem != null)
{
return xElem.Attributes["value"].Value;
}
return string.Empty;
}
#endregion
}
}
...@@ -11,7 +11,7 @@ namespace DataEditorX.Config ...@@ -11,7 +11,7 @@ namespace DataEditorX.Config
/// <summary> /// <summary>
/// 配置 /// 配置
/// </summary> /// </summary>
public class MyConfig public class MyConfig : XMLReader
{ {
#region 常量 #region 常量
/// <summary> /// <summary>
...@@ -241,53 +241,7 @@ public static bool readBoolean(string key) ...@@ -241,53 +241,7 @@ public static bool readBoolean(string key)
return false; return false;
} }
#endregion #endregion
#region XML操作config
/// <summary>
/// 保存值
/// </summary>
/// <param name="appKey"></param>
/// <param name="appValue"></param>
public static void Save(string appKey, string appValue)
{
XmlDocument xDoc = new XmlDocument();
xDoc.Load(System.Windows.Forms.Application.ExecutablePath + ".config");
XmlNode xNode = xDoc.SelectSingleNode("//appSettings");
XmlElement xElem = (XmlElement)xNode.SelectSingleNode("//add[@key='" + appKey + "']");
if (xElem != null) //存在,则更新
xElem.SetAttribute("value", appValue);
else//不存在,则插入
{
XmlElement xNewElem = xDoc.CreateElement("add");
xNewElem.SetAttribute("key", appKey);
xNewElem.SetAttribute("value", appValue);
xNode.AppendChild(xNewElem);
}
xDoc.Save(System.Windows.Forms.Application.ExecutablePath + ".config");
}
/// <summary>
/// 获取值
/// </summary>
/// <param name="appKey"></param>
/// <returns></returns>
public static string GetAppConfig(string appKey)
{
XmlDocument xDoc = new XmlDocument();
xDoc.Load(System.Windows.Forms.Application.ExecutablePath + ".config");
XmlNode xNode = xDoc.SelectSingleNode("//appSettings");
XmlElement xElem = (XmlElement)xNode.SelectSingleNode("//add[@key='" + appKey + "']");
if (xElem != null)
{
return xElem.Attributes["value"].Value;
}
return string.Empty;
}
#endregion
/// <summary> /// <summary>
/// 语言配置文件名 /// 语言配置文件名
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
* ModiftyDate :2014-02-12 * ModiftyDate :2014-02-12
*/ */
using System; using System;
using System.Globalization;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
using DataEditorX.Core.Info; using DataEditorX.Core.Info;
...@@ -12,6 +13,8 @@ namespace DataEditorX.Core ...@@ -12,6 +13,8 @@ namespace DataEditorX.Core
public struct Card : IEquatable<Card> public struct Card : IEquatable<Card>
{ {
public const int STR_MAX = 0x10; public const int STR_MAX = 0x10;
public const int SETCODE_MAX = 4;
#region 构造 #region 构造
/// <summary> /// <summary>
/// 卡片 /// 卡片
...@@ -20,7 +23,6 @@ public struct Card : IEquatable<Card> ...@@ -20,7 +23,6 @@ public struct Card : IEquatable<Card>
/// <param name="cardName">名字</param> /// <param name="cardName">名字</param>
public Card(long cardCode) public Card(long cardCode)
{ {
this.id = cardCode; this.id = cardCode;
this.name = ""; this.name = "";
this.ot = 0; this.ot = 0;
...@@ -34,18 +36,10 @@ public Card(long cardCode) ...@@ -34,18 +36,10 @@ public Card(long cardCode)
this.attribute = 0; this.attribute = 0;
this.category = 0; this.category = 0;
this.desc = ""; this.desc = "";
int i;
this.str = new string[STR_MAX]; this.str = new string[STR_MAX];
for (i = 0; i < STR_MAX; i++) for (int i = 0; i < STR_MAX; i++)
str[i] = ""; this.str[i] = "";
} }
public void InitStrs()
{
int i;
this.str = new string[STR_MAX];
for (i = 0; i < STR_MAX; i++)
str[i] = "";
}
#endregion #endregion
#region 成员 #region 成员
...@@ -75,9 +69,59 @@ public void InitStrs() ...@@ -75,9 +69,59 @@ public void InitStrs()
public string name; public string name;
/// <summary>描述文本</summary> /// <summary>描述文本</summary>
public string desc; public string desc;
/// <summary>脚本文件组</summary> string[] str;
public string[] str; /// <summary>脚本文件文字</summary>
#endregion public string[] Str
{
get {
if (this.str == null)
{
this.str = new string[STR_MAX];
for (int i = 0; i < STR_MAX; i++)
this.str[i] = "";
}
return this.str;
}
set { this.str = value; }
}
public long[] GetSetCode()
{
long[] setcodes = new long[SETCODE_MAX];
for (int i = 0,k=0; i < SETCODE_MAX; k +=0x10,i++)
{
setcodes[i] = (this.setcode >> k) & 0xffff;
}
return setcodes;
}
public void SetSetCode(params long[] setcodes)
{
int i = 0;
this.setcode = 0;
if (setcodes != null)
{
foreach (long sc in setcodes)
{
this.setcode += (sc << i);
i += 0x10;
}
}
}
public void SetSetCode(params string[] setcodes)
{
int i = 0;
this.setcode = 0;
long temp;
if (setcodes != null)
{
foreach (string sc in setcodes)
{
long.TryParse(sc, NumberStyles.HexNumber, null, out temp);
this.setcode += (temp << i);
i += 0x10;
}
}
}
#endregion
#region 比较、哈希值、操作符 #region 比较、哈希值、操作符
/// <summary> /// <summary>
......
...@@ -146,7 +146,7 @@ static Card ReadCard(SQLiteDataReader reader,bool reNewLine) ...@@ -146,7 +146,7 @@ static Card ReadCard(SQLiteDataReader reader,bool reNewLine)
for ( int i = 0; i < 0x10; i++ ) for ( int i = 0; i < 0x10; i++ )
{ {
temp = reader.GetString(reader.GetOrdinal("str"+(i+1).ToString())); temp = reader.GetString(reader.GetOrdinal("str"+(i+1).ToString()));
c.str[i]= ( temp == null ) ? "":temp; c.Str[i]= ( temp == null ) ? "":temp;
} }
return c; return c;
} }
...@@ -354,8 +354,7 @@ public static string GetInsertSQL(Card c, bool ignore) ...@@ -354,8 +354,7 @@ public static string GetInsertSQL(Card c, bool ignore)
{ {
if (c == null) if (c == null)
return ""; return "";
if (c.str == null)
c.InitStrs();
StringBuilder st = new StringBuilder(); StringBuilder st = new StringBuilder();
if(ignore) if(ignore)
st.Append("INSERT or ignore into datas values("); st.Append("INSERT or ignore into datas values(");
...@@ -381,7 +380,7 @@ public static string GetInsertSQL(Card c, bool ignore) ...@@ -381,7 +380,7 @@ public static string GetInsertSQL(Card c, bool ignore)
st.Append(c.desc.Replace("'", "''")); st.Append(c.desc.Replace("'", "''"));
for ( int i = 0; i < 0x10; i++ ) for ( int i = 0; i < 0x10; i++ )
{ {
st.Append("','"); st.Append(c.str[i].Replace("'", "''")); st.Append("','"); st.Append(c.Str[i].Replace("'", "''"));
} }
st.Append("');"); st.Append("');");
string sql = st.ToString(); string sql = st.ToString();
...@@ -401,8 +400,7 @@ public static string GetUpdateSQL(Card c) ...@@ -401,8 +400,7 @@ public static string GetUpdateSQL(Card c)
StringBuilder st = new StringBuilder(); StringBuilder st = new StringBuilder();
if (c == null) if (c == null)
return ""; return "";
if (c.str == null)
c.InitStrs();
st.Append("update datas set ot="); st.Append(c.ot.ToString()); st.Append("update datas set ot="); st.Append(c.ot.ToString());
st.Append(",alias="); st.Append(c.alias.ToString()); st.Append(",alias="); st.Append(c.alias.ToString());
st.Append(",setcode="); st.Append(c.setcode.ToString()); st.Append(",setcode="); st.Append(c.setcode.ToString());
...@@ -419,7 +417,7 @@ public static string GetUpdateSQL(Card c) ...@@ -419,7 +417,7 @@ public static string GetUpdateSQL(Card c)
for ( int i = 0; i < 0x10; i++ ) for ( int i = 0; i < 0x10; i++ )
{ {
st.Append("str"); st.Append(( i + 1 ).ToString()); st.Append("='"); st.Append("str"); st.Append(( i + 1 ).ToString()); st.Append("='");
st.Append(c.str[i].Replace("'", "''")); st.Append(c.Str[i].Replace("'", "''"));
if ( i < 15 ) if ( i < 15 )
{ {
st.Append("',"); st.Append("',");
......
...@@ -136,7 +136,7 @@ private void InitializeComponent() ...@@ -136,7 +136,7 @@ private void InitializeComponent()
this.menuitem_help}); this.menuitem_help});
this.mainMenu.Location = new System.Drawing.Point(0, 0); this.mainMenu.Location = new System.Drawing.Point(0, 0);
this.mainMenu.Name = "mainMenu"; this.mainMenu.Name = "mainMenu";
this.mainMenu.Size = new System.Drawing.Size(860, 25); this.mainMenu.Size = new System.Drawing.Size(859, 25);
this.mainMenu.TabIndex = 0; this.mainMenu.TabIndex = 0;
this.mainMenu.Text = "mainMenu"; this.mainMenu.Text = "mainMenu";
// //
...@@ -416,7 +416,7 @@ private void InitializeComponent() ...@@ -416,7 +416,7 @@ private void InitializeComponent()
this.cb_cardattribute.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cb_cardattribute.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cb_cardattribute.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.cb_cardattribute.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.cb_cardattribute.FormattingEnabled = true; this.cb_cardattribute.FormattingEnabled = true;
this.cb_cardattribute.Location = new System.Drawing.Point(401, 78); this.cb_cardattribute.Location = new System.Drawing.Point(400, 78);
this.cb_cardattribute.Name = "cb_cardattribute"; this.cb_cardattribute.Name = "cb_cardattribute";
this.cb_cardattribute.Size = new System.Drawing.Size(140, 20); this.cb_cardattribute.Size = new System.Drawing.Size(140, 20);
this.cb_cardattribute.TabIndex = 2; this.cb_cardattribute.TabIndex = 2;
...@@ -424,7 +424,7 @@ private void InitializeComponent() ...@@ -424,7 +424,7 @@ private void InitializeComponent()
// tb_cardname // tb_cardname
// //
this.tb_cardname.Anchor = System.Windows.Forms.AnchorStyles.Top; this.tb_cardname.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.tb_cardname.Location = new System.Drawing.Point(218, 28); this.tb_cardname.Location = new System.Drawing.Point(217, 27);
this.tb_cardname.Name = "tb_cardname"; this.tb_cardname.Name = "tb_cardname";
this.tb_cardname.Size = new System.Drawing.Size(325, 21); this.tb_cardname.Size = new System.Drawing.Size(325, 21);
this.tb_cardname.TabIndex = 4; this.tb_cardname.TabIndex = 4;
...@@ -437,7 +437,7 @@ private void InitializeComponent() ...@@ -437,7 +437,7 @@ private void InitializeComponent()
this.cb_cardrule.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cb_cardrule.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cb_cardrule.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.cb_cardrule.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.cb_cardrule.FormattingEnabled = true; this.cb_cardrule.FormattingEnabled = true;
this.cb_cardrule.Location = new System.Drawing.Point(401, 52); this.cb_cardrule.Location = new System.Drawing.Point(400, 52);
this.cb_cardrule.Name = "cb_cardrule"; this.cb_cardrule.Name = "cb_cardrule";
this.cb_cardrule.Size = new System.Drawing.Size(140, 20); this.cb_cardrule.Size = new System.Drawing.Size(140, 20);
this.cb_cardrule.TabIndex = 2; this.cb_cardrule.TabIndex = 2;
...@@ -448,7 +448,7 @@ private void InitializeComponent() ...@@ -448,7 +448,7 @@ private void InitializeComponent()
this.cb_cardlevel.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cb_cardlevel.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cb_cardlevel.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.cb_cardlevel.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.cb_cardlevel.FormattingEnabled = true; this.cb_cardlevel.FormattingEnabled = true;
this.cb_cardlevel.Location = new System.Drawing.Point(401, 105); this.cb_cardlevel.Location = new System.Drawing.Point(400, 105);
this.cb_cardlevel.Name = "cb_cardlevel"; this.cb_cardlevel.Name = "cb_cardlevel";
this.cb_cardlevel.Size = new System.Drawing.Size(140, 20); this.cb_cardlevel.Size = new System.Drawing.Size(140, 20);
this.cb_cardlevel.TabIndex = 2; this.cb_cardlevel.TabIndex = 2;
...@@ -460,7 +460,7 @@ private void InitializeComponent() ...@@ -460,7 +460,7 @@ private void InitializeComponent()
this.cb_cardrace.DropDownWidth = 107; this.cb_cardrace.DropDownWidth = 107;
this.cb_cardrace.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.cb_cardrace.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.cb_cardrace.FormattingEnabled = true; this.cb_cardrace.FormattingEnabled = true;
this.cb_cardrace.Location = new System.Drawing.Point(401, 130); this.cb_cardrace.Location = new System.Drawing.Point(400, 130);
this.cb_cardrace.Name = "cb_cardrace"; this.cb_cardrace.Name = "cb_cardrace";
this.cb_cardrace.Size = new System.Drawing.Size(140, 20); this.cb_cardrace.Size = new System.Drawing.Size(140, 20);
this.cb_cardrace.TabIndex = 2; this.cb_cardrace.TabIndex = 2;
...@@ -475,7 +475,7 @@ private void InitializeComponent() ...@@ -475,7 +475,7 @@ private void InitializeComponent()
this.cb_setname2.FormattingEnabled = true; this.cb_setname2.FormattingEnabled = true;
this.cb_setname2.IntegralHeight = false; this.cb_setname2.IntegralHeight = false;
this.cb_setname2.ItemHeight = 12; this.cb_setname2.ItemHeight = 12;
this.cb_setname2.Location = new System.Drawing.Point(402, 182); this.cb_setname2.Location = new System.Drawing.Point(401, 182);
this.cb_setname2.Name = "cb_setname2"; this.cb_setname2.Name = "cb_setname2";
this.cb_setname2.Size = new System.Drawing.Size(106, 20); this.cb_setname2.Size = new System.Drawing.Size(106, 20);
this.cb_setname2.TabIndex = 2; this.cb_setname2.TabIndex = 2;
...@@ -491,7 +491,7 @@ private void InitializeComponent() ...@@ -491,7 +491,7 @@ private void InitializeComponent()
this.cb_setname1.FormattingEnabled = true; this.cb_setname1.FormattingEnabled = true;
this.cb_setname1.IntegralHeight = false; this.cb_setname1.IntegralHeight = false;
this.cb_setname1.ItemHeight = 12; this.cb_setname1.ItemHeight = 12;
this.cb_setname1.Location = new System.Drawing.Point(402, 156); this.cb_setname1.Location = new System.Drawing.Point(401, 156);
this.cb_setname1.Name = "cb_setname1"; this.cb_setname1.Name = "cb_setname1";
this.cb_setname1.Size = new System.Drawing.Size(106, 20); this.cb_setname1.Size = new System.Drawing.Size(106, 20);
this.cb_setname1.TabIndex = 2; this.cb_setname1.TabIndex = 2;
...@@ -507,7 +507,7 @@ private void InitializeComponent() ...@@ -507,7 +507,7 @@ private void InitializeComponent()
this.cb_setname4.FormattingEnabled = true; this.cb_setname4.FormattingEnabled = true;
this.cb_setname4.IntegralHeight = false; this.cb_setname4.IntegralHeight = false;
this.cb_setname4.ItemHeight = 12; this.cb_setname4.ItemHeight = 12;
this.cb_setname4.Location = new System.Drawing.Point(402, 234); this.cb_setname4.Location = new System.Drawing.Point(401, 234);
this.cb_setname4.Name = "cb_setname4"; this.cb_setname4.Name = "cb_setname4";
this.cb_setname4.Size = new System.Drawing.Size(106, 20); this.cb_setname4.Size = new System.Drawing.Size(106, 20);
this.cb_setname4.TabIndex = 2; this.cb_setname4.TabIndex = 2;
...@@ -523,7 +523,7 @@ private void InitializeComponent() ...@@ -523,7 +523,7 @@ private void InitializeComponent()
this.cb_setname3.FormattingEnabled = true; this.cb_setname3.FormattingEnabled = true;
this.cb_setname3.IntegralHeight = false; this.cb_setname3.IntegralHeight = false;
this.cb_setname3.ItemHeight = 12; this.cb_setname3.ItemHeight = 12;
this.cb_setname3.Location = new System.Drawing.Point(402, 208); this.cb_setname3.Location = new System.Drawing.Point(401, 208);
this.cb_setname3.Name = "cb_setname3"; this.cb_setname3.Name = "cb_setname3";
this.cb_setname3.Size = new System.Drawing.Size(106, 20); this.cb_setname3.Size = new System.Drawing.Size(106, 20);
this.cb_setname3.TabIndex = 2; this.cb_setname3.TabIndex = 2;
...@@ -535,7 +535,8 @@ private void InitializeComponent() ...@@ -535,7 +535,8 @@ private void InitializeComponent()
this.tb_cardtext.AcceptsTab = true; this.tb_cardtext.AcceptsTab = true;
this.tb_cardtext.Anchor = System.Windows.Forms.AnchorStyles.Top; this.tb_cardtext.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.tb_cardtext.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.tb_cardtext.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.tb_cardtext.Location = new System.Drawing.Point(220, 337); this.tb_cardtext.Location = new System.Drawing.Point(219, 340);
this.tb_cardtext.MaxLength = 5000;
this.tb_cardtext.Multiline = true; this.tb_cardtext.Multiline = true;
this.tb_cardtext.Name = "tb_cardtext"; this.tb_cardtext.Name = "tb_cardtext";
this.tb_cardtext.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.tb_cardtext.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
...@@ -546,7 +547,7 @@ private void InitializeComponent() ...@@ -546,7 +547,7 @@ private void InitializeComponent()
// //
this.tb_edittext.Anchor = System.Windows.Forms.AnchorStyles.Top; this.tb_edittext.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.tb_edittext.HideSelection = false; this.tb_edittext.HideSelection = false;
this.tb_edittext.Location = new System.Drawing.Point(548, 516); this.tb_edittext.Location = new System.Drawing.Point(547, 519);
this.tb_edittext.MaxLength = 2000; this.tb_edittext.MaxLength = 2000;
this.tb_edittext.Name = "tb_edittext"; this.tb_edittext.Name = "tb_edittext";
this.tb_edittext.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.tb_edittext.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
...@@ -559,7 +560,7 @@ private void InitializeComponent() ...@@ -559,7 +560,7 @@ private void InitializeComponent()
this.lb_pleft_right.Anchor = System.Windows.Forms.AnchorStyles.Top; this.lb_pleft_right.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.lb_pleft_right.AutoSize = true; this.lb_pleft_right.AutoSize = true;
this.lb_pleft_right.BackColor = System.Drawing.SystemColors.Control; this.lb_pleft_right.BackColor = System.Drawing.SystemColors.Control;
this.lb_pleft_right.Location = new System.Drawing.Point(222, 318); this.lb_pleft_right.Location = new System.Drawing.Point(221, 321);
this.lb_pleft_right.Name = "lb_pleft_right"; this.lb_pleft_right.Name = "lb_pleft_right";
this.lb_pleft_right.Size = new System.Drawing.Size(41, 12); this.lb_pleft_right.Size = new System.Drawing.Size(41, 12);
this.lb_pleft_right.TabIndex = 7; this.lb_pleft_right.TabIndex = 7;
...@@ -568,7 +569,7 @@ private void InitializeComponent() ...@@ -568,7 +569,7 @@ private void InitializeComponent()
// tb_pleft // tb_pleft
// //
this.tb_pleft.Anchor = System.Windows.Forms.AnchorStyles.Top; this.tb_pleft.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.tb_pleft.Location = new System.Drawing.Point(297, 313); this.tb_pleft.Location = new System.Drawing.Point(296, 316);
this.tb_pleft.MaxLength = 12; this.tb_pleft.MaxLength = 12;
this.tb_pleft.Name = "tb_pleft"; this.tb_pleft.Name = "tb_pleft";
this.tb_pleft.Size = new System.Drawing.Size(38, 21); this.tb_pleft.Size = new System.Drawing.Size(38, 21);
...@@ -579,7 +580,7 @@ private void InitializeComponent() ...@@ -579,7 +580,7 @@ private void InitializeComponent()
// tb_pright // tb_pright
// //
this.tb_pright.Anchor = System.Windows.Forms.AnchorStyles.Top; this.tb_pright.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.tb_pright.Location = new System.Drawing.Point(353, 313); this.tb_pright.Location = new System.Drawing.Point(352, 316);
this.tb_pright.MaxLength = 12; this.tb_pright.MaxLength = 12;
this.tb_pright.Name = "tb_pright"; this.tb_pright.Name = "tb_pright";
this.tb_pright.Size = new System.Drawing.Size(38, 21); this.tb_pright.Size = new System.Drawing.Size(38, 21);
...@@ -591,7 +592,7 @@ private void InitializeComponent() ...@@ -591,7 +592,7 @@ private void InitializeComponent()
// //
this.lb_atkdef.Anchor = System.Windows.Forms.AnchorStyles.Top; this.lb_atkdef.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.lb_atkdef.AutoSize = true; this.lb_atkdef.AutoSize = true;
this.lb_atkdef.Location = new System.Drawing.Point(399, 317); this.lb_atkdef.Location = new System.Drawing.Point(398, 320);
this.lb_atkdef.Name = "lb_atkdef"; this.lb_atkdef.Name = "lb_atkdef";
this.lb_atkdef.Size = new System.Drawing.Size(47, 12); this.lb_atkdef.Size = new System.Drawing.Size(47, 12);
this.lb_atkdef.TabIndex = 7; this.lb_atkdef.TabIndex = 7;
...@@ -601,7 +602,7 @@ private void InitializeComponent() ...@@ -601,7 +602,7 @@ private void InitializeComponent()
// //
this.lb4.Anchor = System.Windows.Forms.AnchorStyles.Top; this.lb4.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.lb4.AutoSize = true; this.lb4.AutoSize = true;
this.lb4.Location = new System.Drawing.Point(102, 548); this.lb4.Location = new System.Drawing.Point(101, 551);
this.lb4.Name = "lb4"; this.lb4.Name = "lb4";
this.lb4.Size = new System.Drawing.Size(11, 12); this.lb4.Size = new System.Drawing.Size(11, 12);
this.lb4.TabIndex = 7; this.lb4.TabIndex = 7;
...@@ -610,7 +611,7 @@ private void InitializeComponent() ...@@ -610,7 +611,7 @@ private void InitializeComponent()
// tb_page // tb_page
// //
this.tb_page.Anchor = System.Windows.Forms.AnchorStyles.Top; this.tb_page.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.tb_page.Location = new System.Drawing.Point(66, 544); this.tb_page.Location = new System.Drawing.Point(65, 547);
this.tb_page.MaxLength = 12; this.tb_page.MaxLength = 12;
this.tb_page.Name = "tb_page"; this.tb_page.Name = "tb_page";
this.tb_page.Size = new System.Drawing.Size(34, 21); this.tb_page.Size = new System.Drawing.Size(34, 21);
...@@ -622,7 +623,7 @@ private void InitializeComponent() ...@@ -622,7 +623,7 @@ private void InitializeComponent()
// tb_pagenum // tb_pagenum
// //
this.tb_pagenum.Anchor = System.Windows.Forms.AnchorStyles.Top; this.tb_pagenum.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.tb_pagenum.Location = new System.Drawing.Point(117, 544); this.tb_pagenum.Location = new System.Drawing.Point(116, 547);
this.tb_pagenum.MaxLength = 12; this.tb_pagenum.MaxLength = 12;
this.tb_pagenum.Name = "tb_pagenum"; this.tb_pagenum.Name = "tb_pagenum";
this.tb_pagenum.ReadOnly = true; this.tb_pagenum.ReadOnly = true;
...@@ -634,7 +635,7 @@ private void InitializeComponent() ...@@ -634,7 +635,7 @@ private void InitializeComponent()
// btn_PageUp // btn_PageUp
// //
this.btn_PageUp.Anchor = System.Windows.Forms.AnchorStyles.Top; this.btn_PageUp.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.btn_PageUp.Location = new System.Drawing.Point(0, 540); this.btn_PageUp.Location = new System.Drawing.Point(-1, 543);
this.btn_PageUp.Name = "btn_PageUp"; this.btn_PageUp.Name = "btn_PageUp";
this.btn_PageUp.Size = new System.Drawing.Size(64, 27); this.btn_PageUp.Size = new System.Drawing.Size(64, 27);
this.btn_PageUp.TabIndex = 5; this.btn_PageUp.TabIndex = 5;
...@@ -645,7 +646,7 @@ private void InitializeComponent() ...@@ -645,7 +646,7 @@ private void InitializeComponent()
// btn_PageDown // btn_PageDown
// //
this.btn_PageDown.Anchor = System.Windows.Forms.AnchorStyles.Top; this.btn_PageDown.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.btn_PageDown.Location = new System.Drawing.Point(153, 540); this.btn_PageDown.Location = new System.Drawing.Point(152, 543);
this.btn_PageDown.Name = "btn_PageDown"; this.btn_PageDown.Name = "btn_PageDown";
this.btn_PageDown.Size = new System.Drawing.Size(64, 27); this.btn_PageDown.Size = new System.Drawing.Size(64, 27);
this.btn_PageDown.TabIndex = 5; this.btn_PageDown.TabIndex = 5;
...@@ -656,7 +657,7 @@ private void InitializeComponent() ...@@ -656,7 +657,7 @@ private void InitializeComponent()
// btn_add // btn_add
// //
this.btn_add.Anchor = System.Windows.Forms.AnchorStyles.Top; this.btn_add.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.btn_add.Location = new System.Drawing.Point(548, 539); this.btn_add.Location = new System.Drawing.Point(547, 542);
this.btn_add.Name = "btn_add"; this.btn_add.Name = "btn_add";
this.btn_add.Size = new System.Drawing.Size(75, 28); this.btn_add.Size = new System.Drawing.Size(75, 28);
this.btn_add.TabIndex = 5; this.btn_add.TabIndex = 5;
...@@ -668,7 +669,7 @@ private void InitializeComponent() ...@@ -668,7 +669,7 @@ private void InitializeComponent()
// //
this.lb5.Anchor = System.Windows.Forms.AnchorStyles.Top; this.lb5.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.lb5.AutoSize = true; this.lb5.AutoSize = true;
this.lb5.Location = new System.Drawing.Point(492, 316); this.lb5.Location = new System.Drawing.Point(491, 319);
this.lb5.Name = "lb5"; this.lb5.Name = "lb5";
this.lb5.Size = new System.Drawing.Size(11, 12); this.lb5.Size = new System.Drawing.Size(11, 12);
this.lb5.TabIndex = 7; this.lb5.TabIndex = 7;
...@@ -677,7 +678,7 @@ private void InitializeComponent() ...@@ -677,7 +678,7 @@ private void InitializeComponent()
// tb_atk // tb_atk
// //
this.tb_atk.Anchor = System.Windows.Forms.AnchorStyles.Top; this.tb_atk.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.tb_atk.Location = new System.Drawing.Point(452, 312); this.tb_atk.Location = new System.Drawing.Point(451, 315);
this.tb_atk.MaxLength = 12; this.tb_atk.MaxLength = 12;
this.tb_atk.Name = "tb_atk"; this.tb_atk.Name = "tb_atk";
this.tb_atk.Size = new System.Drawing.Size(38, 21); this.tb_atk.Size = new System.Drawing.Size(38, 21);
...@@ -688,7 +689,7 @@ private void InitializeComponent() ...@@ -688,7 +689,7 @@ private void InitializeComponent()
// tb_def // tb_def
// //
this.tb_def.Anchor = System.Windows.Forms.AnchorStyles.Top; this.tb_def.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.tb_def.Location = new System.Drawing.Point(504, 312); this.tb_def.Location = new System.Drawing.Point(503, 315);
this.tb_def.MaxLength = 12; this.tb_def.MaxLength = 12;
this.tb_def.Name = "tb_def"; this.tb_def.Name = "tb_def";
this.tb_def.Size = new System.Drawing.Size(38, 21); this.tb_def.Size = new System.Drawing.Size(38, 21);
...@@ -699,7 +700,7 @@ private void InitializeComponent() ...@@ -699,7 +700,7 @@ private void InitializeComponent()
// tb_cardcode // tb_cardcode
// //
this.tb_cardcode.Anchor = System.Windows.Forms.AnchorStyles.Top; this.tb_cardcode.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.tb_cardcode.Location = new System.Drawing.Point(474, 285); this.tb_cardcode.Location = new System.Drawing.Point(473, 286);
this.tb_cardcode.MaxLength = 12; this.tb_cardcode.MaxLength = 12;
this.tb_cardcode.Name = "tb_cardcode"; this.tb_cardcode.Name = "tb_cardcode";
this.tb_cardcode.Size = new System.Drawing.Size(68, 21); this.tb_cardcode.Size = new System.Drawing.Size(68, 21);
...@@ -712,7 +713,7 @@ private void InitializeComponent() ...@@ -712,7 +713,7 @@ private void InitializeComponent()
// //
this.lb_cardalias.Anchor = System.Windows.Forms.AnchorStyles.Top; this.lb_cardalias.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.lb_cardalias.AutoSize = true; this.lb_cardalias.AutoSize = true;
this.lb_cardalias.Location = new System.Drawing.Point(405, 262); this.lb_cardalias.Location = new System.Drawing.Point(404, 263);
this.lb_cardalias.Name = "lb_cardalias"; this.lb_cardalias.Name = "lb_cardalias";
this.lb_cardalias.Size = new System.Drawing.Size(65, 12); this.lb_cardalias.Size = new System.Drawing.Size(65, 12);
this.lb_cardalias.TabIndex = 7; this.lb_cardalias.TabIndex = 7;
...@@ -721,7 +722,7 @@ private void InitializeComponent() ...@@ -721,7 +722,7 @@ private void InitializeComponent()
// tb_cardalias // tb_cardalias
// //
this.tb_cardalias.Anchor = System.Windows.Forms.AnchorStyles.Top; this.tb_cardalias.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.tb_cardalias.Location = new System.Drawing.Point(474, 259); this.tb_cardalias.Location = new System.Drawing.Point(473, 260);
this.tb_cardalias.MaxLength = 12; this.tb_cardalias.MaxLength = 12;
this.tb_cardalias.Name = "tb_cardalias"; this.tb_cardalias.Name = "tb_cardalias";
this.tb_cardalias.Size = new System.Drawing.Size(67, 21); this.tb_cardalias.Size = new System.Drawing.Size(67, 21);
...@@ -732,7 +733,7 @@ private void InitializeComponent() ...@@ -732,7 +733,7 @@ private void InitializeComponent()
// btn_mod // btn_mod
// //
this.btn_mod.Anchor = System.Windows.Forms.AnchorStyles.Top; this.btn_mod.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.btn_mod.Location = new System.Drawing.Point(627, 539); this.btn_mod.Location = new System.Drawing.Point(626, 542);
this.btn_mod.Name = "btn_mod"; this.btn_mod.Name = "btn_mod";
this.btn_mod.Size = new System.Drawing.Size(75, 28); this.btn_mod.Size = new System.Drawing.Size(75, 28);
this.btn_mod.TabIndex = 5; this.btn_mod.TabIndex = 5;
...@@ -744,7 +745,7 @@ private void InitializeComponent() ...@@ -744,7 +745,7 @@ private void InitializeComponent()
// //
this.btn_del.Anchor = System.Windows.Forms.AnchorStyles.Top; this.btn_del.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.btn_del.ForeColor = System.Drawing.Color.DarkRed; this.btn_del.ForeColor = System.Drawing.Color.DarkRed;
this.btn_del.Location = new System.Drawing.Point(783, 539); this.btn_del.Location = new System.Drawing.Point(782, 542);
this.btn_del.Name = "btn_del"; this.btn_del.Name = "btn_del";
this.btn_del.Size = new System.Drawing.Size(75, 28); this.btn_del.Size = new System.Drawing.Size(75, 28);
this.btn_del.TabIndex = 5; this.btn_del.TabIndex = 5;
...@@ -756,7 +757,7 @@ private void InitializeComponent() ...@@ -756,7 +757,7 @@ private void InitializeComponent()
// //
this.btn_lua.Anchor = System.Windows.Forms.AnchorStyles.Top; this.btn_lua.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.btn_lua.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0))))); this.btn_lua.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
this.btn_lua.Location = new System.Drawing.Point(465, 539); this.btn_lua.Location = new System.Drawing.Point(464, 542);
this.btn_lua.Name = "btn_lua"; this.btn_lua.Name = "btn_lua";
this.btn_lua.Size = new System.Drawing.Size(80, 28); this.btn_lua.Size = new System.Drawing.Size(80, 28);
this.btn_lua.TabIndex = 5; this.btn_lua.TabIndex = 5;
...@@ -767,7 +768,7 @@ private void InitializeComponent() ...@@ -767,7 +768,7 @@ private void InitializeComponent()
// btn_reset // btn_reset
// //
this.btn_reset.Anchor = System.Windows.Forms.AnchorStyles.Top; this.btn_reset.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.btn_reset.Location = new System.Drawing.Point(301, 539); this.btn_reset.Location = new System.Drawing.Point(300, 542);
this.btn_reset.Name = "btn_reset"; this.btn_reset.Name = "btn_reset";
this.btn_reset.Size = new System.Drawing.Size(80, 28); this.btn_reset.Size = new System.Drawing.Size(80, 28);
this.btn_reset.TabIndex = 5; this.btn_reset.TabIndex = 5;
...@@ -778,7 +779,7 @@ private void InitializeComponent() ...@@ -778,7 +779,7 @@ private void InitializeComponent()
// btn_serach // btn_serach
// //
this.btn_serach.Anchor = System.Windows.Forms.AnchorStyles.Top; this.btn_serach.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.btn_serach.Location = new System.Drawing.Point(219, 539); this.btn_serach.Location = new System.Drawing.Point(218, 542);
this.btn_serach.Name = "btn_serach"; this.btn_serach.Name = "btn_serach";
this.btn_serach.Size = new System.Drawing.Size(80, 28); this.btn_serach.Size = new System.Drawing.Size(80, 28);
this.btn_serach.TabIndex = 0; this.btn_serach.TabIndex = 0;
...@@ -790,10 +791,11 @@ private void InitializeComponent() ...@@ -790,10 +791,11 @@ private void InitializeComponent()
// //
this.lb_categorys.Anchor = System.Windows.Forms.AnchorStyles.Top; this.lb_categorys.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.lb_categorys.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); this.lb_categorys.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.lb_categorys.Location = new System.Drawing.Point(548, 172); this.lb_categorys.Location = new System.Drawing.Point(547, 155);
this.lb_categorys.Margin = new System.Windows.Forms.Padding(3, 3, 3, 0); this.lb_categorys.Margin = new System.Windows.Forms.Padding(3, 3, 3, 0);
this.lb_categorys.Name = "lb_categorys"; this.lb_categorys.Name = "lb_categorys";
this.lb_categorys.Size = new System.Drawing.Size(310, 18); this.lb_categorys.Padding = new System.Windows.Forms.Padding(4, 0, 0, 0);
this.lb_categorys.Size = new System.Drawing.Size(310, 20);
this.lb_categorys.TabIndex = 11; this.lb_categorys.TabIndex = 11;
this.lb_categorys.Text = "Card Categorys"; this.lb_categorys.Text = "Card Categorys";
this.lb_categorys.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.lb_categorys.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
...@@ -802,7 +804,7 @@ private void InitializeComponent() ...@@ -802,7 +804,7 @@ private void InitializeComponent()
// //
this.lb2.Anchor = System.Windows.Forms.AnchorStyles.Top; this.lb2.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.lb2.AutoSize = true; this.lb2.AutoSize = true;
this.lb2.Location = new System.Drawing.Point(339, 317); this.lb2.Location = new System.Drawing.Point(338, 320);
this.lb2.Name = "lb2"; this.lb2.Name = "lb2";
this.lb2.Size = new System.Drawing.Size(11, 12); this.lb2.Size = new System.Drawing.Size(11, 12);
this.lb2.TabIndex = 7; this.lb2.TabIndex = 7;
...@@ -815,7 +817,7 @@ private void InitializeComponent() ...@@ -815,7 +817,7 @@ private void InitializeComponent()
this.pl_image.BackColor = System.Drawing.SystemColors.ButtonHighlight; this.pl_image.BackColor = System.Drawing.SystemColors.ButtonHighlight;
this.pl_image.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; this.pl_image.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
this.pl_image.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.pl_image.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.pl_image.Location = new System.Drawing.Point(218, 52); this.pl_image.Location = new System.Drawing.Point(217, 52);
this.pl_image.Name = "pl_image"; this.pl_image.Name = "pl_image";
this.pl_image.Size = new System.Drawing.Size(179, 256); this.pl_image.Size = new System.Drawing.Size(179, 256);
this.pl_image.TabIndex = 14; this.pl_image.TabIndex = 14;
...@@ -827,10 +829,11 @@ private void InitializeComponent() ...@@ -827,10 +829,11 @@ private void InitializeComponent()
// //
this.lb_types.Anchor = System.Windows.Forms.AnchorStyles.Top; this.lb_types.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.lb_types.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); this.lb_types.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.lb_types.Location = new System.Drawing.Point(548, 28); this.lb_types.Location = new System.Drawing.Point(547, 27);
this.lb_types.Margin = new System.Windows.Forms.Padding(3, 3, 3, 0); this.lb_types.Margin = new System.Windows.Forms.Padding(3, 3, 3, 0);
this.lb_types.Name = "lb_types"; this.lb_types.Name = "lb_types";
this.lb_types.Size = new System.Drawing.Size(310, 18); this.lb_types.Padding = new System.Windows.Forms.Padding(4, 0, 0, 0);
this.lb_types.Size = new System.Drawing.Size(310, 20);
this.lb_types.TabIndex = 11; this.lb_types.TabIndex = 11;
this.lb_types.Text = "Card Types"; this.lb_types.Text = "Card Types";
this.lb_types.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.lb_types.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
...@@ -839,10 +842,11 @@ private void InitializeComponent() ...@@ -839,10 +842,11 @@ private void InitializeComponent()
// //
this.lb_tiptexts.Anchor = System.Windows.Forms.AnchorStyles.Top; this.lb_tiptexts.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.lb_tiptexts.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); this.lb_tiptexts.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.lb_tiptexts.Location = new System.Drawing.Point(548, 366); this.lb_tiptexts.Location = new System.Drawing.Point(547, 342);
this.lb_tiptexts.Margin = new System.Windows.Forms.Padding(3, 3, 3, 0); this.lb_tiptexts.Margin = new System.Windows.Forms.Padding(3, 3, 3, 0);
this.lb_tiptexts.Name = "lb_tiptexts"; this.lb_tiptexts.Name = "lb_tiptexts";
this.lb_tiptexts.Size = new System.Drawing.Size(310, 18); this.lb_tiptexts.Padding = new System.Windows.Forms.Padding(4, 0, 0, 0);
this.lb_tiptexts.Size = new System.Drawing.Size(310, 20);
this.lb_tiptexts.TabIndex = 11; this.lb_tiptexts.TabIndex = 11;
this.lb_tiptexts.Text = "Tips Texts"; this.lb_tiptexts.Text = "Tips Texts";
this.lb_tiptexts.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.lb_tiptexts.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
...@@ -858,7 +862,7 @@ private void InitializeComponent() ...@@ -858,7 +862,7 @@ private void InitializeComponent()
// btn_undo // btn_undo
// //
this.btn_undo.Anchor = System.Windows.Forms.AnchorStyles.Top; this.btn_undo.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.btn_undo.Location = new System.Drawing.Point(705, 539); this.btn_undo.Location = new System.Drawing.Point(704, 542);
this.btn_undo.Name = "btn_undo"; this.btn_undo.Name = "btn_undo";
this.btn_undo.Size = new System.Drawing.Size(75, 28); this.btn_undo.Size = new System.Drawing.Size(75, 28);
this.btn_undo.TabIndex = 5; this.btn_undo.TabIndex = 5;
...@@ -869,7 +873,7 @@ private void InitializeComponent() ...@@ -869,7 +873,7 @@ private void InitializeComponent()
// btn_img // btn_img
// //
this.btn_img.Anchor = System.Windows.Forms.AnchorStyles.Top; this.btn_img.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.btn_img.Location = new System.Drawing.Point(383, 539); this.btn_img.Location = new System.Drawing.Point(382, 542);
this.btn_img.Name = "btn_img"; this.btn_img.Name = "btn_img";
this.btn_img.Size = new System.Drawing.Size(80, 28); this.btn_img.Size = new System.Drawing.Size(80, 28);
this.btn_img.TabIndex = 17; this.btn_img.TabIndex = 17;
...@@ -880,7 +884,7 @@ private void InitializeComponent() ...@@ -880,7 +884,7 @@ private void InitializeComponent()
// tb_setcode1 // tb_setcode1
// //
this.tb_setcode1.Anchor = System.Windows.Forms.AnchorStyles.Top; this.tb_setcode1.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.tb_setcode1.Location = new System.Drawing.Point(512, 156); this.tb_setcode1.Location = new System.Drawing.Point(511, 156);
this.tb_setcode1.MaxLength = 4; this.tb_setcode1.MaxLength = 4;
this.tb_setcode1.Name = "tb_setcode1"; this.tb_setcode1.Name = "tb_setcode1";
this.tb_setcode1.Size = new System.Drawing.Size(30, 21); this.tb_setcode1.Size = new System.Drawing.Size(30, 21);
...@@ -892,7 +896,7 @@ private void InitializeComponent() ...@@ -892,7 +896,7 @@ private void InitializeComponent()
// tb_setcode2 // tb_setcode2
// //
this.tb_setcode2.Anchor = System.Windows.Forms.AnchorStyles.Top; this.tb_setcode2.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.tb_setcode2.Location = new System.Drawing.Point(512, 182); this.tb_setcode2.Location = new System.Drawing.Point(511, 182);
this.tb_setcode2.MaxLength = 4; this.tb_setcode2.MaxLength = 4;
this.tb_setcode2.Name = "tb_setcode2"; this.tb_setcode2.Name = "tb_setcode2";
this.tb_setcode2.Size = new System.Drawing.Size(30, 21); this.tb_setcode2.Size = new System.Drawing.Size(30, 21);
...@@ -904,7 +908,7 @@ private void InitializeComponent() ...@@ -904,7 +908,7 @@ private void InitializeComponent()
// tb_setcode3 // tb_setcode3
// //
this.tb_setcode3.Anchor = System.Windows.Forms.AnchorStyles.Top; this.tb_setcode3.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.tb_setcode3.Location = new System.Drawing.Point(512, 208); this.tb_setcode3.Location = new System.Drawing.Point(511, 208);
this.tb_setcode3.MaxLength = 4; this.tb_setcode3.MaxLength = 4;
this.tb_setcode3.Name = "tb_setcode3"; this.tb_setcode3.Name = "tb_setcode3";
this.tb_setcode3.Size = new System.Drawing.Size(30, 21); this.tb_setcode3.Size = new System.Drawing.Size(30, 21);
...@@ -916,7 +920,7 @@ private void InitializeComponent() ...@@ -916,7 +920,7 @@ private void InitializeComponent()
// tb_setcode4 // tb_setcode4
// //
this.tb_setcode4.Anchor = System.Windows.Forms.AnchorStyles.Top; this.tb_setcode4.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.tb_setcode4.Location = new System.Drawing.Point(512, 234); this.tb_setcode4.Location = new System.Drawing.Point(511, 234);
this.tb_setcode4.MaxLength = 4; this.tb_setcode4.MaxLength = 4;
this.tb_setcode4.Name = "tb_setcode4"; this.tb_setcode4.Name = "tb_setcode4";
this.tb_setcode4.Size = new System.Drawing.Size(30, 21); this.tb_setcode4.Size = new System.Drawing.Size(30, 21);
...@@ -929,7 +933,7 @@ private void InitializeComponent() ...@@ -929,7 +933,7 @@ private void InitializeComponent()
// //
this.lb_cardcode.Anchor = System.Windows.Forms.AnchorStyles.Top; this.lb_cardcode.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.lb_cardcode.AutoSize = true; this.lb_cardcode.AutoSize = true;
this.lb_cardcode.Location = new System.Drawing.Point(405, 290); this.lb_cardcode.Location = new System.Drawing.Point(404, 291);
this.lb_cardcode.Name = "lb_cardcode"; this.lb_cardcode.Name = "lb_cardcode";
this.lb_cardcode.Size = new System.Drawing.Size(59, 12); this.lb_cardcode.Size = new System.Drawing.Size(59, 12);
this.lb_cardcode.TabIndex = 7; this.lb_cardcode.TabIndex = 7;
...@@ -940,11 +944,11 @@ private void InitializeComponent() ...@@ -940,11 +944,11 @@ private void InitializeComponent()
this.pl_category.Anchor = System.Windows.Forms.AnchorStyles.Top; this.pl_category.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.pl_category.AutoScroll = true; this.pl_category.AutoScroll = true;
this.pl_category.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.pl_category.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.pl_category.Location = new System.Drawing.Point(548, 191); this.pl_category.Location = new System.Drawing.Point(547, 176);
this.pl_category.Margin = new System.Windows.Forms.Padding(1, 2, 1, 2); this.pl_category.Margin = new System.Windows.Forms.Padding(1, 2, 1, 2);
this.pl_category.Name = "pl_category"; this.pl_category.Name = "pl_category";
this.pl_category.Padding = new System.Windows.Forms.Padding(2); this.pl_category.Padding = new System.Windows.Forms.Padding(2);
this.pl_category.Size = new System.Drawing.Size(310, 174); this.pl_category.Size = new System.Drawing.Size(310, 165);
this.pl_category.TabIndex = 13; this.pl_category.TabIndex = 13;
// //
// pl_cardtype // pl_cardtype
...@@ -952,25 +956,25 @@ private void InitializeComponent() ...@@ -952,25 +956,25 @@ private void InitializeComponent()
this.pl_cardtype.Anchor = System.Windows.Forms.AnchorStyles.Top; this.pl_cardtype.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.pl_cardtype.AutoScroll = true; this.pl_cardtype.AutoScroll = true;
this.pl_cardtype.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.pl_cardtype.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.pl_cardtype.Location = new System.Drawing.Point(548, 47); this.pl_cardtype.Location = new System.Drawing.Point(547, 48);
this.pl_cardtype.Margin = new System.Windows.Forms.Padding(1, 2, 1, 2); this.pl_cardtype.Margin = new System.Windows.Forms.Padding(1, 2, 1, 2);
this.pl_cardtype.Name = "pl_cardtype"; this.pl_cardtype.Name = "pl_cardtype";
this.pl_cardtype.Padding = new System.Windows.Forms.Padding(2); this.pl_cardtype.Padding = new System.Windows.Forms.Padding(2);
this.pl_cardtype.Size = new System.Drawing.Size(310, 123); this.pl_cardtype.Size = new System.Drawing.Size(310, 106);
this.pl_cardtype.TabIndex = 12; this.pl_cardtype.TabIndex = 12;
// //
// lb_scripttext // lb_scripttext
// //
this.lb_scripttext.Anchor = System.Windows.Forms.AnchorStyles.Top; this.lb_scripttext.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.lb_scripttext.BorderStyle = System.Windows.Forms.BorderStyle.None; this.lb_scripttext.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.lb_scripttext.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.lb_scripttext.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lb_scripttext.FormattingEnabled = true; this.lb_scripttext.FormattingEnabled = true;
this.lb_scripttext.IntegralHeight = false; this.lb_scripttext.IntegralHeight = false;
this.lb_scripttext.ItemHeight = 17; this.lb_scripttext.ItemHeight = 12;
this.lb_scripttext.Location = new System.Drawing.Point(548, 387); this.lb_scripttext.Location = new System.Drawing.Point(547, 364);
this.lb_scripttext.Name = "lb_scripttext"; this.lb_scripttext.Name = "lb_scripttext";
this.lb_scripttext.ScrollAlwaysVisible = true; this.lb_scripttext.ScrollAlwaysVisible = true;
this.lb_scripttext.Size = new System.Drawing.Size(310, 126); this.lb_scripttext.Size = new System.Drawing.Size(310, 154);
this.lb_scripttext.TabIndex = 6; this.lb_scripttext.TabIndex = 6;
this.lb_scripttext.SelectedIndexChanged += new System.EventHandler(this.Lb_scripttextSelectedIndexChanged); this.lb_scripttext.SelectedIndexChanged += new System.EventHandler(this.Lb_scripttextSelectedIndexChanged);
// //
...@@ -985,11 +989,11 @@ private void InitializeComponent() ...@@ -985,11 +989,11 @@ private void InitializeComponent()
this.lv_cardlist.GridLines = true; this.lv_cardlist.GridLines = true;
this.lv_cardlist.HideSelection = false; this.lv_cardlist.HideSelection = false;
this.lv_cardlist.LabelWrap = false; this.lv_cardlist.LabelWrap = false;
this.lv_cardlist.Location = new System.Drawing.Point(0, 27); this.lv_cardlist.Location = new System.Drawing.Point(-1, 27);
this.lv_cardlist.Name = "lv_cardlist"; this.lv_cardlist.Name = "lv_cardlist";
this.lv_cardlist.Scrollable = false; this.lv_cardlist.Scrollable = false;
this.lv_cardlist.ShowItemToolTips = true; this.lv_cardlist.ShowItemToolTips = true;
this.lv_cardlist.Size = new System.Drawing.Size(216, 510); this.lv_cardlist.Size = new System.Drawing.Size(216, 514);
this.lv_cardlist.TabIndex = 1; this.lv_cardlist.TabIndex = 1;
this.lv_cardlist.UseCompatibleStateImageBehavior = false; this.lv_cardlist.UseCompatibleStateImageBehavior = false;
this.lv_cardlist.View = System.Windows.Forms.View.Details; this.lv_cardlist.View = System.Windows.Forms.View.Details;
...@@ -1009,7 +1013,7 @@ private void InitializeComponent() ...@@ -1009,7 +1013,7 @@ private void InitializeComponent()
// DataEditForm // DataEditForm
// //
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(860, 568); this.ClientSize = new System.Drawing.Size(859, 572);
this.Controls.Add(this.tb_setcode4); this.Controls.Add(this.tb_setcode4);
this.Controls.Add(this.tb_setcode3); this.Controls.Add(this.tb_setcode3);
this.Controls.Add(this.tb_setcode2); this.Controls.Add(this.tb_setcode2);
......
...@@ -278,16 +278,11 @@ void InitCheckPanel(FlowLayoutPanel fpanel, Dictionary<long, string> dic) ...@@ -278,16 +278,11 @@ void InitCheckPanel(FlowLayoutPanel fpanel, Dictionary<long, string> dic)
_cbox.Text = dic[key]; _cbox.Text = dic[key];
_cbox.AutoSize = true; _cbox.AutoSize = true;
_cbox.Margin = fpanel.Margin; _cbox.Margin = fpanel.Margin;
_cbox.Click += PanelOnCheckClick; //_cbox.Click += PanelOnCheckClick;
fpanel.Controls.Add(_cbox); fpanel.Controls.Add(_cbox);
} }
fpanel.ResumeLayout(false); fpanel.ResumeLayout(false);
fpanel.PerformLayout(); fpanel.PerformLayout();
}
//FlowLayoutPanel点击CheckBox
void PanelOnCheckClick(object sender, EventArgs e)
{
} }
//初始化ComboBox //初始化ComboBox
void InitComboBox(ComboBox cb, Dictionary<long, string> tempdic) void InitComboBox(ComboBox cb, Dictionary<long, string> tempdic)
...@@ -325,10 +320,10 @@ void InitListRows() ...@@ -325,10 +320,10 @@ void InitListRows()
MaxRow = 20; MaxRow = 20;
} }
//设置checkbox //设置checkbox
string SetCheck(FlowLayoutPanel fpl, long number) void SetCheck(FlowLayoutPanel fpl, long number)
{ {
long temp; long temp;
string strType = ""; //string strType = "";
foreach (Control c in fpl.Controls) foreach (Control c in fpl.Controls)
{ {
if (c is CheckBox) if (c is CheckBox)
...@@ -342,13 +337,13 @@ string SetCheck(FlowLayoutPanel fpl, long number) ...@@ -342,13 +337,13 @@ string SetCheck(FlowLayoutPanel fpl, long number)
if ((temp & number) == temp && temp != 0) if ((temp & number) == temp && temp != 0)
{ {
cbox.Checked = true; cbox.Checked = true;
strType += "/" + c.Text; //strType += "/" + c.Text;
} }
else else
cbox.Checked = false; cbox.Checked = false;
} }
} }
return strType; //return strType;
} }
//设置combobox //设置combobox
void SetSelect(ComboBox cb, long k) void SetSelect(ComboBox cb, long k)
...@@ -453,15 +448,14 @@ public Card GetOldCard() ...@@ -453,15 +448,14 @@ public Card GetOldCard()
public void SetCard(Card c) public void SetCard(Card c)
{ {
oldCard = c; oldCard = c;
if (c.str == null)
c.InitStrs();
tb_cardname.Text = c.name; tb_cardname.Text = c.name;
tb_cardtext.Text = c.desc; tb_cardtext.Text = c.desc;
strs = new string[c.str.Length]; strs = new string[c.Str.Length];
Array.Copy(c.str, strs, c.str.Length); Array.Copy(c.Str, strs, Card.STR_MAX);
lb_scripttext.Items.Clear(); lb_scripttext.Items.Clear();
lb_scripttext.Items.AddRange(c.str); lb_scripttext.Items.AddRange(c.Str);
tb_edittext.Text = ""; tb_edittext.Text = "";
//data //data
SetSelect(cb_cardrule, c.ot); SetSelect(cb_cardrule, c.ot);
...@@ -469,18 +463,11 @@ public void SetCard(Card c) ...@@ -469,18 +463,11 @@ public void SetCard(Card c)
SetSelect(cb_cardlevel, (c.level & 0xff)); SetSelect(cb_cardlevel, (c.level & 0xff));
SetSelect(cb_cardrace, c.race); SetSelect(cb_cardrace, c.race);
//setcode //setcode
long sc1 = c.setcode & 0xffff; long[] setcodes = c.GetSetCode();
long sc2 = (c.setcode >> 0x10) & 0xffff; tb_setcode1.Text = setcodes[0].ToString("x");
long sc3 = (c.setcode >> 0x20) & 0xffff; tb_setcode2.Text = setcodes[1].ToString("x");
long sc4 = (c.setcode >> 0x30) & 0xffff; tb_setcode3.Text = setcodes[2].ToString("x");
tb_setcode1.Text = sc1.ToString("x"); tb_setcode4.Text = setcodes[3].ToString("x");
tb_setcode2.Text = sc2.ToString("x");
tb_setcode3.Text = sc3.ToString("x");
tb_setcode4.Text = sc4.ToString("x");
//SetSelect(cb_setname1, sc1);
//SetSelect(cb_setname2, sc2);
//SetSelect(cb_setname3, sc3);
//SetSelect(cb_setname4, sc4);
//type,category //type,category
SetCheck(pl_cardtype, c.type); SetCheck(pl_cardtype, c.type);
SetCheck(pl_category, c.category); SetCheck(pl_category, c.category);
...@@ -504,23 +491,18 @@ public Card GetCard() ...@@ -504,23 +491,18 @@ public Card GetCard()
c.name = tb_cardname.Text; c.name = tb_cardname.Text;
c.desc = tb_cardtext.Text; c.desc = tb_cardtext.Text;
Array.Copy(strs, c.str, c.str.Length); Array.Copy(strs, c.Str, Card.STR_MAX);
c.ot = (int)GetSelect(cb_cardrule); c.ot = (int)GetSelect(cb_cardrule);
c.attribute = (int)GetSelect(cb_cardattribute); c.attribute = (int)GetSelect(cb_cardattribute);
c.level = (int)GetSelect(cb_cardlevel); c.level = (int)GetSelect(cb_cardlevel);
c.race = (int)GetSelect(cb_cardrace); c.race = (int)GetSelect(cb_cardrace);
//系列
//setcode c.SetSetCode(
int.TryParse(tb_setcode1.Text, NumberStyles.HexNumber, null, out temp); tb_setcode1.Text,
c.setcode = temp; tb_setcode2.Text,
int.TryParse(tb_setcode2.Text, NumberStyles.HexNumber, null, out temp); tb_setcode3.Text,
c.setcode += ((long)temp << 0x10); tb_setcode4.Text);
int.TryParse(tb_setcode3.Text, NumberStyles.HexNumber, null, out temp);
c.setcode += ((long)temp << 0x20);
int.TryParse(tb_setcode4.Text, NumberStyles.HexNumber, null, out temp);
c.setcode += ((long)temp << 0x30);
//c.setcode = getSetcodeByText();
c.type = GetCheck(pl_cardtype); c.type = GetCheck(pl_cardtype);
c.category = GetCheck(pl_category); c.category = GetCheck(pl_category);
......
...@@ -69,6 +69,7 @@ ...@@ -69,6 +69,7 @@
</Compile> </Compile>
<Compile Include="Common\CheckUpdate.cs" /> <Compile Include="Common\CheckUpdate.cs" />
<Compile Include="Common\ConfHelper.cs" /> <Compile Include="Common\ConfHelper.cs" />
<Compile Include="Common\XMLReader.cs" />
<Compile Include="Config\YgoPath.cs" /> <Compile Include="Config\YgoPath.cs" />
<Compile Include="Controls\DoubleContorl.cs"> <Compile Include="Controls\DoubleContorl.cs">
<SubType>Component</SubType> <SubType>Component</SubType>
......
...@@ -86,7 +86,7 @@ private void InitializeComponent() ...@@ -86,7 +86,7 @@ private void InitializeComponent()
this.dockPanel1.Location = new System.Drawing.Point(0, 25); this.dockPanel1.Location = new System.Drawing.Point(0, 25);
this.dockPanel1.Margin = new System.Windows.Forms.Padding(0); this.dockPanel1.Margin = new System.Windows.Forms.Padding(0);
this.dockPanel1.Name = "dockPanel1"; this.dockPanel1.Name = "dockPanel1";
this.dockPanel1.Size = new System.Drawing.Size(868, 572); this.dockPanel1.Size = new System.Drawing.Size(864, 573);
dockPanelGradient1.EndColor = System.Drawing.SystemColors.ControlLight; dockPanelGradient1.EndColor = System.Drawing.SystemColors.ControlLight;
dockPanelGradient1.StartColor = System.Drawing.SystemColors.ControlLight; dockPanelGradient1.StartColor = System.Drawing.SystemColors.ControlLight;
autoHideStripSkin1.DockStripGradient = dockPanelGradient1; autoHideStripSkin1.DockStripGradient = dockPanelGradient1;
...@@ -143,7 +143,7 @@ private void InitializeComponent() ...@@ -143,7 +143,7 @@ private void InitializeComponent()
this.mainMenu.Location = new System.Drawing.Point(0, 0); this.mainMenu.Location = new System.Drawing.Point(0, 0);
this.mainMenu.MdiWindowListItem = this.menuitem_windows; this.mainMenu.MdiWindowListItem = this.menuitem_windows;
this.mainMenu.Name = "mainMenu"; this.mainMenu.Name = "mainMenu";
this.mainMenu.Size = new System.Drawing.Size(868, 25); this.mainMenu.Size = new System.Drawing.Size(864, 25);
this.mainMenu.TabIndex = 3; this.mainMenu.TabIndex = 3;
this.mainMenu.Text = "mainMenu"; this.mainMenu.Text = "mainMenu";
// //
...@@ -335,7 +335,7 @@ private void InitializeComponent() ...@@ -335,7 +335,7 @@ private void InitializeComponent()
// //
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.SystemColors.Control; this.BackColor = System.Drawing.SystemColors.Control;
this.ClientSize = new System.Drawing.Size(868, 597); this.ClientSize = new System.Drawing.Size(864, 598);
this.Controls.Add(this.dockPanel1); this.Controls.Add(this.dockPanel1);
this.Controls.Add(this.mainMenu); this.Controls.Add(this.mainMenu);
this.IsMdiContainer = true; this.IsMdiContainer = true;
......
...@@ -505,12 +505,13 @@ private void bgWorker1_DoWork(object sender, System.ComponentModel.DoWorkEventAr ...@@ -505,12 +505,13 @@ private void bgWorker1_DoWork(object sender, System.ComponentModel.DoWorkEventAr
{ {
Init(); Init();
} }
#endregion
private void bgWorker1_RunWorkerCompleted(object sender, System.ComponentModel.RunWorkerCompletedEventArgs e) private void bgWorker1_RunWorkerCompleted(object sender, System.ComponentModel.RunWorkerCompletedEventArgs e)
{ {
//更新UI //更新UI
InitForm(); InitForm();
} }
#endregion
} }
} }
...@@ -28,4 +28,4 @@ ...@@ -28,4 +28,4 @@
// //
// You can specify all the values or you can use the default the Revision and // You can specify all the values or you can use the default the Revision and
// Build Numbers by using the '*' as shown below: // Build Numbers by using the '*' as shown below:
[assembly: AssemblyVersion("2.2.9.9")] [assembly: AssemblyVersion("2.3.0.0")]
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<!-- DataEditorX update url--> <!-- DataEditorX update url-->
<add key="updateURL" value="https://github.com/247321453/DataEditorX/tree/master/win32/readme.txt" /> <add key="updateURL" value="https://github.com/247321453/DataEditorX/tree/master/win32/readme.txt" />
<!-- delete,modify with card's files image script --> <!-- delete,modify with card's files image script -->
<add key="opera_with_cards_file" value="false" /> <add key="opera_with_cards_file" value="true" />
<!-- open file in this.such as lua --> <!-- open file in this.such as lua -->
<add key="open_file_in_this" value="true" /> <add key="open_file_in_this" value="true" />
<!-- Cut Images Setting --> <!-- Cut Images Setting -->
......
★更新历史 ★更新历史
2.3.0.0
调整界面
2.2.9.9 2.2.9.9
添加开始的时候,异步加载数据 添加开始的时候,异步加载数据
改进CodeEditor的代码提示和函数搜索 改进CodeEditor的代码提示和函数搜索
......
[DataEditorX]2.2.9.9[DataEditorX] [DataEditorX]2.3.0.0[DataEditorX]
[URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL] [URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL]
★运行环境(Environment) ★运行环境(Environment)
......
No preview for this file type
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<!-- DataEditorX update url--> <!-- DataEditorX update url-->
<add key="updateURL" value="https://github.com/247321453/DataEditorX/tree/master/win32/readme.txt" /> <add key="updateURL" value="https://github.com/247321453/DataEditorX/tree/master/win32/readme.txt" />
<!-- delete,modify with card's files image script --> <!-- delete,modify with card's files image script -->
<add key="opera_with_cards_file" value="false" /> <add key="opera_with_cards_file" value="true" />
<!-- open file in this.such as lua --> <!-- open file in this.such as lua -->
<add key="open_file_in_this" value="true" /> <add key="open_file_in_this" value="true" />
<!-- Cut Images Setting --> <!-- Cut Images Setting -->
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<configuration> <configuration>
<connectionStrings> <connectionStrings>
<!-- Example connection to a SQL Server Database on localhost. --> <!-- Example connection to a SQL Server Database on localhost. -->
<!-- <add name="ExampleConnectionString" <!-- <add name="ExampleConnectionString"
connectionString="Data Source=.;Initial Catalog=DBName;Integrated Security=True" connectionString="Data Source=.;Initial Catalog=DBName;Integrated Security=True"
providerName="System.Data.SqlClient" /> --> providerName="System.Data.SqlClient" /> -->
</connectionStrings> </connectionStrings>
<appSettings> <appSettings>
<!-- access these values via the property: <!-- access these values via the property:
System.Configuration.ConfigurationManager.AppSettings[key] System.Configuration.ConfigurationManager.AppSettings[key]
--> -->
<!-- MSE language data/mse_xxx.txt --> <!-- MSE language data/mse_xxx.txt -->
<add key="mse" value="Chinese-Simplified" /> <add key="mse" value="Chinese-Simplified" />
<!-- Language data/cardinfo_xxxx.txt data/language_xxx.txt --> <!-- Language data/cardinfo_xxxx.txt data/language_xxx.txt -->
<add key="language" value="chinese" /> <add key="language" value="chinese" />
<!-- DataEditorX source code --> <!-- async load data -->
<add key="sourceURL" value="https://github.com/247321453/DataEditorX" /> <add key="async" value="false" />
<!-- DataEditorX update url--> <!-- DataEditorX source code -->
<add key="updateURL" value="https://github.com/247321453/DataEditorX/tree/master/win32/readme.txt" /> <add key="sourceURL" value="https://github.com/247321453/DataEditorX" />
<!-- DataEditorX update url-->
<add key="updateURL" value="https://github.com/247321453/DataEditorX/tree/master/win32/readme.txt" />
<!-- delete,modify with card's files image script --> <!-- delete,modify with card's files image script -->
<add key="opera_with_cards_file" value="true" /> <add key="opera_with_cards_file" value="true" />
<!-- open file in this.such as lua --> <!-- open file in this.such as lua -->
<add key="open_file_in_this" value="true" /> <add key="open_file_in_this" value="true" />
<!-- Cut Images Setting --> <!-- Cut Images Setting -->
<add key="image_quilty" value="100" /> <add key="image_quilty" value="100" />
<add key="image" value="44,64,177,254" /> <add key="image" value="44,64,177,254" />
<add key="image_other" value="25,54,128,128" /> <add key="image_other" value="25,54,128,128" />
<add key="image_xyz" value="24,51,128,128" /> <add key="image_xyz" value="24,51,128,128" />
<add key="image_pendulum" value="14,46,149,120" /> <add key="image_pendulum" value="14,46,149,120" />
<!-- CodeEdiotr Setting <!-- CodeEdiotr Setting
IME = true 使用輸入法,正常顯示文字,反應變慢 IME = true 使用輸入法,正常顯示文字,反應變慢
IME = false English IME = false English
--> -->
<add key="IME" value="false" /> <add key="IME" value="false" />
<add key="wordwrap" value="true" /> <add key="wordwrap" value="true" />
<add key="tabisspace" value="false" /> <add key="tabisspace" value="false" />
<add key="fontname" value="Consolas" /> <add key="fontname" value="Consolas" />
<add key="fontsize" value="14.5" /> <add key="fontsize" value="14.5" />
</appSettings> </appSettings>
</configuration> </configuration>
\ No newline at end of file
★更新历史 ★更新历史
2.3.0.0
调整界面
2.2.9.9 2.2.9.9
添加开始的时候,异步加载数据 添加开始的时候,异步加载数据
改进CodeEditor的代码提示和函数搜索 改进CodeEditor的代码提示和函数搜索
......
[DataEditorX]2.2.9.9[DataEditorX] [DataEditorX]2.3.0.0[DataEditorX]
[URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL] [URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL]
★运行环境(Environment) ★运行环境(Environment)
......
No preview for this file type
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