Commit 636959c3 authored by 247321453's avatar 247321453

1.3.2.2

parent 581d8941
......@@ -257,14 +257,14 @@ private void InitializeComponent()
//
this.cb_cardattribute.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cb_cardattribute.FormattingEnabled = true;
this.cb_cardattribute.Location = new System.Drawing.Point(406, 80);
this.cb_cardattribute.Location = new System.Drawing.Point(402, 80);
this.cb_cardattribute.Name = "cb_cardattribute";
this.cb_cardattribute.Size = new System.Drawing.Size(140, 20);
this.cb_cardattribute.TabIndex = 2;
//
// tb_cardname
//
this.tb_cardname.Location = new System.Drawing.Point(220, 29);
this.tb_cardname.Location = new System.Drawing.Point(217, 29);
this.tb_cardname.Name = "tb_cardname";
this.tb_cardname.Size = new System.Drawing.Size(325, 21);
this.tb_cardname.TabIndex = 4;
......@@ -275,7 +275,7 @@ private void InitializeComponent()
//
this.cb_cardrule.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cb_cardrule.FormattingEnabled = true;
this.cb_cardrule.Location = new System.Drawing.Point(406, 54);
this.cb_cardrule.Location = new System.Drawing.Point(402, 54);
this.cb_cardrule.Name = "cb_cardrule";
this.cb_cardrule.Size = new System.Drawing.Size(140, 20);
this.cb_cardrule.TabIndex = 2;
......@@ -284,7 +284,7 @@ private void InitializeComponent()
//
this.cb_cardlevel.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cb_cardlevel.FormattingEnabled = true;
this.cb_cardlevel.Location = new System.Drawing.Point(406, 132);
this.cb_cardlevel.Location = new System.Drawing.Point(402, 132);
this.cb_cardlevel.Name = "cb_cardlevel";
this.cb_cardlevel.Size = new System.Drawing.Size(140, 20);
this.cb_cardlevel.TabIndex = 2;
......@@ -293,7 +293,7 @@ private void InitializeComponent()
//
this.cb_cardrace.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cb_cardrace.FormattingEnabled = true;
this.cb_cardrace.Location = new System.Drawing.Point(406, 106);
this.cb_cardrace.Location = new System.Drawing.Point(402, 106);
this.cb_cardrace.Name = "cb_cardrace";
this.cb_cardrace.Size = new System.Drawing.Size(140, 20);
this.cb_cardrace.TabIndex = 2;
......@@ -302,7 +302,7 @@ private void InitializeComponent()
//
this.cb_setname2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cb_setname2.FormattingEnabled = true;
this.cb_setname2.Location = new System.Drawing.Point(406, 183);
this.cb_setname2.Location = new System.Drawing.Point(402, 183);
this.cb_setname2.Name = "cb_setname2";
this.cb_setname2.Size = new System.Drawing.Size(140, 20);
this.cb_setname2.TabIndex = 2;
......@@ -311,7 +311,7 @@ private void InitializeComponent()
//
this.cb_setname1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cb_setname1.FormattingEnabled = true;
this.cb_setname1.Location = new System.Drawing.Point(406, 158);
this.cb_setname1.Location = new System.Drawing.Point(402, 158);
this.cb_setname1.Name = "cb_setname1";
this.cb_setname1.Size = new System.Drawing.Size(140, 20);
this.cb_setname1.TabIndex = 2;
......@@ -320,7 +320,7 @@ private void InitializeComponent()
//
this.cb_setname4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cb_setname4.FormattingEnabled = true;
this.cb_setname4.Location = new System.Drawing.Point(406, 233);
this.cb_setname4.Location = new System.Drawing.Point(402, 233);
this.cb_setname4.Name = "cb_setname4";
this.cb_setname4.Size = new System.Drawing.Size(140, 20);
this.cb_setname4.TabIndex = 2;
......@@ -329,7 +329,7 @@ private void InitializeComponent()
//
this.cb_setname3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cb_setname3.FormattingEnabled = true;
this.cb_setname3.Location = new System.Drawing.Point(406, 208);
this.cb_setname3.Location = new System.Drawing.Point(402, 208);
this.cb_setname3.Name = "cb_setname3";
this.cb_setname3.Size = new System.Drawing.Size(140, 20);
this.cb_setname3.TabIndex = 2;
......@@ -339,7 +339,7 @@ private void InitializeComponent()
this.tb_cardtext.AcceptsReturn = true;
this.tb_cardtext.AcceptsTab = true;
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(221, 337);
this.tb_cardtext.Location = new System.Drawing.Point(220, 337);
this.tb_cardtext.Multiline = true;
this.tb_cardtext.Name = "tb_cardtext";
this.tb_cardtext.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
......@@ -353,7 +353,7 @@ private void InitializeComponent()
this.lb_scripttext.FormattingEnabled = true;
this.lb_scripttext.IntegralHeight = false;
this.lb_scripttext.ItemHeight = 12;
this.lb_scripttext.Location = new System.Drawing.Point(550, 384);
this.lb_scripttext.Location = new System.Drawing.Point(548, 384);
this.lb_scripttext.Name = "lb_scripttext";
this.lb_scripttext.ScrollAlwaysVisible = true;
this.lb_scripttext.Size = new System.Drawing.Size(310, 126);
......@@ -363,7 +363,7 @@ private void InitializeComponent()
// tb_edittext
//
this.tb_edittext.HideSelection = false;
this.tb_edittext.Location = new System.Drawing.Point(550, 515);
this.tb_edittext.Location = new System.Drawing.Point(548, 515);
this.tb_edittext.MaxLength = 2000;
this.tb_edittext.Name = "tb_edittext";
this.tb_edittext.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
......@@ -403,7 +403,7 @@ private void InitializeComponent()
// lb_atkdef
//
this.lb_atkdef.AutoSize = true;
this.lb_atkdef.Location = new System.Drawing.Point(386, 315);
this.lb_atkdef.Location = new System.Drawing.Point(399, 315);
this.lb_atkdef.Name = "lb_atkdef";
this.lb_atkdef.Size = new System.Drawing.Size(47, 12);
this.lb_atkdef.TabIndex = 7;
......@@ -457,7 +457,7 @@ private void InitializeComponent()
// btn_PageDown
//
this.btn_PageDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btn_PageDown.Location = new System.Drawing.Point(154, 540);
this.btn_PageDown.Location = new System.Drawing.Point(153, 540);
this.btn_PageDown.Name = "btn_PageDown";
this.btn_PageDown.Size = new System.Drawing.Size(64, 27);
this.btn_PageDown.TabIndex = 5;
......@@ -467,7 +467,7 @@ private void InitializeComponent()
//
// btn_add
//
this.btn_add.Location = new System.Drawing.Point(551, 540);
this.btn_add.Location = new System.Drawing.Point(548, 540);
this.btn_add.Name = "btn_add";
this.btn_add.Size = new System.Drawing.Size(84, 28);
this.btn_add.TabIndex = 5;
......@@ -478,7 +478,7 @@ private void InitializeComponent()
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(489, 314);
this.label5.Location = new System.Drawing.Point(491, 314);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(11, 12);
this.label5.TabIndex = 7;
......@@ -486,7 +486,7 @@ private void InitializeComponent()
//
// tb_atk
//
this.tb_atk.Location = new System.Drawing.Point(447, 310);
this.tb_atk.Location = new System.Drawing.Point(449, 310);
this.tb_atk.MaxLength = 12;
this.tb_atk.Name = "tb_atk";
this.tb_atk.Size = new System.Drawing.Size(38, 21);
......@@ -496,7 +496,7 @@ private void InitializeComponent()
//
// tb_def
//
this.tb_def.Location = new System.Drawing.Point(505, 310);
this.tb_def.Location = new System.Drawing.Point(504, 310);
this.tb_def.MaxLength = 12;
this.tb_def.Name = "tb_def";
this.tb_def.Size = new System.Drawing.Size(38, 21);
......@@ -507,7 +507,7 @@ private void InitializeComponent()
// lb_cardcode
//
this.lb_cardcode.AutoSize = true;
this.lb_cardcode.Location = new System.Drawing.Point(405, 288);
this.lb_cardcode.Location = new System.Drawing.Point(401, 288);
this.lb_cardcode.Name = "lb_cardcode";
this.lb_cardcode.Size = new System.Drawing.Size(59, 12);
this.lb_cardcode.TabIndex = 7;
......@@ -515,7 +515,7 @@ private void InitializeComponent()
//
// tb_cardcode
//
this.tb_cardcode.Location = new System.Drawing.Point(477, 285);
this.tb_cardcode.Location = new System.Drawing.Point(475, 285);
this.tb_cardcode.MaxLength = 12;
this.tb_cardcode.Name = "tb_cardcode";
this.tb_cardcode.Size = new System.Drawing.Size(68, 21);
......@@ -527,7 +527,7 @@ private void InitializeComponent()
// lb_cardalias
//
this.lb_cardalias.AutoSize = true;
this.lb_cardalias.Location = new System.Drawing.Point(405, 261);
this.lb_cardalias.Location = new System.Drawing.Point(401, 261);
this.lb_cardalias.Name = "lb_cardalias";
this.lb_cardalias.Size = new System.Drawing.Size(65, 12);
this.lb_cardalias.TabIndex = 7;
......@@ -535,7 +535,7 @@ private void InitializeComponent()
//
// tb_cardalias
//
this.tb_cardalias.Location = new System.Drawing.Point(477, 258);
this.tb_cardalias.Location = new System.Drawing.Point(475, 258);
this.tb_cardalias.MaxLength = 12;
this.tb_cardalias.Name = "tb_cardalias";
this.tb_cardalias.Size = new System.Drawing.Size(67, 21);
......@@ -545,7 +545,7 @@ private void InitializeComponent()
//
// btn_mod
//
this.btn_mod.Location = new System.Drawing.Point(641, 540);
this.btn_mod.Location = new System.Drawing.Point(638, 540);
this.btn_mod.Name = "btn_mod";
this.btn_mod.Size = new System.Drawing.Size(84, 28);
this.btn_mod.TabIndex = 5;
......@@ -556,7 +556,7 @@ private void InitializeComponent()
// btn_del
//
this.btn_del.ForeColor = System.Drawing.Color.DarkRed;
this.btn_del.Location = new System.Drawing.Point(462, 540);
this.btn_del.Location = new System.Drawing.Point(461, 540);
this.btn_del.Name = "btn_del";
this.btn_del.Size = new System.Drawing.Size(84, 28);
this.btn_del.TabIndex = 5;
......@@ -567,7 +567,7 @@ private void InitializeComponent()
// btn_lua
//
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(779, 539);
this.btn_lua.Location = new System.Drawing.Point(776, 539);
this.btn_lua.Name = "btn_lua";
this.btn_lua.Size = new System.Drawing.Size(84, 28);
this.btn_lua.TabIndex = 5;
......@@ -587,7 +587,7 @@ private void InitializeComponent()
//
// btn_serach
//
this.btn_serach.Location = new System.Drawing.Point(220, 540);
this.btn_serach.Location = new System.Drawing.Point(219, 540);
this.btn_serach.Name = "btn_serach";
this.btn_serach.Size = new System.Drawing.Size(84, 28);
this.btn_serach.TabIndex = 0;
......@@ -598,7 +598,7 @@ private void InitializeComponent()
// lb_categorys
//
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(550, 171);
this.lb_categorys.Location = new System.Drawing.Point(548, 171);
this.lb_categorys.Margin = new System.Windows.Forms.Padding(3, 3, 3, 0);
this.lb_categorys.Name = "lb_categorys";
this.lb_categorys.Size = new System.Drawing.Size(310, 16);
......@@ -632,7 +632,7 @@ private void InitializeComponent()
// pl_cardtype
//
this.pl_cardtype.AutoScroll = true;
this.pl_cardtype.Location = new System.Drawing.Point(550, 46);
this.pl_cardtype.Location = new System.Drawing.Point(548, 46);
this.pl_cardtype.Margin = new System.Windows.Forms.Padding(1, 2, 1, 2);
this.pl_cardtype.Name = "pl_cardtype";
this.pl_cardtype.Padding = new System.Windows.Forms.Padding(2);
......@@ -642,7 +642,7 @@ private void InitializeComponent()
// pl_category
//
this.pl_category.AutoScroll = true;
this.pl_category.Location = new System.Drawing.Point(550, 189);
this.pl_category.Location = new System.Drawing.Point(548, 189);
this.pl_category.Margin = new System.Windows.Forms.Padding(1, 2, 1, 2);
this.pl_category.Name = "pl_category";
this.pl_category.Padding = new System.Windows.Forms.Padding(2);
......@@ -654,7 +654,7 @@ private void InitializeComponent()
this.pl_image.BackColor = System.Drawing.SystemColors.ButtonHighlight;
this.pl_image.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.pl_image.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.pl_image.Location = new System.Drawing.Point(221, 52);
this.pl_image.Location = new System.Drawing.Point(218, 52);
this.pl_image.Name = "pl_image";
this.pl_image.Size = new System.Drawing.Size(179, 256);
this.pl_image.TabIndex = 14;
......@@ -662,7 +662,7 @@ private void InitializeComponent()
// lb_types
//
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(550, 28);
this.lb_types.Location = new System.Drawing.Point(548, 28);
this.lb_types.Margin = new System.Windows.Forms.Padding(3, 3, 3, 0);
this.lb_types.Name = "lb_types";
this.lb_types.Size = new System.Drawing.Size(310, 16);
......@@ -673,7 +673,7 @@ private void InitializeComponent()
// lb_tiptexts
//
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(550, 365);
this.lb_tiptexts.Location = new System.Drawing.Point(548, 365);
this.lb_tiptexts.Margin = new System.Windows.Forms.Padding(3, 3, 3, 0);
this.lb_tiptexts.Name = "lb_tiptexts";
this.lb_tiptexts.Size = new System.Drawing.Size(310, 16);
......
......@@ -43,32 +43,8 @@ public partial class DataEditForm : Form
Dictionary<long, string> dicSetnames=null;
Dictionary<long, string> dicCardTypes=null;
Dictionary<long, string> dicCardcategorys=null;
string conflang="language.txt";
string confrule="card-rule.txt";
string confattribute="card-attribute.txt";
string confrace="card-race.txt";
string conflevel="card-level.txt";
string confsetname="card-setname.txt";
string conftype="card-type.txt";
string confcategory="card-category.txt";
string confcover= "cover.jpg";
void SetCDB(string cdb)
{
this.nowCdbFile=cdb;
if(cdb.Length>0)
{
this.Text=nowCdbFile+"-"+title;
char SEP=Path.DirectorySeparatorChar;
int l=nowCdbFile.LastIndexOf(SEP);
GAMEPATH=(l>0)?nowCdbFile.Substring(0,l+1):cdb;
}
PICPATH=Path.Combine(GAMEPATH,"pics");
LUAPTH=Path.Combine(GAMEPATH,"script");
}
#endregion
#region 界面初始化
string conflang, confrule, confattribute, confrace, conflevel;
string confsetname, conftype, confcategory, confcover;
public DataEditForm(string cdbfile)
{
InitializeComponent();
......@@ -78,26 +54,39 @@ public DataEditForm(string cdbfile)
public DataEditForm()
{
InitializeComponent();
nowCdbFile="";
}
#endregion
#region 界面初始化
//窗体第一次加载
void DataEditFormLoad(object sender, EventArgs e)
{
InitListRows();
Version ver =new Version(Application.ProductVersion);
string strVer = ver.ToString();
#if DEBUG
this.Text=this.Text+"(DEBUG)";
#endif
this.Text=this.Text+" Ver:"+strVer;
this.Text=this.Text+" Ver:"+Application.ProductVersion;
title=this.Text;
if(!InitPath())
//界面初始化
string dir=ConfigurationManager.AppSettings["language"];
if(string.IsNullOrEmpty(dir))
{
Application.Exit();
}
string datapath=Path.Combine(Application.StartupPath, dir);
InitPath(datapath);
MyMsg.Init(conflang);
InitForm();
//set null card
InitString();
InitGameData();
SetCDB("");
//设置空白卡片
oldCard=new Card(0);
SetCard(oldCard);
isbgcheck=true;
......@@ -106,8 +95,14 @@ void DataEditFormLoad(object sender, EventArgs e)
if(File.Exists(nowCdbFile))
Open(nowCdbFile);
}
//窗体关闭
void DataEditFormFormClosing(object sender, FormClosingEventArgs e)
{
}
//设置界面文字
void InitString()
{
btn_add.Text=MyMsg.GetString("Add");
......@@ -141,37 +136,37 @@ void InitString()
lv_cardlist.Columns[1].Text=MyMsg.GetString("Card Name");
}
bool InitPath()
//按cdb路径设置目录
void SetCDB(string cdb)
{
//
string dir=ConfigurationManager.AppSettings["language"];
if(string.IsNullOrEmpty(dir))
this.nowCdbFile=cdb;
if(cdb.Length>0)
{
return false;
this.Text=nowCdbFile+"-"+title;
char SEP=Path.DirectorySeparatorChar;
int l=nowCdbFile.LastIndexOf(SEP);
GAMEPATH=(l>0)?nowCdbFile.Substring(0,l+1):cdb;
}
string datapath=Path.Combine(Application.StartupPath, dir);
//
GAMEPATH=Application.StartupPath;
else
GAMEPATH=Application.StartupPath;
PICPATH=Path.Combine(GAMEPATH,"pics");
LUAPTH=Path.Combine(GAMEPATH,"script");
conflang=Path.Combine(datapath, conflang);
confrule=Path.Combine(datapath, confrule);
confattribute=Path.Combine(datapath, confattribute);
confrace=Path.Combine(datapath, confrace);
conflevel=Path.Combine(datapath, conflevel);
confsetname=Path.Combine(datapath, confsetname);
conftype=Path.Combine(datapath, conftype);
confcategory=Path.Combine(datapath, confcategory);
confcover= Path.Combine(datapath, confcover);
return true;
}
void DataEditFormFormClosing(object sender, FormClosingEventArgs e)
//初始化文件路径
void InitPath(string datapath)
{
conflang=Path.Combine(datapath, "language.txt");
confrule=Path.Combine(datapath, "card-rule.txt");
confattribute=Path.Combine(datapath, "card-attribute.txt");
confrace=Path.Combine(datapath, "card-race.txt");
conflevel=Path.Combine(datapath, "card-level.txt");
confsetname=Path.Combine(datapath, "card-setname.txt");
conftype=Path.Combine(datapath, "card-type.txt");
confcategory=Path.Combine(datapath, "card-category.txt");
confcover= Path.Combine(datapath, "cover.jpg");
}
//保存dic
void SaveDic(string file, Dictionary<long, string> dic)
{
using(FileStream fs=new FileStream(file,FileMode.OpenOrCreate,FileAccess.Write))
......@@ -186,7 +181,8 @@ void SaveDic(string file, Dictionary<long, string> dic)
}
}
public void InitForm()
//初始化游戏数据
public void InitGameData()
{
//初始化
dicCardRules=InitComboBox(cb_cardrule,confrule);
......@@ -208,13 +204,11 @@ public void InitForm()
InitCheckPanel(pl_category, dicCardcategorys);
//
if(File.Exists(confcover))
{
m_cover=Image.FromFile(confcover);
}
else
m_cover=null;
InitString();
}
//初始化FlowLayoutPanel
void InitCheckPanel(FlowLayoutPanel fpanel, Dictionary<long, string> dic)
{
......@@ -312,6 +306,7 @@ void SetCard(Card c)
pl_image.BackgroundImage=m_cover;
}
//设置checkbox
string SetCheck(FlowLayoutPanel fpl,long number)
{
long temp;
......@@ -335,6 +330,7 @@ string SetCheck(FlowLayoutPanel fpl,long number)
return strType;
}
//设置combobox
int SetSelect(Dictionary<long, string> dic,ComboBox cb, long k)
{
int index=0;
......@@ -413,6 +409,7 @@ Card GetCard()
return c;
}
//得到所选值
string GetSelect(Dictionary<long, string> dic,ComboBox cb)
{
long fkey=0;
......@@ -433,6 +430,7 @@ string GetSelect(Dictionary<long, string> dic,ComboBox cb)
return fkey.ToString();
}
//得到checkbox的总值
long GetCheck(FlowLayoutPanel fpl)
{
long number=0;
......@@ -466,6 +464,7 @@ void Lv_cardlistSelectedIndexChanged(object sender, EventArgs e)
}
}
//添加行
void AddListView(int p)
{
int i,j,istart,iend;
......@@ -503,16 +502,18 @@ void AddListView(int p)
}
//列表按键
void Lv_cardlistKeyDown(object sender, KeyEventArgs e)
{
switch(e.KeyCode)
{
case Keys.Delete:MyMsg.Show("del");break;
case Keys.Delete:DelCards();break;
case Keys.Right:Btn_PageDownClick(null,null);break;
case Keys.Left:Btn_PageUpClick(null,null);break;
}
}
//上一页
void Btn_PageUpClick(object sender, EventArgs e)
{
if(!Check())
......@@ -521,6 +522,7 @@ void Btn_PageUpClick(object sender, EventArgs e)
AddListView(page);
}
//下一页
void Btn_PageDownClick(object sender, EventArgs e)
{
if(!Check())
......@@ -529,6 +531,7 @@ void Btn_PageDownClick(object sender, EventArgs e)
AddListView(page);
}
//跳转到指定页数
void Tb_pageKeyPress(object sender, KeyPressEventArgs e)
{
if(e.KeyChar==(char)Keys.Enter)
......@@ -542,6 +545,7 @@ void Tb_pageKeyPress(object sender, KeyPressEventArgs e)
#endregion
#region 卡片搜索,打开
//检查是否打开数据库
public bool Check()
{
if(File.Exists(nowCdbFile))
......@@ -553,6 +557,7 @@ public bool Check()
}
}
//打开数据库
public bool Open(string cdbFile)
{
if(!File.Exists(cdbFile))
......@@ -876,7 +881,6 @@ void Menuitem_aboutClick(object sender, EventArgs e)
void Menuitem_checkupdateClick(object sender, EventArgs e)
{
if(!backgroundWorker1.IsBusy)
{
isdownload=false;
......@@ -885,7 +889,6 @@ void Menuitem_checkupdateClick(object sender, EventArgs e)
}
}
void Menuitem_githubClick(object sender, EventArgs e)
{
System.Diagnostics.Process.Start(ConfigurationManager.AppSettings["sourceURL"]);
......@@ -920,6 +923,7 @@ void Menuitem_newClick(object sender, EventArgs e)
}
}
}
void Menuitem_copytoClick(object sender, EventArgs e)
{
CopyTo(false);
......@@ -995,6 +999,7 @@ void Menuitem_quitClick(object sender, EventArgs e)
#endregion
#region 线程
//线程任务
void BackgroundWorker1DoWork(object sender, System.ComponentModel.DoWorkEventArgs e)
{
if(isdownload)
......@@ -1004,7 +1009,7 @@ void BackgroundWorker1DoWork(object sender, System.ComponentModel.DoWorkEventArg
NEWVER=CheckUpdate.Check(ConfigurationManager.AppSettings["updateURL"]);
}
}
//任务完成
void BackgroundWorker1RunWorkerCompleted(object sender, System.ComponentModel.RunWorkerCompletedEventArgs e)
{
if(isdownload)
......
......@@ -28,4 +28,4 @@
//
// You can specify all the values or you can use the default the Revision and
// Build Numbers by using the '*' as shown below:
[assembly: AssemblyVersion("1.3.2.1")]
[assembly: AssemblyVersion("1.3.2.2")]
[DataEditorX]1.3.2.1[DataEditorX]
[DataEditorX]1.3.2.2[DataEditorX]
[URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL]
★卡片复制:
替换复制:如果存在卡片,就用最新的替换
......@@ -14,6 +14,8 @@
★更新历史
1.3.2.2
整理代码
1.3.2.1
完善language.txt
1.3.2.0
......
No preview for this file type
[DataEditorX]1.3.2.1[DataEditorX]
[DataEditorX]1.3.2.2[DataEditorX]
[URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL]
★卡片复制:
替换复制:如果存在卡片,就用最新的替换
......@@ -14,6 +14,8 @@
★更新历史
1.3.2.2
整理代码
1.3.2.1
完善language.txt
1.3.2.0
......
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