汉化zgc authored at 11/28/2023 1:00:12 PM zgc committed at 11/28/2023 1:00:26 PM
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/Commands/EditConnectionsFormCommand.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/Commands/EditConnectionsFormCommand.cs
index c79e403..bce056e 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/Commands/EditConnectionsFormCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/Commands/EditConnectionsFormCommand.cs
@@ -15,7 +15,7 @@ namespace MiniSqlQuery.PlugIns.ConnectionStringsManager.Commands
{
/// <summary>Initializes a new instance of the <see cref="EditConnectionsFormCommand"/> class.</summary>
public EditConnectionsFormCommand()
- : base("&Edit Connection Strings")
+ : base("&E编辑连接字符串")
{
SmallImage = ImageResource.database_edit;
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/ConnectionStringBuilderForm.Designer.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/ConnectionStringBuilderForm.Designer.cs
index 36e0d03..4d35c22 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/ConnectionStringBuilderForm.Designer.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/ConnectionStringBuilderForm.Designer.cs
@@ -28,180 +28,180 @@
/// </summary>
private void InitializeComponent()
{
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ConnectionStringBuilderForm));
- this.cboProvider = new System.Windows.Forms.ComboBox();
- this.label1 = new System.Windows.Forms.Label();
- this.groupBox1 = new System.Windows.Forms.GroupBox();
- this.propertyGridDbConnection = new System.Windows.Forms.PropertyGrid();
- this.label2 = new System.Windows.Forms.Label();
- this.txtConnectionName = new System.Windows.Forms.TextBox();
- this.toolStrip1 = new System.Windows.Forms.ToolStrip();
- this.toolStripButtonOk = new System.Windows.Forms.ToolStripButton();
- this.toolStripButtonCancel = new System.Windows.Forms.ToolStripButton();
- this.txtComments = new System.Windows.Forms.TextBox();
- this.label3 = new System.Windows.Forms.Label();
- this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
- this.toolStripButtonTest = new System.Windows.Forms.ToolStripButton();
- this.groupBox1.SuspendLayout();
- this.toolStrip1.SuspendLayout();
- this.SuspendLayout();
- //
- // cboProvider
- //
- this.cboProvider.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.cboProvider.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.cboProvider.FormattingEnabled = true;
- this.cboProvider.Location = new System.Drawing.Point(120, 94);
- this.cboProvider.Name = "cboProvider";
- this.cboProvider.Size = new System.Drawing.Size(295, 21);
- this.cboProvider.TabIndex = 5;
- this.cboProvider.SelectedIndexChanged += new System.EventHandler(this.cboProvider_SelectedIndexChanged);
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(12, 97);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(46, 13);
- this.label1.TabIndex = 4;
- this.label1.Text = "Provider";
- //
- // groupBox1
- //
- this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.groupBox1.Controls.Add(this.propertyGridDbConnection);
- this.groupBox1.Location = new System.Drawing.Point(12, 121);
- this.groupBox1.Name = "groupBox1";
- this.groupBox1.Size = new System.Drawing.Size(403, 288);
- this.groupBox1.TabIndex = 10;
- this.groupBox1.TabStop = false;
- this.groupBox1.Text = "Connection Settings";
- //
- // propertyGridDbConnection
- //
- this.propertyGridDbConnection.Dock = System.Windows.Forms.DockStyle.Fill;
- this.propertyGridDbConnection.Location = new System.Drawing.Point(3, 16);
- this.propertyGridDbConnection.Name = "propertyGridDbConnection";
- this.propertyGridDbConnection.Size = new System.Drawing.Size(397, 269);
- this.propertyGridDbConnection.TabIndex = 0;
- this.propertyGridDbConnection.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.propertyGridDbConnection_PropertyValueChanged);
- //
- // label2
- //
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(12, 15);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(35, 13);
- this.label2.TabIndex = 0;
- this.label2.Text = "Name";
- //
- // txtConnectionName
- //
- this.txtConnectionName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.txtConnectionName.Location = new System.Drawing.Point(120, 12);
- this.txtConnectionName.Name = "txtConnectionName";
- this.txtConnectionName.Size = new System.Drawing.Size(295, 20);
- this.txtConnectionName.TabIndex = 1;
- this.txtConnectionName.TextChanged += new System.EventHandler(this.ItemsTextChanged);
- //
- // toolStrip1
- //
- this.toolStrip1.Dock = System.Windows.Forms.DockStyle.Bottom;
- this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ConnectionStringBuilderForm));
+ this.cboProvider = new System.Windows.Forms.ComboBox();
+ this.label1 = new System.Windows.Forms.Label();
+ this.groupBox1 = new System.Windows.Forms.GroupBox();
+ this.propertyGridDbConnection = new System.Windows.Forms.PropertyGrid();
+ this.label2 = new System.Windows.Forms.Label();
+ this.txtConnectionName = new System.Windows.Forms.TextBox();
+ this.toolStrip1 = new System.Windows.Forms.ToolStrip();
+ this.toolStripButtonOk = new System.Windows.Forms.ToolStripButton();
+ this.toolStripButtonCancel = new System.Windows.Forms.ToolStripButton();
+ this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
+ this.toolStripButtonTest = new System.Windows.Forms.ToolStripButton();
+ this.txtComments = new System.Windows.Forms.TextBox();
+ this.label3 = new System.Windows.Forms.Label();
+ this.groupBox1.SuspendLayout();
+ this.toolStrip1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // cboProvider
+ //
+ this.cboProvider.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.cboProvider.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ this.cboProvider.FormattingEnabled = true;
+ this.cboProvider.Location = new System.Drawing.Point(120, 87);
+ this.cboProvider.Name = "cboProvider";
+ this.cboProvider.Size = new System.Drawing.Size(295, 20);
+ this.cboProvider.TabIndex = 5;
+ this.cboProvider.SelectedIndexChanged += new System.EventHandler(this.cboProvider_SelectedIndexChanged);
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Location = new System.Drawing.Point(12, 90);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(29, 12);
+ this.label1.TabIndex = 4;
+ this.label1.Text = "驱动";
+ //
+ // groupBox1
+ //
+ this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.groupBox1.Controls.Add(this.propertyGridDbConnection);
+ this.groupBox1.Location = new System.Drawing.Point(12, 112);
+ this.groupBox1.Name = "groupBox1";
+ this.groupBox1.Size = new System.Drawing.Size(403, 266);
+ this.groupBox1.TabIndex = 10;
+ this.groupBox1.TabStop = false;
+ this.groupBox1.Text = "连接设置";
+ //
+ // propertyGridDbConnection
+ //
+ this.propertyGridDbConnection.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.propertyGridDbConnection.Location = new System.Drawing.Point(3, 17);
+ this.propertyGridDbConnection.Name = "propertyGridDbConnection";
+ this.propertyGridDbConnection.Size = new System.Drawing.Size(397, 246);
+ this.propertyGridDbConnection.TabIndex = 0;
+ this.propertyGridDbConnection.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.propertyGridDbConnection_PropertyValueChanged);
+ //
+ // label2
+ //
+ this.label2.AutoSize = true;
+ this.label2.Location = new System.Drawing.Point(12, 14);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(29, 12);
+ this.label2.TabIndex = 0;
+ this.label2.Text = "名称";
+ //
+ // txtConnectionName
+ //
+ this.txtConnectionName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.txtConnectionName.Location = new System.Drawing.Point(120, 11);
+ this.txtConnectionName.Name = "txtConnectionName";
+ this.txtConnectionName.Size = new System.Drawing.Size(295, 21);
+ this.txtConnectionName.TabIndex = 1;
+ this.txtConnectionName.TextChanged += new System.EventHandler(this.ItemsTextChanged);
+ //
+ // toolStrip1
+ //
+ this.toolStrip1.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripButtonOk,
this.toolStripButtonCancel,
this.toolStripSeparator1,
this.toolStripButtonTest});
- this.toolStrip1.Location = new System.Drawing.Point(0, 412);
- this.toolStrip1.Name = "toolStrip1";
- this.toolStrip1.Size = new System.Drawing.Size(427, 25);
- this.toolStrip1.TabIndex = 15;
- this.toolStrip1.Text = "toolStrip1";
- //
- // toolStripButtonOk
- //
- this.toolStripButtonOk.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
- this.toolStripButtonOk.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonOk.Image")));
- this.toolStripButtonOk.ImageTransparentColor = System.Drawing.Color.Magenta;
- this.toolStripButtonOk.Name = "toolStripButtonOk";
- this.toolStripButtonOk.Size = new System.Drawing.Size(27, 22);
- this.toolStripButtonOk.Text = "&OK";
- this.toolStripButtonOk.Click += new System.EventHandler(this.toolStripButtonOk_Click);
- //
- // toolStripButtonCancel
- //
- this.toolStripButtonCancel.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
- this.toolStripButtonCancel.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonCancel.Image")));
- this.toolStripButtonCancel.ImageTransparentColor = System.Drawing.Color.Magenta;
- this.toolStripButtonCancel.Name = "toolStripButtonCancel";
- this.toolStripButtonCancel.Size = new System.Drawing.Size(47, 22);
- this.toolStripButtonCancel.Text = "&Cancel";
- this.toolStripButtonCancel.Click += new System.EventHandler(this.toolStripButtonCancel_Click);
- //
- // txtComments
- //
- this.txtComments.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.txtComments.Location = new System.Drawing.Point(120, 38);
- this.txtComments.Multiline = true;
- this.txtComments.Name = "txtComments";
- this.txtComments.Size = new System.Drawing.Size(295, 50);
- this.txtComments.TabIndex = 3;
- this.txtComments.TextChanged += new System.EventHandler(this.ItemsTextChanged);
- //
- // label3
- //
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(12, 41);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(56, 13);
- this.label3.TabIndex = 2;
- this.label3.Text = "Comments";
- //
- // toolStripSeparator1
- //
- this.toolStripSeparator1.Name = "toolStripSeparator1";
- this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
- //
- // toolStripButtonTest
- //
- this.toolStripButtonTest.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
- this.toolStripButtonTest.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonTest.Image")));
- this.toolStripButtonTest.ImageTransparentColor = System.Drawing.Color.Magenta;
- this.toolStripButtonTest.Name = "toolStripButtonTest";
- this.toolStripButtonTest.Size = new System.Drawing.Size(42, 22);
- this.toolStripButtonTest.Text = "Test...";
- this.toolStripButtonTest.Click += new System.EventHandler(this.toolStripButtonTest_Click);
- //
- // ConnectionStringBuilderForm
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(427, 437);
- this.Controls.Add(this.txtComments);
- this.Controls.Add(this.label3);
- this.Controls.Add(this.toolStrip1);
- this.Controls.Add(this.txtConnectionName);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.groupBox1);
- this.Controls.Add(this.label1);
- this.Controls.Add(this.cboProvider);
- this.MaximizeBox = false;
- this.MinimizeBox = false;
- this.Name = "ConnectionStringBuilderForm";
- this.Text = "Connection String Builder";
- this.Load += new System.EventHandler(this.ConnectionStringBuilderForm_Load);
- this.Shown += new System.EventHandler(this.ConnectionStringBuilderForm_Shown);
- this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ConnectionStringBuilderForm_FormClosing);
- this.groupBox1.ResumeLayout(false);
- this.toolStrip1.ResumeLayout(false);
- this.toolStrip1.PerformLayout();
- this.ResumeLayout(false);
- this.PerformLayout();
+ this.toolStrip1.Location = new System.Drawing.Point(0, 378);
+ this.toolStrip1.Name = "toolStrip1";
+ this.toolStrip1.Size = new System.Drawing.Size(427, 25);
+ this.toolStrip1.TabIndex = 15;
+ this.toolStrip1.Text = "toolStrip1";
+ //
+ // toolStripButtonOk
+ //
+ this.toolStripButtonOk.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
+ this.toolStripButtonOk.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonOk.Image")));
+ this.toolStripButtonOk.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.toolStripButtonOk.Name = "toolStripButtonOk";
+ this.toolStripButtonOk.Size = new System.Drawing.Size(46, 22);
+ this.toolStripButtonOk.Text = "&O确定";
+ this.toolStripButtonOk.Click += new System.EventHandler(this.toolStripButtonOk_Click);
+ //
+ // toolStripButtonCancel
+ //
+ this.toolStripButtonCancel.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
+ this.toolStripButtonCancel.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonCancel.Image")));
+ this.toolStripButtonCancel.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.toolStripButtonCancel.Name = "toolStripButtonCancel";
+ this.toolStripButtonCancel.Size = new System.Drawing.Size(44, 22);
+ this.toolStripButtonCancel.Text = "&C取消";
+ this.toolStripButtonCancel.Click += new System.EventHandler(this.toolStripButtonCancel_Click);
+ //
+ // toolStripSeparator1
+ //
+ this.toolStripSeparator1.Name = "toolStripSeparator1";
+ this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
+ //
+ // toolStripButtonTest
+ //
+ this.toolStripButtonTest.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
+ this.toolStripButtonTest.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonTest.Image")));
+ this.toolStripButtonTest.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.toolStripButtonTest.Name = "toolStripButtonTest";
+ this.toolStripButtonTest.Size = new System.Drawing.Size(45, 22);
+ this.toolStripButtonTest.Text = "测试...";
+ this.toolStripButtonTest.Click += new System.EventHandler(this.toolStripButtonTest_Click);
+ //
+ // txtComments
+ //
+ this.txtComments.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.txtComments.Location = new System.Drawing.Point(120, 35);
+ this.txtComments.Multiline = true;
+ this.txtComments.Name = "txtComments";
+ this.txtComments.Size = new System.Drawing.Size(295, 46);
+ this.txtComments.TabIndex = 3;
+ this.txtComments.TextChanged += new System.EventHandler(this.ItemsTextChanged);
+ //
+ // label3
+ //
+ this.label3.AutoSize = true;
+ this.label3.Location = new System.Drawing.Point(12, 38);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(29, 12);
+ this.label3.TabIndex = 2;
+ this.label3.Text = "描述";
+ //
+ // ConnectionStringBuilderForm
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(427, 403);
+ this.Controls.Add(this.txtComments);
+ this.Controls.Add(this.label3);
+ this.Controls.Add(this.toolStrip1);
+ this.Controls.Add(this.txtConnectionName);
+ this.Controls.Add(this.label2);
+ this.Controls.Add(this.groupBox1);
+ this.Controls.Add(this.label1);
+ this.Controls.Add(this.cboProvider);
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.Name = "ConnectionStringBuilderForm";
+ this.Text = "连接字符串创建";
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ConnectionStringBuilderForm_FormClosing);
+ this.Load += new System.EventHandler(this.ConnectionStringBuilderForm_Load);
+ this.Shown += new System.EventHandler(this.ConnectionStringBuilderForm_Shown);
+ this.groupBox1.ResumeLayout(false);
+ this.toolStrip1.ResumeLayout(false);
+ this.toolStrip1.PerformLayout();
+ this.ResumeLayout(false);
+ this.PerformLayout();
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/ConnectionStringBuilderForm.resx b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/ConnectionStringBuilderForm.resx
index bfb5614..914b6aa 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/ConnectionStringBuilderForm.resx
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/ConnectionStringBuilderForm.resx
@@ -112,58 +112,58 @@
<value>2.0</value>
</resheader>
<resheader name="reader">
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
- <metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+ <metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
- <assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
+ <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="toolStripButtonOk.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAgxJREFUOE+lkvtL
- U2EYx+0PEbtpFwnBKPGKiJImGP0gYhIYs1E5GF5gIxkpA00JRSmMEF0ohMh+GaRWYlqabMVcNdS2QpaI
- VqiDIYhk397vA6fXhCjyhYdzeM/5fp7vczkAdeL2cwho7v/wWzT1zcN+Pwhr51uY2/y41PQaF+wzKKiZ
- QvaN58g0jyLd5KEUcQbg+84P/Cm2tncQjW3j68YWIqubCC3FcOJc478BAuGoZM6zvoRnakXEruEIjhc4
- /g5gZop9c+voGAyLbQIfeBZxLL9BA1jzXvuGbWamuKh+GmmVbswE19A59FEBbmoAG7YbsLtm2mZmiml9
- cvabNDwpz6YB7LYBoMXCumkJr7LOmnnHzBQ/9X2Bo2cOibm1GsBREbAQiYmw/8lnuCeWkVzcgnZlnw1j
- 3HV/wuNXK6i/9x5Hc6wawDlTXHbLJ+LZUBQPRyKwdQdxutwl1h+NLXHh5Ht1ewBHsiwawCW57HyDAfWR
- dvl0uhZQ1eqX8aVc7EKLqrum651ATLf9OJx5XQM4KmY0xPzZ0hFAiQJnXB0WwME0E3IsL5B17ZlADqWb
- NYDrOepdlcysmTWWOrxqbceRWtaLk0VO1XW72D5Vckd2gMBfq8zdpmUG62NJvKM4+XyziDk24xmfWoGE
- s1c0gHPmbrPTpHNJKOCo2G1mZs20zcwUJ5yp1AB5+8/zEwgF5GMVDxh4AAAAAElFTkSuQmCC
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
+ YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
+ 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
+ bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
+ VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
+ c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
+ Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
+ mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
+ kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
+ TgDQASA1MVpwzwAAAABJRU5ErkJggg==
</value>
</data>
<data name="toolStripButtonCancel.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAgxJREFUOE+lkvtL
- U2EYx+0PEbtpFwnBKPGKiJImGP0gYhIYs1E5GF5gIxkpA00JRSmMEF0ohMh+GaRWYlqabMVcNdS2QpaI
- VqiDIYhk397vA6fXhCjyhYdzeM/5fp7vczkAdeL2cwho7v/wWzT1zcN+Pwhr51uY2/y41PQaF+wzKKiZ
- QvaN58g0jyLd5KEUcQbg+84P/Cm2tncQjW3j68YWIqubCC3FcOJc478BAuGoZM6zvoRnakXEruEIjhc4
- /g5gZop9c+voGAyLbQIfeBZxLL9BA1jzXvuGbWamuKh+GmmVbswE19A59FEBbmoAG7YbsLtm2mZmiml9
- cvabNDwpz6YB7LYBoMXCumkJr7LOmnnHzBQ/9X2Bo2cOibm1GsBREbAQiYmw/8lnuCeWkVzcgnZlnw1j
- 3HV/wuNXK6i/9x5Hc6wawDlTXHbLJ+LZUBQPRyKwdQdxutwl1h+NLXHh5Ht1ewBHsiwawCW57HyDAfWR
- dvl0uhZQ1eqX8aVc7EKLqrum651ATLf9OJx5XQM4KmY0xPzZ0hFAiQJnXB0WwME0E3IsL5B17ZlADqWb
- NYDrOepdlcysmTWWOrxqbceRWtaLk0VO1XW72D5Vckd2gMBfq8zdpmUG62NJvKM4+XyziDk24xmfWoGE
- s1c0gHPmbrPTpHNJKOCo2G1mZs20zcwUJ5yp1AB5+8/zEwgF5GMVDxh4AAAAAElFTkSuQmCC
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
+ YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
+ 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
+ bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
+ VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
+ c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
+ Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
+ mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
+ kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
+ TgDQASA1MVpwzwAAAABJRU5ErkJggg==
</value>
</data>
<data name="toolStripButtonTest.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAgxJREFUOE+lkvtL
- U2EYx+0PEbtpFwnBKPGKiJImGP0gYhIYs1E5GF5gIxkpA00JRSmMEF0ohMh+GaRWYlqabMVcNdS2QpaI
- VqiDIYhk397vA6fXhCjyhYdzeM/5fp7vczkAdeL2cwho7v/wWzT1zcN+Pwhr51uY2/y41PQaF+wzKKiZ
- QvaN58g0jyLd5KEUcQbg+84P/Cm2tncQjW3j68YWIqubCC3FcOJc478BAuGoZM6zvoRnakXEruEIjhc4
- /g5gZop9c+voGAyLbQIfeBZxLL9BA1jzXvuGbWamuKh+GmmVbswE19A59FEBbmoAG7YbsLtm2mZmiml9
- cvabNDwpz6YB7LYBoMXCumkJr7LOmnnHzBQ/9X2Bo2cOibm1GsBREbAQiYmw/8lnuCeWkVzcgnZlnw1j
- 3HV/wuNXK6i/9x5Hc6wawDlTXHbLJ+LZUBQPRyKwdQdxutwl1h+NLXHh5Ht1ewBHsiwawCW57HyDAfWR
- dvl0uhZQ1eqX8aVc7EKLqrum651ATLf9OJx5XQM4KmY0xPzZ0hFAiQJnXB0WwME0E3IsL5B17ZlADqWb
- NYDrOepdlcysmTWWOrxqbceRWtaLk0VO1XW72D5Vckd2gMBfq8zdpmUG62NJvKM4+XyziDk24xmfWoGE
- s1c0gHPmbrPTpHNJKOCo2G1mZs20zcwUJ5yp1AB5+8/zEwgF5GMVDxh4AAAAAElFTkSuQmCC
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
+ YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
+ 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
+ bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
+ VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
+ c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
+ Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
+ mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
+ kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
+ TgDQASA1MVpwzwAAAABJRU5ErkJggg==
</value>
</data>
</root>
\ No newline at end of file
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/ConnectionStringsManagerLoader.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/ConnectionStringsManagerLoader.cs
index 5f8965c..ac3a2fe 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/ConnectionStringsManagerLoader.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/ConnectionStringsManagerLoader.cs
@@ -16,8 +16,8 @@ namespace MiniSqlQuery.PlugIns.ConnectionStringsManager
{
/// <summary>Initializes a new instance of the <see cref="ConnectionStringsManagerLoader"/> class.</summary>
public ConnectionStringsManagerLoader() : base(
- "Connection String Manager",
- "A Mini SQL Query Plugin for managing the list of connection strings.",
+ "连接字符串管理",
+ "用于管理连接字符串列表的迷你SQL查询插件.",
10)
{
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/DbConnectionsForm.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/DbConnectionsForm.cs
index b3fdbbc..c7a940d 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/DbConnectionsForm.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/DbConnectionsForm.cs
@@ -312,13 +312,13 @@ namespace MiniSqlQuery.PlugIns.ConnectionStringsManager
Exception exp = QueryRunner.TestDbConnection(definition.ProviderName, definition.ConnectionString);
if (exp == null)
{
- string msg = string.Format("Connected to '{0}' successfully.", definition.Name);
- _hostWindow.DisplaySimpleMessageBox(this, msg, "Connection Successful");
+ string msg = string.Format("连接数据库'{0}' 成功.", definition.Name);
+ _hostWindow.DisplaySimpleMessageBox(this, msg, "连接成功");
}
else
{
- string msg = string.Format("Failed connecting to '{0}'.{1}{2}", definition.Name, Environment.NewLine, exp.Message);
- _hostWindow.DisplaySimpleMessageBox(this, msg, "Connection Failed");
+ string msg = string.Format("连接失败'{0}'.{1}{2}", definition.Name, Environment.NewLine, exp.Message);
+ _hostWindow.DisplaySimpleMessageBox(this, msg, "连接失败");
}
}
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/DbConnectionsForm.Designer.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/DbConnectionsForm.Designer.cs
index ea1f002..6933dcb 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/DbConnectionsForm.Designer.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/DbConnectionsForm.Designer.cs
@@ -66,9 +66,9 @@
this.toolStripButtonDelete,
this.toolStripSeparator2,
this.toolStripButtonTest});
- this.toolStrip1.Location = new System.Drawing.Point(0, 342);
+ this.toolStrip1.Location = new System.Drawing.Point(0, 252);
this.toolStrip1.Name = "toolStrip1";
- this.toolStrip1.Size = new System.Drawing.Size(881, 27);
+ this.toolStrip1.Size = new System.Drawing.Size(661, 25);
this.toolStrip1.TabIndex = 4;
this.toolStrip1.Text = "toolStrip1";
//
@@ -78,8 +78,8 @@
this.toolStripButtonOk.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonOk.Image")));
this.toolStripButtonOk.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButtonOk.Name = "toolStripButtonOk";
- this.toolStripButtonOk.Size = new System.Drawing.Size(33, 24);
- this.toolStripButtonOk.Text = "&OK";
+ this.toolStripButtonOk.Size = new System.Drawing.Size(46, 22);
+ this.toolStripButtonOk.Text = "&O确定";
this.toolStripButtonOk.Click += new System.EventHandler(this.toolStripButtonOk_Click);
//
// toolStripButtonCancel
@@ -88,22 +88,22 @@
this.toolStripButtonCancel.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonCancel.Image")));
this.toolStripButtonCancel.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButtonCancel.Name = "toolStripButtonCancel";
- this.toolStripButtonCancel.Size = new System.Drawing.Size(57, 24);
- this.toolStripButtonCancel.Text = "&Cancel";
+ this.toolStripButtonCancel.Size = new System.Drawing.Size(44, 22);
+ this.toolStripButtonCancel.Text = "&C取消";
this.toolStripButtonCancel.Click += new System.EventHandler(this.toolStripButtonCancel_Click);
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
- this.toolStripSeparator1.Size = new System.Drawing.Size(6, 27);
+ this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
//
// toolStripButtonAdd
//
this.toolStripButtonAdd.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonAdd.Image")));
this.toolStripButtonAdd.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButtonAdd.Name = "toolStripButtonAdd";
- this.toolStripButtonAdd.Size = new System.Drawing.Size(57, 24);
- this.toolStripButtonAdd.Text = "Add";
+ this.toolStripButtonAdd.Size = new System.Drawing.Size(52, 22);
+ this.toolStripButtonAdd.Text = "添加";
this.toolStripButtonAdd.ToolTipText = "Add";
this.toolStripButtonAdd.Click += new System.EventHandler(this.toolStripButtonAdd_Click);
//
@@ -112,8 +112,8 @@
this.toolStripButtonCopyAsNew.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonCopyAsNew.Image")));
this.toolStripButtonCopyAsNew.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButtonCopyAsNew.Name = "toolStripButtonCopyAsNew";
- this.toolStripButtonCopyAsNew.Size = new System.Drawing.Size(115, 24);
- this.toolStripButtonCopyAsNew.Text = "Copy as New";
+ this.toolStripButtonCopyAsNew.Size = new System.Drawing.Size(76, 22);
+ this.toolStripButtonCopyAsNew.Text = "复制新建";
this.toolStripButtonCopyAsNew.Click += new System.EventHandler(this.toolStripButtonCopyAsNew_Click);
//
// toolStripButtonEditConnStr
@@ -121,8 +121,8 @@
this.toolStripButtonEditConnStr.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonEditConnStr.Image")));
this.toolStripButtonEditConnStr.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButtonEditConnStr.Name = "toolStripButtonEditConnStr";
- this.toolStripButtonEditConnStr.Size = new System.Drawing.Size(55, 24);
- this.toolStripButtonEditConnStr.Text = "Edit";
+ this.toolStripButtonEditConnStr.Size = new System.Drawing.Size(52, 22);
+ this.toolStripButtonEditConnStr.Text = "编辑";
this.toolStripButtonEditConnStr.Click += new System.EventHandler(this.toolStripButtonEditConnStr_Click);
//
// toolStripButtonDelete
@@ -130,14 +130,14 @@
this.toolStripButtonDelete.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonDelete.Image")));
this.toolStripButtonDelete.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButtonDelete.Name = "toolStripButtonDelete";
- this.toolStripButtonDelete.Size = new System.Drawing.Size(73, 24);
- this.toolStripButtonDelete.Text = "Delete";
+ this.toolStripButtonDelete.Size = new System.Drawing.Size(52, 22);
+ this.toolStripButtonDelete.Text = "删除";
this.toolStripButtonDelete.Click += new System.EventHandler(this.toolStripButtonDelete_Click);
//
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
- this.toolStripSeparator2.Size = new System.Drawing.Size(6, 27);
+ this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25);
//
// toolStripButtonTest
//
@@ -145,8 +145,8 @@
this.toolStripButtonTest.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonTest.Image")));
this.toolStripButtonTest.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButtonTest.Name = "toolStripButtonTest";
- this.toolStripButtonTest.Size = new System.Drawing.Size(49, 24);
- this.toolStripButtonTest.Text = "Test...";
+ this.toolStripButtonTest.Size = new System.Drawing.Size(45, 22);
+ this.toolStripButtonTest.Text = "测试...";
this.toolStripButtonTest.Click += new System.EventHandler(this.toolStripButtonTest_Click);
//
// lstConnections
@@ -154,11 +154,10 @@
this.lstConnections.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.lstConnections.FormattingEnabled = true;
- this.lstConnections.ItemHeight = 16;
- this.lstConnections.Location = new System.Drawing.Point(16, 15);
- this.lstConnections.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+ this.lstConnections.ItemHeight = 12;
+ this.lstConnections.Location = new System.Drawing.Point(12, 11);
this.lstConnections.Name = "lstConnections";
- this.lstConnections.Size = new System.Drawing.Size(335, 292);
+ this.lstConnections.Size = new System.Drawing.Size(252, 220);
this.lstConnections.TabIndex = 5;
this.lstConnections.SelectedValueChanged += new System.EventHandler(this.lstConnections_SelectedValueChanged);
this.lstConnections.DoubleClick += new System.EventHandler(this.lstConnections_DoubleClick);
@@ -176,117 +175,106 @@
this.grpDetails.Controls.Add(this.label2);
this.grpDetails.Controls.Add(this.txtName);
this.grpDetails.Controls.Add(this.label1);
- this.grpDetails.Location = new System.Drawing.Point(360, 15);
- this.grpDetails.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+ this.grpDetails.Location = new System.Drawing.Point(270, 11);
this.grpDetails.Name = "grpDetails";
- this.grpDetails.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.grpDetails.Size = new System.Drawing.Size(505, 319);
+ this.grpDetails.Size = new System.Drawing.Size(379, 239);
this.grpDetails.TabIndex = 6;
this.grpDetails.TabStop = false;
- this.grpDetails.Text = "Details";
+ this.grpDetails.Text = "详细";
//
// txtComment
//
this.txtComment.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
- this.txtComment.Location = new System.Drawing.Point(133, 206);
- this.txtComment.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+ this.txtComment.Location = new System.Drawing.Point(100, 154);
this.txtComment.Multiline = true;
this.txtComment.Name = "txtComment";
this.txtComment.ReadOnly = true;
- this.txtComment.Size = new System.Drawing.Size(363, 105);
+ this.txtComment.Size = new System.Drawing.Size(273, 80);
this.txtComment.TabIndex = 7;
//
// label4
//
this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(8, 209);
- this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label4.Location = new System.Drawing.Point(6, 157);
this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(67, 17);
+ this.label4.Size = new System.Drawing.Size(29, 12);
this.label4.TabIndex = 6;
- this.label4.Text = "Comment";
+ this.label4.Text = "描述";
//
// txtConn
//
this.txtConn.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
- this.txtConn.Location = new System.Drawing.Point(133, 87);
- this.txtConn.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+ this.txtConn.Location = new System.Drawing.Point(100, 65);
this.txtConn.Multiline = true;
this.txtConn.Name = "txtConn";
this.txtConn.ReadOnly = true;
- this.txtConn.Size = new System.Drawing.Size(363, 110);
+ this.txtConn.Size = new System.Drawing.Size(273, 84);
this.txtConn.TabIndex = 5;
//
// label3
//
this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(8, 91);
- this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label3.Location = new System.Drawing.Point(6, 68);
this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(79, 17);
+ this.label3.Size = new System.Drawing.Size(29, 12);
this.label3.TabIndex = 4;
- this.label3.Text = "Connection";
+ this.label3.Text = "连接";
//
// txtProvider
//
this.txtProvider.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
- this.txtProvider.Location = new System.Drawing.Point(133, 55);
- this.txtProvider.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+ this.txtProvider.Location = new System.Drawing.Point(100, 41);
this.txtProvider.Name = "txtProvider";
this.txtProvider.ReadOnly = true;
- this.txtProvider.Size = new System.Drawing.Size(363, 22);
+ this.txtProvider.Size = new System.Drawing.Size(273, 21);
this.txtProvider.TabIndex = 3;
//
// label2
//
this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(8, 59);
- this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label2.Location = new System.Drawing.Point(6, 44);
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(61, 17);
+ this.label2.Size = new System.Drawing.Size(29, 12);
this.label2.TabIndex = 2;
- this.label2.Text = "Provider";
+ this.label2.Text = "驱动";
//
// txtName
//
this.txtName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
- this.txtName.Location = new System.Drawing.Point(133, 23);
- this.txtName.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+ this.txtName.Location = new System.Drawing.Point(100, 17);
this.txtName.Name = "txtName";
this.txtName.ReadOnly = true;
- this.txtName.Size = new System.Drawing.Size(363, 22);
+ this.txtName.Size = new System.Drawing.Size(273, 21);
this.txtName.TabIndex = 1;
//
// label1
//
this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(8, 27);
- this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label1.Location = new System.Drawing.Point(6, 20);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(45, 17);
+ this.label1.Size = new System.Drawing.Size(29, 12);
this.label1.TabIndex = 0;
- this.label1.Text = "Name";
+ this.label1.Text = "名称";
//
// DbConnectionsForm
//
- this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(881, 369);
+ this.ClientSize = new System.Drawing.Size(661, 277);
this.Controls.Add(this.grpDetails);
this.Controls.Add(this.lstConnections);
this.Controls.Add(this.toolStrip1);
- this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "DbConnectionsForm";
this.ShowIcon = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
- this.Text = "Database Connection List Editor";
+ this.Text = "数据库连接列表编辑器";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.DbConnectionsForm_FormClosing);
this.Load += new System.EventHandler(this.DbConnectionsForm_Load);
this.Shown += new System.EventHandler(this.DbConnectionsForm_Shown);
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/DbConnectionsForm.resx b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/DbConnectionsForm.resx
index 3b9a305..6495345 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/DbConnectionsForm.resx
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/DbConnectionsForm.resx
@@ -112,19 +112,19 @@
<value>2.0</value>
</resheader>
<resheader name="reader">
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
- <metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+ <metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
- <assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
+ <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="toolStripButtonOk.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
@@ -139,7 +139,7 @@
<data name="toolStripButtonCancel.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
@@ -154,7 +154,7 @@
<data name="toolStripButtonAdd.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
@@ -169,7 +169,7 @@
<data name="toolStripButtonCopyAsNew.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
@@ -184,7 +184,7 @@
<data name="toolStripButtonEditConnStr.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
@@ -199,7 +199,7 @@
<data name="toolStripButtonDelete.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
@@ -214,7 +214,7 @@
<data name="toolStripButtonTest.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc