Commit 582aebf2 authored by DailyShana's avatar DailyShana

2.3.0.8

parent b72ae8e4
...@@ -85,6 +85,10 @@ public class MyConfig : XMLReader ...@@ -85,6 +85,10 @@ public class MyConfig : XMLReader
/// 用本程序打开文件 /// 用本程序打开文件
/// </summary> /// </summary>
public const string TAG_OPEN_IN_THIS = "open_file_in_this"; public const string TAG_OPEN_IN_THIS = "open_file_in_this";
/// <summary>
/// 自动检查更新
/// </summary>
public const string TAG_AUTO_CHECK_UPDATE = "auto_check_update";
/// <summary> /// <summary>
/// 一般的裁剪 /// 一般的裁剪
/// </summary> /// </summary>
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -135,6 +135,8 @@ void DataEditFormLoad(object sender, EventArgs e) ...@@ -135,6 +135,8 @@ void DataEditFormLoad(object sender, EventArgs e)
menuitem_operacardsfile.Checked = MyConfig.readBoolean(MyConfig.TAG_DELETE_WITH); menuitem_operacardsfile.Checked = MyConfig.readBoolean(MyConfig.TAG_DELETE_WITH);
//用CodeEditor打开脚本 //用CodeEditor打开脚本
menuitem_openfileinthis.Checked = MyConfig.readBoolean(MyConfig.TAG_OPEN_IN_THIS); menuitem_openfileinthis.Checked = MyConfig.readBoolean(MyConfig.TAG_OPEN_IN_THIS);
//自动检查更新
menuitem_autocheckupdate.Checked = MyConfig.readBoolean(MyConfig.TAG_AUTO_CHECK_UPDATE);
if (nowCdbFile != null && File.Exists(nowCdbFile)) if (nowCdbFile != null && File.Exists(nowCdbFile))
Open(nowCdbFile); Open(nowCdbFile);
//获取MSE配菜单 //获取MSE配菜单
...@@ -1520,6 +1522,12 @@ private void menuitem_openfileinthis_Click(object sender, EventArgs e) ...@@ -1520,6 +1522,12 @@ private void menuitem_openfileinthis_Click(object sender, EventArgs e)
menuitem_openfileinthis.Checked = !menuitem_openfileinthis.Checked; menuitem_openfileinthis.Checked = !menuitem_openfileinthis.Checked;
MyConfig.Save(MyConfig.TAG_OPEN_IN_THIS, menuitem_openfileinthis.Checked.ToString().ToLower()); MyConfig.Save(MyConfig.TAG_OPEN_IN_THIS, menuitem_openfileinthis.Checked.ToString().ToLower());
} }
//自动检查更新
private void menuitem_autocheckupdate_Click(object sender, EventArgs e)
{
menuitem_autocheckupdate.Checked = !menuitem_autocheckupdate.Checked;
MyConfig.Save(MyConfig.TAG_AUTO_CHECK_UPDATE, menuitem_autocheckupdate.Checked.ToString().ToLower());
}
#endregion #endregion
#region 空格 #region 空格
......
...@@ -491,9 +491,11 @@ private void bgWorker1_RunWorkerCompleted(object sender, System.ComponentModel.R ...@@ -491,9 +491,11 @@ private void bgWorker1_RunWorkerCompleted(object sender, System.ComponentModel.R
private void MainForm_Load(object sender, EventArgs e) private void MainForm_Load(object sender, EventArgs e)
{ {
//检查更新 //检查更新
Thread th = new Thread(CheckUpdate); if (!MyConfig.readBoolean(MyConfig.TAG_AUTO_CHECK_UPDATE))
th.IsBackground = true;//如果exe结束,则线程终止 return;
th.Start(); Thread th = new Thread(CheckUpdate);
th.IsBackground = true;//如果exe结束,则线程终止
th.Start();
} }
} }
} }
...@@ -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.3.0.7")] [assembly: AssemblyVersion("2.3.0.8")]
...@@ -3,30 +3,32 @@ ...@@ -3,30 +3,32 @@
<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]
--> -->
<!-- auto enter length --> <!-- auto enter length -->
<add key="autolength" value="30" /> <add key="autolength" value="30" />
<!-- 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" />
<!-- async load data --> <!-- async load data -->
<add key="async" value="false" /> <add key="async" value="false" />
<!-- DataEditorX source code --> <!-- DataEditorX source code -->
<add key="sourceURL" value="https://github.com/247321453/DataEditorX" /> <add key="sourceURL" value="https://github.com/247321453/DataEditorX" />
<!-- 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="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 --> <!-- check update when opening application automatically -->
<add key="auto_check_update" value="true" />
<!-- 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" />
...@@ -37,8 +39,8 @@ ...@@ -37,8 +39,8 @@
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>
......
★更新历史 ★更新历史
2.3.0.8
可以选择是否自动检查更新
2.3.0.7 2.3.0.7
更新系列名,函数列表,常数列表 更新系列名,函数列表,常数列表
修复:修改资源时不能更改脚本文件名,保存脚本后关闭文件仍然提示是否保存 修复:修改资源时不能更改脚本文件名,保存脚本后关闭文件仍然提示是否保存
......
...@@ -60,6 +60,7 @@ DataEditForm.mainMenu.menuitem_cancelTask 取消任务 ...@@ -60,6 +60,7 @@ DataEditForm.mainMenu.menuitem_cancelTask 取消任务
DataEditForm.mainMenu.menuitem_help 帮助(&H) DataEditForm.mainMenu.menuitem_help 帮助(&H)
DataEditForm.mainMenu.menuitem_about 关于 DataEditForm.mainMenu.menuitem_about 关于
DataEditForm.mainMenu.menuitem_checkupdate 检查更新 DataEditForm.mainMenu.menuitem_checkupdate 检查更新
DataEditForm.mainMenu.menuitem_autocheckupdate 自动检查更新
DataEditForm.mainMenu.menuitem_github 源码 DataEditForm.mainMenu.menuitem_github 源码
# #
MainForm.mainMenu.menuitem_file 文件(&F) MainForm.mainMenu.menuitem_file 文件(&F)
......
...@@ -59,6 +59,7 @@ DataEditForm.mainMenu.menuitem_cancelTask Cancel Task ...@@ -59,6 +59,7 @@ DataEditForm.mainMenu.menuitem_cancelTask Cancel Task
DataEditForm.mainMenu.menuitem_help Help(&H) DataEditForm.mainMenu.menuitem_help Help(&H)
DataEditForm.mainMenu.menuitem_about About DataEditForm.mainMenu.menuitem_about About
DataEditForm.mainMenu.menuitem_checkupdate Check Update DataEditForm.mainMenu.menuitem_checkupdate Check Update
DataEditForm.mainMenu.menuitem_autocheckupdate Auto Check Update
DataEditForm.mainMenu.menuitem_github GitHub DataEditForm.mainMenu.menuitem_github GitHub
# #
MainForm.mainMenu.menuitem_file File(&F) MainForm.mainMenu.menuitem_file File(&F)
......
[DataEditorX]2.3.0.7[DataEditorX] [DataEditorX]2.3.0.8[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
...@@ -3,30 +3,32 @@ ...@@ -3,30 +3,32 @@
<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]
--> -->
<!-- auto enter length --> <!-- auto enter length -->
<add key="autolength" value="30" /> <add key="autolength" value="30" />
<!-- 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" />
<!-- async load data --> <!-- async load data -->
<add key="async" value="false" /> <add key="async" value="false" />
<!-- DataEditorX source code --> <!-- DataEditorX source code -->
<add key="sourceURL" value="https://github.com/247321453/DataEditorX" /> <add key="sourceURL" value="https://github.com/247321453/DataEditorX" />
<!-- 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="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 --> <!-- check update when opening application automatically -->
<add key="auto_check_update" value="true" />
<!-- 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" />
...@@ -37,8 +39,8 @@ ...@@ -37,8 +39,8 @@
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>
......
★更新历史 ★更新历史
2.3.0.8
可以选择是否自动检查更新
2.3.0.7 2.3.0.7
更新系列名,函数列表,常数列表 更新系列名,函数列表,常数列表
修复:修改资源时不能更改脚本文件名,保存脚本后关闭文件仍然提示是否保存 修复:修改资源时不能更改脚本文件名,保存脚本后关闭文件仍然提示是否保存
......
...@@ -60,6 +60,7 @@ DataEditForm.mainMenu.menuitem_cancelTask 取消任务 ...@@ -60,6 +60,7 @@ DataEditForm.mainMenu.menuitem_cancelTask 取消任务
DataEditForm.mainMenu.menuitem_help 帮助(&H) DataEditForm.mainMenu.menuitem_help 帮助(&H)
DataEditForm.mainMenu.menuitem_about 关于 DataEditForm.mainMenu.menuitem_about 关于
DataEditForm.mainMenu.menuitem_checkupdate 检查更新 DataEditForm.mainMenu.menuitem_checkupdate 检查更新
DataEditForm.mainMenu.menuitem_autocheckupdate 自动检查更新
DataEditForm.mainMenu.menuitem_github 源码 DataEditForm.mainMenu.menuitem_github 源码
# #
MainForm.mainMenu.menuitem_file 文件(&F) MainForm.mainMenu.menuitem_file 文件(&F)
......
...@@ -59,6 +59,7 @@ DataEditForm.mainMenu.menuitem_cancelTask Cancel Task ...@@ -59,6 +59,7 @@ DataEditForm.mainMenu.menuitem_cancelTask Cancel Task
DataEditForm.mainMenu.menuitem_help Help(&H) DataEditForm.mainMenu.menuitem_help Help(&H)
DataEditForm.mainMenu.menuitem_about About DataEditForm.mainMenu.menuitem_about About
DataEditForm.mainMenu.menuitem_checkupdate Check Update DataEditForm.mainMenu.menuitem_checkupdate Check Update
DataEditForm.mainMenu.menuitem_autocheckupdate Auto Check Update
DataEditForm.mainMenu.menuitem_github GitHub DataEditForm.mainMenu.menuitem_github GitHub
# #
MainForm.mainMenu.menuitem_file File(&F) MainForm.mainMenu.menuitem_file File(&F)
......
[DataEditorX]2.3.0.7[DataEditorX] [DataEditorX]2.3.0.8[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