## :date:2026-04-11 星期六更新

### RySmartEditor    V1.0.2604.1101
- *.[新增]新增支持站点禁用功能。
### SuperDesign    V3.0.2604.1101
- *.[新增]更新dll版本功能新增进度展示,并提示替换的dll数量。
- *.[修复]修复生成C#代码时,多行Cookie和PostData生成错误的BUG。
- *.[修复]修复更新引用dll时,如果dll不存在,会更新失败的BUG。
This commit is contained in:
zilinsoft committed 2026-04-11 13:48:30 +08:00
1 parent 9d3ea0c979
commit ee1a5b9c34
24 files changed
+476 -200

No files matched your search

+1
View File
@@ -230,6 +230,7 @@ namespace 开发辅助工具.Manager
mySQL.AddField("localPath", "");
mySQL.AddField("ftpId", 0);
mySQL.AddField("ftpDir", "");
mySQL.AddField("Disabled", 0);
mySQL.AddField("addTime", DateTime.Now);
mySQL.AddField("editTime", DateTime.Now);
db.CreateDb(mySQL);
+11 -1
View File
@@ -28,7 +28,15 @@ namespace 开发辅助工具.Manager
OlvSiteName.AspectGetter = delegate (object x) { return ((SiteInfo)x).Name; };
OlvSitePath.AspectGetter = delegate (object x) { return ((SiteInfo)x).LocalPath; };
OlvSiteFTP.AspectGetter = delegate (object x) { return ((SiteInfo)x).FtpName; };
LvSite.FormatRow += LvSite_FormatRow;
}
private void LvSite_FormatRow(object sender, BrightIdeasSoftware.FormatRowEventArgs e)
{
var row = (SiteInfo)e.Model;
if (row.Disabled) { e.Item.ForeColor = Color.Gray; }
}
private void BtnCancel_Click(object sender, EventArgs e)
{
DialogResult = DialogResult.Cancel;
@@ -273,7 +281,8 @@ namespace 开发辅助工具.Manager
Name = row["name"].ToString(),
LocalPath = row["localPath"].ToString(),
FtpId = row["ftpId"].ToInt(),
FtpName= ftpname
FtpName= ftpname,
Disabled=row["Disabled"].ToInt() == 1
});
}
}
@@ -357,5 +366,6 @@ namespace 开发辅助工具.Manager
public string FtpDir { get; set; } = "";
public string FtpName { get; set; } = "";
public int FtpId { get; set; } = 0;
public bool Disabled { get; set; } = false;
}
}
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.2508.2601")]
[assembly: AssemblyFileVersion("1.0.2508.2601")]
[assembly: AssemblyVersion("1.0.2604.1101")]
[assembly: AssemblyFileVersion("1.0.2604.1101")]
+20
View File
@@ -28,6 +28,7 @@
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.label1 = new System.Windows.Forms.Label();
this.TxtName = new ryControls.TextBoxEx2();
this.label2 = new System.Windows.Forms.Label();
@@ -41,6 +42,7 @@
this.BtnOK = new ryControls.ButtonEx();
this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog();
this.BtnClearFtp = new ryControls.ButtonEx();
this.ChkDisabled = new System.Windows.Forms.CheckBox();
this.SuspendLayout();
//
// label1
@@ -57,7 +59,9 @@
this.TxtName.BackColor = System.Drawing.Color.White;
this.TxtName.EmptyText = "";
this.TxtName.Location = new System.Drawing.Point(11, 24);
this.TxtName.LongTime = 2000;
this.TxtName.MaxLength = 999999999;
this.TxtName.MaxUndoRedoSteps = 50;
this.TxtName.Multiline = false;
this.TxtName.Name = "TxtName";
this.TxtName.OnlyNumeric = false;
@@ -88,7 +92,9 @@
this.TxtLocalPath.BackColor = System.Drawing.Color.White;
this.TxtLocalPath.EmptyText = "";
this.TxtLocalPath.Location = new System.Drawing.Point(11, 75);
this.TxtLocalPath.LongTime = 2000;
this.TxtLocalPath.MaxLength = 999999999;
this.TxtLocalPath.MaxUndoRedoSteps = 50;
this.TxtLocalPath.Multiline = false;
this.TxtLocalPath.Name = "TxtLocalPath";
this.TxtLocalPath.OnlyNumeric = false;
@@ -150,7 +156,9 @@
this.TxtFtpDir.BackColor = System.Drawing.Color.White;
this.TxtFtpDir.EmptyText = "";
this.TxtFtpDir.Location = new System.Drawing.Point(221, 126);
this.TxtFtpDir.LongTime = 2000;
this.TxtFtpDir.MaxLength = 999999999;
this.TxtFtpDir.MaxUndoRedoSteps = 50;
this.TxtFtpDir.Multiline = false;
this.TxtFtpDir.Name = "TxtFtpDir";
this.TxtFtpDir.OnlyNumeric = false;
@@ -200,11 +208,22 @@
this.BtnClearFtp.UseVisualStyleBackColor = true;
this.BtnClearFtp.Click += new System.EventHandler(this.BtnClearFtp_Click);
//
// ChkDisabled
//
this.ChkDisabled.AutoSize = true;
this.ChkDisabled.Location = new System.Drawing.Point(11, 164);
this.ChkDisabled.Name = "ChkDisabled";
this.ChkDisabled.Size = new System.Drawing.Size(48, 16);
this.ChkDisabled.TabIndex = 43;
this.ChkDisabled.Text = "禁用";
this.ChkDisabled.UseVisualStyleBackColor = true;
//
// FrmAddSite
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(442, 203);
this.Controls.Add(this.ChkDisabled);
this.Controls.Add(this.BtnClearFtp);
this.Controls.Add(this.BtnCancel);
this.Controls.Add(this.BtnOK);
@@ -243,5 +262,6 @@
private ryControls.ButtonEx BtnOK;
private System.Windows.Forms.FolderBrowserDialog folderBrowserDialog1;
private ryControls.ButtonEx BtnClearFtp;
private System.Windows.Forms.CheckBox ChkDisabled;
}
}
+2
View File
@@ -45,6 +45,7 @@ namespace 开发辅助工具.Manager.Site
TxtLocalPath.Text = reader["localPath"].ToString();
DtFtp.selectId = reader["ftpId"].ToString();
TxtFtpDir.Text = reader["ftpDir"].ToString();
ChkDisabled.Checked = reader["Disabled"].ToInt() == 1;
#endregion
}
ds.Dispose();
@@ -70,6 +71,7 @@ namespace 开发辅助工具.Manager.Site
mySQL.AddField("localPath", TxtLocalPath.Text.Trim('\\'));
mySQL.AddField("ftpId",DtFtp.selectId.ToInt());
mySQL.AddField("ftpDir", TxtFtpDir.Text);
mySQL.AddField("Disabled", ChkDisabled.Checked?1:0);
//DataProvider mydb = new DataProvider();
IDbInterface db = Itrycn_Db.CreateDataProvider(Itrycn_Db.dataType);
if (db.ConnDb(Itrycn_Db.User_SQLConn) == 1)
@@ -481,7 +481,7 @@ namespace SuperDesign.Tools.SmartEditor
UploadInfo uploadinfo = null;
IDbInterface db = Itrycn_Db.CreateDataProvider(Itrycn_Db.dataType);
if (db.ConnDb(Itrycn_Db.User_SQLConn) == 1) {
DataSet ds = db.ReadData("select * from Site");
DataSet ds = db.ReadData("select * from Site where Disabled<>1");
if (ds.HaveData()) {
for (int i = 0; i < ds.Tables[0].Rows.Count; i++) {
DataRow reader = ds.Tables[0].Rows[i];
@@ -489,7 +489,7 @@ namespace SuperDesign.Tools.SmartEditor
string FilePath = model.FullName;
SiteInfo SiteInfo = new SiteInfo();
UploadInfo uploadinfo = null;
DataSet ds = db.ReadData("select * from Site");
DataSet ds = db.ReadData("select * from Site where Disabled<>1");
if (ds.HaveData())
{
for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
@@ -1223,7 +1223,7 @@ namespace SuperDesign.Tools.SmartEditor
IDbInterface db = Itrycn_Db.CreateDataProvider(Itrycn_Db.dataType);
if (db.ConnDb(Itrycn_Db.User_SQLConn) == 1)
{
DataSet ds = db.ReadData("select * from Site");
DataSet ds = db.ReadData("select * from Site where Disabled<>1");
if (ds.HaveData())
{
for (int m = 0; m < list.Count; m++)
@@ -1297,7 +1297,7 @@ namespace SuperDesign.Tools.SmartEditor
// continue ;
//}
string FilePath = model.FullName;
DataSet ds = db.ReadData("select * from Site");
DataSet ds = db.ReadData("select * from Site where Disabled<>1");
if (ds.HaveData())
{
for (int m = 0; m < list.Count; m++)
@@ -1348,7 +1348,7 @@ namespace SuperDesign.Tools.SmartEditor
string FilePath = files[f];
SiteInfo SiteInfo = new SiteInfo();
UploadInfo uploadinfo = null;
DataSet ds = db.ReadData("select * from Site");
DataSet ds = db.ReadData("select * from Site where Disabled<>1");
if (ds.HaveData())
{
for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
@@ -1441,7 +1441,7 @@ namespace SuperDesign.Tools.SmartEditor
IDbInterface db = Itrycn_Db.CreateDataProvider(Itrycn_Db.dataType);
if (db.ConnDb(Itrycn_Db.User_SQLConn) == 1)
{
DataSet ds = db.ReadData("select * from Site");
DataSet ds = db.ReadData("select * from Site where Disabled<>1");
if (ds.HaveData())
{
for (int m = 0; m < list.Count; m++)
@@ -149,7 +149,7 @@ namespace 开发辅助工具.Tools.SmartEditor
IDbInterface db = Itrycn_Db.CreateDataProvider(Itrycn_Db.dataType);
if (db.ConnDb(Itrycn_Db.User_SQLConn) == 1)
{
DataSet ds = db.ReadData("select * from Site");
DataSet ds = db.ReadData("select * from Site where Disabled<>1");
if (ds.HaveData())
{
for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
@@ -305,7 +305,7 @@ namespace 开发辅助工具.Tools.SmartEditor
IDbInterface db = Itrycn_Db.CreateDataProvider(Itrycn_Db.dataType);
if (db.ConnDb(Itrycn_Db.User_SQLConn) == 1)
{
DataSet ds = db.ReadData("select * from Site");
DataSet ds = db.ReadData("select * from Site where Disabled<>1");
if (ds.HaveData())
{
FrmUploadProg frm = new FrmUploadProg();