Commit 76443dc3 authored by 段廷瑞's avatar 段廷瑞

1、密码解析:放大了文本框,以便加密解密更长的字符串

2、共享文件和帮助文档:增加了创建人、更新人及更新时间
parent 7eb19a20
......@@ -3,7 +3,7 @@
<appSettings>
<add key="LoginInfo" value="wwF/xpBzWek=" />
<add key="LoginVerify" value="v86f5Q3Xa7U=" />
<add key="UpdateTime" value="2021-10-29 17:01:19.230" />
<add key="UpdateTime" value="2021-11-11 16:09:54.743" />
</appSettings>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
......
......@@ -70,6 +70,8 @@ namespace Tools.UI.sys
var drNew = this._ds.Tables[0].NewRow();
if (this.FillRowData(drNew, path))
{
drNew["CreateUser"] = LoginInfo.UserName;
drNew["CreateDate"] = DateTime.Now;
this._ds.Tables[0].Rows.Add(drNew);
}
}
......@@ -92,6 +94,8 @@ namespace Tools.UI.sys
var drNow = this._ds.Tables[0].DefaultView[index].Row;
if (this.FillRowData(drNow, list[0]))
{
drNow["UpdateUser"] = LoginInfo.UserName;
drNow["UpdateDate"] = DateTime.Now;
this.Save();
}
}
......@@ -152,7 +156,6 @@ namespace Tools.UI.sys
dr["dName"] = Path.GetFileName(path);
dr["dSize"] = (bytes.Length / 1024M).ToString("0.##");
dr["dData"] = bytes;
dr["CreateDate"] = DateTime.Now;
dr.EndEdit();
return true;
......
......@@ -87,6 +87,7 @@ namespace Tools.UI
var drNew = this._ds.Tables[0].NewRow();
if (this.FillRowData(drNew, path))
{
drNew["CreateUser"] = LoginInfo.UserName;
drNew["CreateDate"] = DateTime.Now;
this._ds.Tables[0].Rows.Add(drNew);
}
......@@ -110,6 +111,7 @@ namespace Tools.UI
var drNow = this._ds.Tables[0].DefaultView[index].Row;
if (this.FillRowData(drNow, list[0]))
{
drNow["UpdateUser"] = LoginInfo.UserName;
drNow["UpdateDate"] = DateTime.Now;
this.Save();
}
......
......@@ -34,27 +34,34 @@
this.tbResult = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.btnEncrypt = new System.Windows.Forms.Button();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.panel1 = new System.Windows.Forms.Panel();
this.tableLayoutPanel1.SuspendLayout();
this.panel1.SuspendLayout();
this.SuspendLayout();
//
// tbSrcString
//
this.tbSrcString.Location = new System.Drawing.Point(116, 51);
this.tbSrcString.Dock = System.Windows.Forms.DockStyle.Fill;
this.tbSrcString.Location = new System.Drawing.Point(113, 53);
this.tbSrcString.Multiline = true;
this.tbSrcString.Name = "tbSrcString";
this.tbSrcString.Size = new System.Drawing.Size(171, 21);
this.tbSrcString.Size = new System.Drawing.Size(194, 54);
this.tbSrcString.TabIndex = 0;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(81, 54);
this.label1.Dock = System.Windows.Forms.DockStyle.Fill;
this.label1.Location = new System.Drawing.Point(53, 50);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(29, 12);
this.label1.Size = new System.Drawing.Size(54, 60);
this.label1.TabIndex = 1;
this.label1.Text = "文本";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// btnDecrypt
//
this.btnDecrypt.Location = new System.Drawing.Point(116, 78);
this.btnDecrypt.Location = new System.Drawing.Point(3, 1);
this.btnDecrypt.Name = "btnDecrypt";
this.btnDecrypt.Size = new System.Drawing.Size(75, 23);
this.btnDecrypt.TabIndex = 2;
......@@ -64,23 +71,27 @@
//
// tbResult
//
this.tbResult.Location = new System.Drawing.Point(116, 107);
this.tbResult.Dock = System.Windows.Forms.DockStyle.Fill;
this.tbResult.Location = new System.Drawing.Point(113, 143);
this.tbResult.Multiline = true;
this.tbResult.Name = "tbResult";
this.tbResult.Size = new System.Drawing.Size(171, 21);
this.tbResult.Size = new System.Drawing.Size(194, 54);
this.tbResult.TabIndex = 3;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(81, 110);
this.label2.Dock = System.Windows.Forms.DockStyle.Fill;
this.label2.Location = new System.Drawing.Point(53, 140);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(29, 12);
this.label2.Size = new System.Drawing.Size(54, 60);
this.label2.TabIndex = 4;
this.label2.Text = "结果";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// btnEncrypt
//
this.btnEncrypt.Location = new System.Drawing.Point(212, 78);
this.btnEncrypt.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnEncrypt.Location = new System.Drawing.Point(116, 1);
this.btnEncrypt.Name = "btnEncrypt";
this.btnEncrypt.Size = new System.Drawing.Size(75, 23);
this.btnEncrypt.TabIndex = 5;
......@@ -88,22 +99,53 @@
this.btnEncrypt.UseVisualStyleBackColor = true;
this.btnEncrypt.Click += new System.EventHandler(this.btnEncrypt_Click);
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.ColumnCount = 4;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 50F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 60F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 200F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel1.Controls.Add(this.label1, 1, 1);
this.tableLayoutPanel1.Controls.Add(this.label2, 1, 3);
this.tableLayoutPanel1.Controls.Add(this.tbResult, 2, 3);
this.tableLayoutPanel1.Controls.Add(this.tbSrcString, 2, 1);
this.tableLayoutPanel1.Controls.Add(this.panel1, 2, 2);
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 5;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 50F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 60F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 60F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(481, 324);
this.tableLayoutPanel1.TabIndex = 6;
//
// panel1
//
this.panel1.Controls.Add(this.btnEncrypt);
this.panel1.Controls.Add(this.btnDecrypt);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Location = new System.Drawing.Point(113, 113);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(194, 24);
this.panel1.TabIndex = 5;
//
// wLoginPwd
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(377, 213);
this.Controls.Add(this.btnEncrypt);
this.Controls.Add(this.label2);
this.Controls.Add(this.tbResult);
this.Controls.Add(this.btnDecrypt);
this.Controls.Add(this.label1);
this.Controls.Add(this.tbSrcString);
this.ClientSize = new System.Drawing.Size(481, 324);
this.Controls.Add(this.tableLayoutPanel1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "wLoginPwd";
this.Text = "wLoginPwd";
this.tableLayoutPanel1.ResumeLayout(false);
this.tableLayoutPanel1.PerformLayout();
this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
}
......@@ -115,5 +157,7 @@
private System.Windows.Forms.TextBox tbResult;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Button btnEncrypt;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private System.Windows.Forms.Panel panel1;
}
}
\ No newline at end of file
......@@ -34,6 +34,9 @@
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.listView1 = new System.Windows.Forms.ListView();
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
this.tabControl1 = new Tools.MyControls.TabControlEx();
this.HomePage = new System.Windows.Forms.TabPage();
this.label5 = new System.Windows.Forms.Label();
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
this.tsmiSysUpload = new System.Windows.Forms.ToolStripMenuItem();
......@@ -62,19 +65,16 @@
this.label2 = new System.Windows.Forms.Label();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.tabControl1 = new Tools.MyControls.TabControlEx();
this.HomePage = new System.Windows.Forms.TabPage();
this.label5 = new System.Windows.Forms.Label();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
this.tabControl1.SuspendLayout();
this.HomePage.SuspendLayout();
this.menuStrip1.SuspendLayout();
this.Header.SuspendLayout();
this.Footer.SuspendLayout();
this.tabControl1.SuspendLayout();
this.HomePage.SuspendLayout();
this.SuspendLayout();
//
// panel1
......@@ -133,6 +133,47 @@
this.imageList1.Images.SetKeyName(3, "51_工作群组.png");
this.imageList1.Images.SetKeyName(4, "60_空间.png");
//
// tabControl1
//
this.tabControl1.BackgroundColor = System.Drawing.Color.White;
this.tabControl1.Controls.Add(this.HomePage);
this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabControl1.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tabControl1.Location = new System.Drawing.Point(0, 0);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(494, 369);
this.tabControl1.TabActivedBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(101)))), ((int)(((byte)(204)))));
this.tabControl1.TabActivedFontColor = System.Drawing.Color.FromArgb(((int)(((byte)(250)))), ((int)(((byte)(250)))), ((int)(((byte)(250)))));
this.tabControl1.TabDeactivedBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(247)))), ((int)(((byte)(254)))));
this.tabControl1.TabDeactivedBackColorHover = System.Drawing.Color.LightGreen;
this.tabControl1.TabDeactivedFontColor = System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(55)))), ((int)(((byte)(55)))));
this.tabControl1.TabDeactivedFontColorHover = System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(55)))), ((int)(((byte)(55)))));
this.tabControl1.TabIndex = 0;
//
// HomePage
//
this.HomePage.Controls.Add(this.label5);
this.HomePage.Location = new System.Drawing.Point(4, 26);
this.HomePage.Name = "HomePage";
this.HomePage.Padding = new System.Windows.Forms.Padding(3);
this.HomePage.Size = new System.Drawing.Size(486, 339);
this.HomePage.TabIndex = 0;
this.HomePage.Text = "首页";
this.HomePage.UseVisualStyleBackColor = true;
//
// label5
//
this.label5.Dock = System.Windows.Forms.DockStyle.Fill;
this.label5.Font = new System.Drawing.Font("微软雅黑", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label5.ForeColor = System.Drawing.SystemColors.AppWorkspace;
this.label5.Location = new System.Drawing.Point(3, 3);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(480, 333);
this.label5.TabIndex = 4;
this.label5.Text = "欢迎使用飞天兔工具平台";
this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// menuStrip1
//
this.menuStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(245)))), ((int)(((byte)(255)))));
......@@ -393,9 +434,9 @@
this.lbSysLoginUser.ForeColor = System.Drawing.Color.White;
this.lbSysLoginUser.Location = new System.Drawing.Point(61, 4);
this.lbSysLoginUser.Name = "lbSysLoginUser";
this.lbSysLoginUser.Size = new System.Drawing.Size(96, 20);
this.lbSysLoginUser.Size = new System.Drawing.Size(76, 20);
this.lbSysLoginUser.TabIndex = 6;
this.lbSysLoginUser.Text = "飞天兔开放平台";
this.lbSysLoginUser.Text = "临时用户";
this.lbSysLoginUser.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.toolTip1.SetToolTip(this.lbSysLoginUser, "点击登录");
//
......@@ -418,47 +459,6 @@
this.timer1.Interval = 1000;
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// tabControl1
//
this.tabControl1.BackgroundColor = System.Drawing.Color.White;
this.tabControl1.Controls.Add(this.HomePage);
this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabControl1.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tabControl1.Location = new System.Drawing.Point(0, 0);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(494, 369);
this.tabControl1.TabActivedBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(101)))), ((int)(((byte)(204)))));
this.tabControl1.TabActivedFontColor = System.Drawing.Color.FromArgb(((int)(((byte)(250)))), ((int)(((byte)(250)))), ((int)(((byte)(250)))));
this.tabControl1.TabDeactivedBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(247)))), ((int)(((byte)(254)))));
this.tabControl1.TabDeactivedBackColorHover = System.Drawing.Color.LightGreen;
this.tabControl1.TabDeactivedFontColor = System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(55)))), ((int)(((byte)(55)))));
this.tabControl1.TabDeactivedFontColorHover = System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(55)))), ((int)(((byte)(55)))));
this.tabControl1.TabIndex = 0;
//
// HomePage
//
this.HomePage.Controls.Add(this.label5);
this.HomePage.Location = new System.Drawing.Point(4, 26);
this.HomePage.Name = "HomePage";
this.HomePage.Padding = new System.Windows.Forms.Padding(3);
this.HomePage.Size = new System.Drawing.Size(486, 339);
this.HomePage.TabIndex = 0;
this.HomePage.Text = "首页";
this.HomePage.UseVisualStyleBackColor = true;
//
// label5
//
this.label5.Dock = System.Windows.Forms.DockStyle.Fill;
this.label5.Font = new System.Drawing.Font("微软雅黑", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label5.ForeColor = System.Drawing.SystemColors.AppWorkspace;
this.label5.Location = new System.Drawing.Point(3, 3);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(480, 333);
this.label5.TabIndex = 4;
this.label5.Text = "欢迎使用飞天兔工具平台";
this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// wMain
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
......@@ -477,12 +477,12 @@
this.splitContainer1.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
this.splitContainer1.ResumeLayout(false);
this.tabControl1.ResumeLayout(false);
this.HomePage.ResumeLayout(false);
this.menuStrip1.ResumeLayout(false);
this.menuStrip1.PerformLayout();
this.Header.ResumeLayout(false);
this.Footer.ResumeLayout(false);
this.tabControl1.ResumeLayout(false);
this.HomePage.ResumeLayout(false);
this.ResumeLayout(false);
}
......
......@@ -125,7 +125,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAD0
EgAAAk1TRnQBSQFMAgEBBQEAAbABAAGwAQABIAEAASABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
EgAAAk1TRnQBSQFMAgEBBQEAAbgBAAG4AQABIAEAASABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABgAMAAUADAAEBAQABCAYAASAYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
......@@ -214,9 +214,6 @@
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>713, 17</value>
</metadata>
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>713, 17</value>
</metadata>
<metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>814, 17</value>
</metadata>
......
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