汉化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
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/CoreApplicationPlugIn.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/CoreApplicationPlugIn.cs
index ef57ebd..7dc7b39 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/CoreApplicationPlugIn.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/CoreApplicationPlugIn.cs
@@ -24,7 +24,7 @@ namespace MiniSqlQuery.PlugIns
/// <summary>Initializes a new instance of the <see cref="CoreApplicationPlugIn"/> class.</summary>
public CoreApplicationPlugIn()
- : base("Mini SQL Query Core", "Plugin to setup the core features of Mini SQL Query.", 1)
+ : base("����SQL��ѯ����", "������������SQL��ѯ���Ĺ��ܵIJ����", 1)
{
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/CoreMiniSqlQueryConfiguration.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/CoreMiniSqlQueryConfiguration.cs
index 9a55071..72e6aca 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/CoreMiniSqlQueryConfiguration.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/CoreMiniSqlQueryConfiguration.cs
@@ -50,7 +50,7 @@ namespace MiniSqlQuery.PlugIns
/// <summary>Gets Name.</summary>
public string Name
{
- get { return "Mini SQL Query Settings"; }
+ get { return "����SQL��ѯ����"; }
}
/// <summary>Gets Settings.</summary>
@@ -149,8 +149,8 @@ namespace MiniSqlQuery.PlugIns
/// <summary>Gets or sets DefaultConnectionDefinitionFilename.</summary>
[Category("Query")]
- [Description("If this value is set to a specific connections XML file it will be loaded in preferences to the default path " +
- "(%APPDATA%\\MiniSqlQuery\\Connections.xml). Note that changing this value will require a restart of the application.")]
+ [Description("�������ֵ����Ϊ�ض�������XML�ļ�����������ѡ���м��ص�Ĭ��·�� " +
+ "(%APPDATA%\\MiniSqlQuery\\Connections.xml). ��ע�⣬���Ĵ�ֵ��Ҫ�������Ӧ�ó���")]
public string DefaultConnectionDefinitionFilename
{
get { return _defaultConnectionDefinitionFilename; }
@@ -166,7 +166,7 @@ namespace MiniSqlQuery.PlugIns
/// <summary>Gets or sets a value indicating whether EnableQueryBatching.</summary>
[Category("Query")]
- [Description("Set to true to enable the batching feature, if false the 'GO' statements will be passed straight through.")]
+ [Description("����Ϊtrue��������������ܣ����Ϊfalse����ֱ�Ӵ��ݡ�GO����䡣")]
public bool EnableQueryBatching
{
get { return _enableQueryBatching; }
@@ -182,7 +182,7 @@ namespace MiniSqlQuery.PlugIns
/// <summary>Gets or sets a value indicating the command timeout.</summary>
[Category("Query")]
- [Description("Gets or sets the wait time before terminating the attempt to execute a command and generating an error. A value of 0 indicates no limit.")]
+ [Description("��ȡ��������ִֹ������ij��Բ����ɴ���֮ǰ�ĵȴ�ʱ�䡣ֵΪ0��ʾû�����ơ�")]
public int CommandTimeout
{
get { return _commandTimeout; }
@@ -198,7 +198,7 @@ namespace MiniSqlQuery.PlugIns
/// <summary>Gets or sets a value indicating whether LoadExternalPlugins.</summary>
[Category("Plugins")]
- [Description("If true, external plugin files will be loaded (requires restart).")]
+ [Description("���Ϊtrue�������ⲿ����ļ�����Ҫ�����������")]
public bool LoadExternalPlugins
{
get { return _loadPlugins; }
@@ -230,7 +230,7 @@ namespace MiniSqlQuery.PlugIns
/// <summary>Gets or sets PlugInFileFilter.</summary>
[Category("Plugins")]
- [Description("The file filter used for finding plugins (*.PlugIn.dll)")]
+ [Description("���ڲ��Ҳ�����ļ�ɸѡ����*.PlugIn.dll��")]
public string PlugInFileFilter
{
get { return _plugInFileFilter; }
@@ -246,7 +246,7 @@ namespace MiniSqlQuery.PlugIns
/// <summary>Gets or sets MostRecentFiles.</summary>
[Category("Plugins")]
- [Description("The file filter used for finding plugins (*.PlugIn.dll)")]
+ [Description("���ڲ��Ҳ�����ļ�ɸѡ����*.PlugIn.dll��")]
public StringCollection MostRecentFiles
{
get { return _mostRecentFiles; }
@@ -262,7 +262,7 @@ namespace MiniSqlQuery.PlugIns
/// <summary>Gets or sets PlugInFileFilter.</summary>
[Category("Export Scripts")]
- [Description("If true, the readonly columns (e.g. identity) will be exported in the script.")]
+ [Description("���Ϊtrue�����ڽű��е���ֻ���У������ʶ����")]
public bool IncludeReadOnlyColumnsInExport
{
get { return _includeReadOnlyColumnsInExport; }
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/DatabaseInspectorForm.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/DatabaseInspectorForm.cs
index 6a845c3..b538f09 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/DatabaseInspectorForm.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/DatabaseInspectorForm.cs
@@ -68,7 +68,7 @@ namespace MiniSqlQuery.PlugIns.DatabaseInspector
DatabaseTreeView.Nodes.Clear();
TreeNode root = CreateRootNodes();
- root.Nodes.Add("Loading problem - check connection details and reset...");
+ root.Nodes.Add("加载问题-检查连接详细信息并重置...");
DatabaseTreeView.Nodes.Add(root);
_services = services;
@@ -451,9 +451,9 @@ namespace MiniSqlQuery.PlugIns.DatabaseInspector
catch (Exception exp)
{
string msg = string.Format(
- "{0}\r\n\r\nCheck the connection and select 'Refresh Database Connection'.",
+ "{0}\r\n\r\n检查连接并选择“刷新数据库连接”。",
exp.Message);
- _hostWindow.DisplaySimpleMessageBox(_hostWindow.Instance, msg, "DB Connection Error");
+ _hostWindow.DisplaySimpleMessageBox(_hostWindow.Instance, msg, "数据库连接错误");
_hostWindow.SetStatus(this, exp.Message);
}
finally
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/DatabaseInspectorForm.Designer.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/DatabaseInspectorForm.Designer.cs
index 6fa0653..b7642a0 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/DatabaseInspectorForm.Designer.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/DatabaseInspectorForm.Designer.cs
@@ -45,12 +45,12 @@
this.InspectorContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.loadToolStripMenuItem});
this.InspectorContextMenuStrip.Name = "InspectorContextMenuStrip";
- this.InspectorContextMenuStrip.Size = new System.Drawing.Size(196, 28);
+ this.InspectorContextMenuStrip.Size = new System.Drawing.Size(172, 26);
//
// loadToolStripMenuItem
//
this.loadToolStripMenuItem.Name = "loadToolStripMenuItem";
- this.loadToolStripMenuItem.Size = new System.Drawing.Size(195, 24);
+ this.loadToolStripMenuItem.Size = new System.Drawing.Size(171, 22);
this.loadToolStripMenuItem.Text = "&Load Meta-Data";
this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click);
//
@@ -90,7 +90,7 @@
//
// DatabaseInspectorForm
//
- this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 17F);
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(478, 465);
this.Controls.Add(this.DatabaseTreeView);
@@ -98,7 +98,7 @@
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "DatabaseInspectorForm";
this.TabText = "DB Inspector";
- this.Text = "Database Inspector";
+ this.Text = "数据库检查器";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.DatabaseInspectorForm_FormClosing);
this.Load += new System.EventHandler(this.DatabaseInspectorForm_Load);
this.InspectorContextMenuStrip.ResumeLayout(false);
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/DatabaseInspectorLoader.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/DatabaseInspectorLoader.cs
index e3c5b0c..e29018e 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/DatabaseInspectorLoader.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/DatabaseInspectorLoader.cs
@@ -17,8 +17,8 @@ namespace MiniSqlQuery.PlugIns.DatabaseInspector
/// <summary>Initializes a new instance of the <see cref="DatabaseInspectorLoader"/> class.</summary>
public DatabaseInspectorLoader()
: base(
- "Database Inspector",
- "A Mini SQL Query Plugin for displaying the database schema in a tree view",
+ "数据库检查器",
+ "用于在树视图中显示数据库架构的迷你SQL查询插件",
20)
{
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/FindReplaceForm.designer.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/FindReplaceForm.designer.cs
index 6d1cb20..1190ad2 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/FindReplaceForm.designer.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/FindReplaceForm.designer.cs
@@ -28,115 +28,115 @@
/// </summary>
private void InitializeComponent()
{
- this.label1 = new System.Windows.Forms.Label();
- this.txtFindString = new System.Windows.Forms.TextBox();
- this.btnFindNext = new System.Windows.Forms.Button();
- this.btnCancel = new System.Windows.Forms.Button();
- this.txtReplaceText = new System.Windows.Forms.TextBox();
- this.btnReplace = new System.Windows.Forms.Button();
- this.label2 = new System.Windows.Forms.Label();
- this.SuspendLayout();
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(12, 15);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(56, 13);
- this.label1.TabIndex = 0;
- this.label1.Text = "&Search for";
- //
- // txtFindString
- //
- this.txtFindString.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.txtFindString.Location = new System.Drawing.Point(95, 12);
- this.txtFindString.Name = "txtFindString";
- this.txtFindString.Size = new System.Drawing.Size(222, 20);
- this.txtFindString.TabIndex = 1;
- this.txtFindString.Leave += new System.EventHandler(this.txtFindString_Leave);
- this.txtFindString.Enter += new System.EventHandler(this.txtFindString_Enter);
- //
- // btnFindNext
- //
- this.btnFindNext.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.btnFindNext.Location = new System.Drawing.Point(161, 64);
- this.btnFindNext.Name = "btnFindNext";
- this.btnFindNext.Size = new System.Drawing.Size(75, 23);
- this.btnFindNext.TabIndex = 10;
- this.btnFindNext.Text = "&Find Next";
- this.btnFindNext.UseVisualStyleBackColor = true;
- this.btnFindNext.Click += new System.EventHandler(this.btnFindNext_Click);
- //
- // btnCancel
- //
- this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
- this.btnCancel.Location = new System.Drawing.Point(242, 93);
- this.btnCancel.Name = "btnCancel";
- this.btnCancel.Size = new System.Drawing.Size(75, 23);
- this.btnCancel.TabIndex = 12;
- this.btnCancel.Text = "&Cancel";
- this.btnCancel.UseVisualStyleBackColor = true;
- this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
- //
- // txtReplaceText
- //
- this.txtReplaceText.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.txtReplaceText.Location = new System.Drawing.Point(95, 38);
- this.txtReplaceText.Name = "txtReplaceText";
- this.txtReplaceText.Size = new System.Drawing.Size(222, 20);
- this.txtReplaceText.TabIndex = 3;
- this.txtReplaceText.Leave += new System.EventHandler(this.txtFindString_Leave);
- this.txtReplaceText.Enter += new System.EventHandler(this.txtFindString_Enter);
- //
- // btnReplace
- //
- this.btnReplace.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.btnReplace.Location = new System.Drawing.Point(242, 64);
- this.btnReplace.Name = "btnReplace";
- this.btnReplace.Size = new System.Drawing.Size(75, 23);
- this.btnReplace.TabIndex = 11;
- this.btnReplace.Text = "&Replace";
- this.btnReplace.UseVisualStyleBackColor = true;
- this.btnReplace.Click += new System.EventHandler(this.btnReplace_Click);
- //
- // label2
- //
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(12, 41);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(69, 13);
- this.label2.TabIndex = 2;
- this.label2.Text = "&Replace with";
- //
- // FindReplaceForm
- //
- this.AcceptButton = this.btnFindNext;
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.CancelButton = this.btnCancel;
- this.ClientSize = new System.Drawing.Size(329, 124);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.btnReplace);
- this.Controls.Add(this.txtReplaceText);
- this.Controls.Add(this.btnCancel);
- this.Controls.Add(this.btnFindNext);
- this.Controls.Add(this.txtFindString);
- this.Controls.Add(this.label1);
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
- this.MinimumSize = new System.Drawing.Size(320, 110);
- this.Name = "FindReplaceForm";
- this.Opacity = 0.8;
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
- this.Text = "Find Text";
- this.Deactivate += new System.EventHandler(this.FindReplaceForm_Deactivate);
- this.Activated += new System.EventHandler(this.FindReplaceForm_Activated);
- this.KeyUp += new System.Windows.Forms.KeyEventHandler(this.FindReplaceForm_KeyUp);
- this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FindReplaceForm_FormClosing);
- this.ResumeLayout(false);
- this.PerformLayout();
+ this.label1 = new System.Windows.Forms.Label();
+ this.txtFindString = new System.Windows.Forms.TextBox();
+ this.btnFindNext = new System.Windows.Forms.Button();
+ this.btnCancel = new System.Windows.Forms.Button();
+ this.txtReplaceText = new System.Windows.Forms.TextBox();
+ this.btnReplace = new System.Windows.Forms.Button();
+ this.label2 = new System.Windows.Forms.Label();
+ this.SuspendLayout();
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Location = new System.Drawing.Point(12, 14);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(35, 12);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "&S查找";
+ //
+ // txtFindString
+ //
+ this.txtFindString.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.txtFindString.Location = new System.Drawing.Point(95, 11);
+ this.txtFindString.Name = "txtFindString";
+ this.txtFindString.Size = new System.Drawing.Size(222, 21);
+ this.txtFindString.TabIndex = 1;
+ this.txtFindString.Enter += new System.EventHandler(this.txtFindString_Enter);
+ this.txtFindString.Leave += new System.EventHandler(this.txtFindString_Leave);
+ //
+ // btnFindNext
+ //
+ this.btnFindNext.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnFindNext.Location = new System.Drawing.Point(161, 59);
+ this.btnFindNext.Name = "btnFindNext";
+ this.btnFindNext.Size = new System.Drawing.Size(75, 21);
+ this.btnFindNext.TabIndex = 10;
+ this.btnFindNext.Text = "&F查下一个";
+ this.btnFindNext.UseVisualStyleBackColor = true;
+ this.btnFindNext.Click += new System.EventHandler(this.btnFindNext_Click);
+ //
+ // btnCancel
+ //
+ this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
+ this.btnCancel.Location = new System.Drawing.Point(242, 86);
+ this.btnCancel.Name = "btnCancel";
+ this.btnCancel.Size = new System.Drawing.Size(75, 21);
+ this.btnCancel.TabIndex = 12;
+ this.btnCancel.Text = "&C取消";
+ this.btnCancel.UseVisualStyleBackColor = true;
+ this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
+ //
+ // txtReplaceText
+ //
+ this.txtReplaceText.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.txtReplaceText.Location = new System.Drawing.Point(95, 35);
+ this.txtReplaceText.Name = "txtReplaceText";
+ this.txtReplaceText.Size = new System.Drawing.Size(222, 21);
+ this.txtReplaceText.TabIndex = 3;
+ this.txtReplaceText.Enter += new System.EventHandler(this.txtFindString_Enter);
+ this.txtReplaceText.Leave += new System.EventHandler(this.txtFindString_Leave);
+ //
+ // btnReplace
+ //
+ this.btnReplace.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnReplace.Location = new System.Drawing.Point(242, 59);
+ this.btnReplace.Name = "btnReplace";
+ this.btnReplace.Size = new System.Drawing.Size(75, 21);
+ this.btnReplace.TabIndex = 11;
+ this.btnReplace.Text = "&R替换";
+ this.btnReplace.UseVisualStyleBackColor = true;
+ this.btnReplace.Click += new System.EventHandler(this.btnReplace_Click);
+ //
+ // label2
+ //
+ this.label2.AutoSize = true;
+ this.label2.Location = new System.Drawing.Point(12, 38);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(35, 12);
+ this.label2.TabIndex = 2;
+ this.label2.Text = "&R替换";
+ //
+ // FindReplaceForm
+ //
+ this.AcceptButton = this.btnFindNext;
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.CancelButton = this.btnCancel;
+ this.ClientSize = new System.Drawing.Size(329, 114);
+ this.Controls.Add(this.label2);
+ this.Controls.Add(this.btnReplace);
+ this.Controls.Add(this.txtReplaceText);
+ this.Controls.Add(this.btnCancel);
+ this.Controls.Add(this.btnFindNext);
+ this.Controls.Add(this.txtFindString);
+ this.Controls.Add(this.label1);
+ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
+ this.MinimumSize = new System.Drawing.Size(320, 105);
+ this.Name = "FindReplaceForm";
+ this.Opacity = 0.8D;
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
+ this.Text = "查找文本";
+ this.Activated += new System.EventHandler(this.FindReplaceForm_Activated);
+ this.Deactivate += new System.EventHandler(this.FindReplaceForm_Deactivate);
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FindReplaceForm_FormClosing);
+ this.KeyUp += new System.Windows.Forms.KeyEventHandler(this.FindReplaceForm_KeyUp);
+ this.ResumeLayout(false);
+ this.PerformLayout();
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/FindReplaceForm.resx b/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/FindReplaceForm.resx
index 19dc0dd..d58980a 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/FindReplaceForm.resx
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/FindReplaceForm.resx
@@ -112,9 +112,9 @@
<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>
</root>
\ No newline at end of file
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/GoToLineForm.designer.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/GoToLineForm.designer.cs
index e1b4401..e44747c 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/GoToLineForm.designer.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/GoToLineForm.designer.cs
@@ -28,67 +28,67 @@
/// </summary>
private void InitializeComponent()
{
- this.lblLinePrompt = new System.Windows.Forms.Label();
- this.txtLine = new System.Windows.Forms.TextBox();
- this.btnOk = new System.Windows.Forms.Button();
- this.btnCancel = new System.Windows.Forms.Button();
- this.SuspendLayout();
- //
- // lblLinePrompt
- //
- this.lblLinePrompt.AutoSize = true;
- this.lblLinePrompt.Location = new System.Drawing.Point(12, 9);
- this.lblLinePrompt.Name = "lblLinePrompt";
- this.lblLinePrompt.Size = new System.Drawing.Size(30, 13);
- this.lblLinePrompt.TabIndex = 0;
- this.lblLinePrompt.Text = "&Line:";
- //
- // txtLine
- //
- this.txtLine.Location = new System.Drawing.Point(12, 25);
- this.txtLine.Name = "txtLine";
- this.txtLine.Size = new System.Drawing.Size(300, 20);
- this.txtLine.TabIndex = 1;
- //
- // btnOk
- //
- this.btnOk.Location = new System.Drawing.Point(156, 51);
- this.btnOk.Name = "btnOk";
- this.btnOk.Size = new System.Drawing.Size(75, 23);
- this.btnOk.TabIndex = 2;
- this.btnOk.Text = "OK";
- this.btnOk.UseVisualStyleBackColor = true;
- this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
- //
- // btnCancel
- //
- this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
- this.btnCancel.Location = new System.Drawing.Point(237, 51);
- this.btnCancel.Name = "btnCancel";
- this.btnCancel.Size = new System.Drawing.Size(75, 23);
- this.btnCancel.TabIndex = 3;
- this.btnCancel.Text = "Cancel";
- this.btnCancel.UseVisualStyleBackColor = true;
- //
- // GoToLineForm
- //
- this.AcceptButton = this.btnOk;
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.CancelButton = this.btnCancel;
- this.ClientSize = new System.Drawing.Size(324, 86);
- this.Controls.Add(this.btnCancel);
- this.Controls.Add(this.btnOk);
- this.Controls.Add(this.txtLine);
- this.Controls.Add(this.lblLinePrompt);
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
- this.Name = "GoToLineForm";
- this.Opacity = 0.8;
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
- this.Text = "Go to Line";
- this.Load += new System.EventHandler(this.GoToLineForm_Load);
- this.ResumeLayout(false);
- this.PerformLayout();
+ this.lblLinePrompt = new System.Windows.Forms.Label();
+ this.txtLine = new System.Windows.Forms.TextBox();
+ this.btnOk = new System.Windows.Forms.Button();
+ this.btnCancel = new System.Windows.Forms.Button();
+ this.SuspendLayout();
+ //
+ // lblLinePrompt
+ //
+ this.lblLinePrompt.AutoSize = true;
+ this.lblLinePrompt.Location = new System.Drawing.Point(12, 8);
+ this.lblLinePrompt.Name = "lblLinePrompt";
+ this.lblLinePrompt.Size = new System.Drawing.Size(29, 12);
+ this.lblLinePrompt.TabIndex = 0;
+ this.lblLinePrompt.Text = "&L行:";
+ //
+ // txtLine
+ //
+ this.txtLine.Location = new System.Drawing.Point(12, 23);
+ this.txtLine.Name = "txtLine";
+ this.txtLine.Size = new System.Drawing.Size(300, 21);
+ this.txtLine.TabIndex = 1;
+ //
+ // btnOk
+ //
+ this.btnOk.Location = new System.Drawing.Point(156, 47);
+ this.btnOk.Name = "btnOk";
+ this.btnOk.Size = new System.Drawing.Size(75, 21);
+ this.btnOk.TabIndex = 2;
+ this.btnOk.Text = "确定";
+ this.btnOk.UseVisualStyleBackColor = true;
+ this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
+ //
+ // btnCancel
+ //
+ this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
+ this.btnCancel.Location = new System.Drawing.Point(237, 47);
+ this.btnCancel.Name = "btnCancel";
+ this.btnCancel.Size = new System.Drawing.Size(75, 21);
+ this.btnCancel.TabIndex = 3;
+ this.btnCancel.Text = "取消";
+ this.btnCancel.UseVisualStyleBackColor = true;
+ //
+ // GoToLineForm
+ //
+ this.AcceptButton = this.btnOk;
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.CancelButton = this.btnCancel;
+ this.ClientSize = new System.Drawing.Size(324, 79);
+ this.Controls.Add(this.btnCancel);
+ this.Controls.Add(this.btnOk);
+ this.Controls.Add(this.txtLine);
+ this.Controls.Add(this.lblLinePrompt);
+ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
+ this.Name = "GoToLineForm";
+ this.Opacity = 0.8D;
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
+ this.Text = "转到行";
+ this.Load += new System.EventHandler(this.GoToLineForm_Load);
+ this.ResumeLayout(false);
+ this.PerformLayout();
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/GoToLineForm.resx b/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/GoToLineForm.resx
index 19dc0dd..d58980a 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/GoToLineForm.resx
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/GoToLineForm.resx
@@ -112,9 +112,9 @@
<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>
</root>
\ No newline at end of file
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/SearchToolsLoader.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/SearchToolsLoader.cs
index 80062f4..7ccddb2 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/SearchToolsLoader.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/SearchToolsLoader.cs
@@ -17,8 +17,8 @@ namespace MiniSqlQuery.PlugIns.SearchTools
/// <summary>Initializes a new instance of the <see cref="SearchToolsLoader"/> class.</summary>
public SearchToolsLoader()
: base(
- "Mini SQL Query Search Tools",
- "Text searching tools - generic find text tool window.",
+ "迷你SQL查询搜索工具",
+ "文本搜索工具-通用查找文本工具窗口。",
50)
{
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateEditorForm.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateEditorForm.cs
index 405680d..723f487 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateEditorForm.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateEditorForm.cs
@@ -95,7 +95,7 @@ namespace MiniSqlQuery.PlugIns.TemplateViewer
/// <summary>Gets FileFilter.</summary>
public string FileFilter
{
- get { return "Mini SQL Template Files (*.mt)|*.mt|All Files (*.*)|*.*"; }
+ get { return "����SQLģ���ļ� (*.mt)|*.mt|All Files (*.*)|*.*"; }
}
/// <summary>Gets or sets FileName.</summary>
@@ -362,7 +362,7 @@ namespace MiniSqlQuery.PlugIns.TemplateViewer
}
catch (TemplateException exp)
{
- _hostWindow.DisplaySimpleMessageBox(this, exp.Message, "Template Error");
+ _hostWindow.DisplaySimpleMessageBox(this, exp.Message, "ģ�����");
// todo - try to get the line number and move cursor?...
txtErrors.Text = exp.Message;
@@ -392,7 +392,7 @@ namespace MiniSqlQuery.PlugIns.TemplateViewer
/// <returns>The get value.</returns>
private string GetValue(string name)
{
- string val = Interaction.InputBox(string.Format("Value for '{0}'", name), "Supply a Value", name, -1, -1);
+ string val = Interaction.InputBox(string.Format("'{0}'��ֵ", name), "�ṩһ��ֵ", name, -1, -1);
return val;
}
@@ -400,7 +400,7 @@ namespace MiniSqlQuery.PlugIns.TemplateViewer
private void SetTabTextByFilename()
{
string dirty = string.Empty;
- string text = "Untitled";
+ string text = "���";
string tabtext;
if (_isDirty)
@@ -432,7 +432,7 @@ namespace MiniSqlQuery.PlugIns.TemplateViewer
{
DialogResult saveFile = _hostWindow.DisplayMessageBox(
this,
- "Contents changed, do you want to save the file?\r\n" + TabText, "Save Changes?",
+ "�����Ѹ��ģ��Ƿ��ļ�?\r\n" + TabText, "����ı�?",
MessageBoxButtons.YesNoCancel,
MessageBoxIcon.Question,
MessageBoxDefaultButton.Button1,
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateEditorForm.Designer.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateEditorForm.Designer.cs
index 51fb08c..8c14678 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateEditorForm.Designer.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateEditorForm.Designer.cs
@@ -28,131 +28,133 @@ namespace MiniSqlQuery.PlugIns.TemplateViewer
/// </summary>
private void InitializeComponent()
{
- this.components = new System.ComponentModel.Container();
- this.txtEdit = new ICSharpCode.TextEditor.TextEditorControl();
- this.tabControl1 = new System.Windows.Forms.TabControl();
- this.tabPageTemplateSource = new System.Windows.Forms.TabPage();
- this.tabPageHelp = new System.Windows.Forms.TabPage();
- this.rtfHelp = new System.Windows.Forms.RichTextBox();
- this.splitContainer1 = new System.Windows.Forms.SplitContainer();
- this.txtErrors = new System.Windows.Forms.TextBox();
- this.formContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
- this.tabControl1.SuspendLayout();
- this.tabPageTemplateSource.SuspendLayout();
- this.tabPageHelp.SuspendLayout();
- this.splitContainer1.Panel1.SuspendLayout();
- this.splitContainer1.Panel2.SuspendLayout();
- this.splitContainer1.SuspendLayout();
- this.SuspendLayout();
- //
- // txtEdit
- //
- this.txtEdit.Dock = System.Windows.Forms.DockStyle.Fill;
- this.txtEdit.IsReadOnly = false;
- this.txtEdit.Location = new System.Drawing.Point(3, 3);
- this.txtEdit.Name = "txtEdit";
- this.txtEdit.Size = new System.Drawing.Size(533, 314);
- this.txtEdit.TabIndex = 0;
- //
- // tabControl1
- //
- this.tabControl1.Controls.Add(this.tabPageTemplateSource);
- this.tabControl1.Controls.Add(this.tabPageHelp);
- this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.tabControl1.Location = new System.Drawing.Point(0, 0);
- this.tabControl1.Name = "tabControl1";
- this.tabControl1.SelectedIndex = 0;
- this.tabControl1.Size = new System.Drawing.Size(547, 346);
- this.tabControl1.TabIndex = 1;
- //
- // tabPageTemplateSource
- //
- this.tabPageTemplateSource.Controls.Add(this.txtEdit);
- this.tabPageTemplateSource.Location = new System.Drawing.Point(4, 22);
- this.tabPageTemplateSource.Name = "tabPageTemplateSource";
- this.tabPageTemplateSource.Padding = new System.Windows.Forms.Padding(3);
- this.tabPageTemplateSource.Size = new System.Drawing.Size(539, 320);
- this.tabPageTemplateSource.TabIndex = 0;
- this.tabPageTemplateSource.Text = "Template Source";
- this.tabPageTemplateSource.UseVisualStyleBackColor = true;
- //
- // tabPageHelp
- //
- this.tabPageHelp.Controls.Add(this.rtfHelp);
- this.tabPageHelp.Location = new System.Drawing.Point(4, 22);
- this.tabPageHelp.Name = "tabPageHelp";
- this.tabPageHelp.Padding = new System.Windows.Forms.Padding(3);
- this.tabPageHelp.Size = new System.Drawing.Size(539, 321);
- this.tabPageHelp.TabIndex = 1;
- this.tabPageHelp.Text = "Quick Help";
- this.tabPageHelp.UseVisualStyleBackColor = true;
- //
- // rtfHelp
- //
- this.rtfHelp.Dock = System.Windows.Forms.DockStyle.Fill;
- this.rtfHelp.Location = new System.Drawing.Point(3, 3);
- this.rtfHelp.Name = "rtfHelp";
- this.rtfHelp.ReadOnly = true;
- this.rtfHelp.ShowSelectionMargin = true;
- this.rtfHelp.Size = new System.Drawing.Size(533, 315);
- this.rtfHelp.TabIndex = 0;
- this.rtfHelp.Text = "";
- //
- // splitContainer1
- //
- this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.splitContainer1.Location = new System.Drawing.Point(4, 4);
- this.splitContainer1.Name = "splitContainer1";
- this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
- //
- // splitContainer1.Panel1
- //
- this.splitContainer1.Panel1.Controls.Add(this.tabControl1);
- //
- // splitContainer1.Panel2
- //
- this.splitContainer1.Panel2.Controls.Add(this.txtErrors);
- this.splitContainer1.Size = new System.Drawing.Size(547, 437);
- this.splitContainer1.SplitterDistance = 346;
- this.splitContainer1.TabIndex = 2;
- //
- // txtErrors
- //
- this.txtErrors.Dock = System.Windows.Forms.DockStyle.Fill;
- this.txtErrors.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.txtErrors.Location = new System.Drawing.Point(0, 0);
- this.txtErrors.Multiline = true;
- this.txtErrors.Name = "txtErrors";
- this.txtErrors.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
- this.txtErrors.Size = new System.Drawing.Size(547, 87);
- this.txtErrors.TabIndex = 0;
- //
- // formContextMenuStrip
- //
- this.formContextMenuStrip.Name = "formContextMenuStrip";
- this.formContextMenuStrip.Size = new System.Drawing.Size(153, 26);
- //
- // TemplateEditorForm
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(555, 445);
- this.Controls.Add(this.splitContainer1);
- this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.Name = "TemplateEditorForm";
- this.Padding = new System.Windows.Forms.Padding(4);
- this.TabPageContextMenuStrip = this.formContextMenuStrip;
- this.Text = "TemplateEditorForm";
- this.Load += new System.EventHandler(this.TemplateEditorForm_Load);
- this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.TemplateEditorForm_FormClosing);
- this.tabControl1.ResumeLayout(false);
- this.tabPageTemplateSource.ResumeLayout(false);
- this.tabPageHelp.ResumeLayout(false);
- this.splitContainer1.Panel1.ResumeLayout(false);
- this.splitContainer1.Panel2.ResumeLayout(false);
- this.splitContainer1.Panel2.PerformLayout();
- this.splitContainer1.ResumeLayout(false);
- this.ResumeLayout(false);
+ this.components = new System.ComponentModel.Container();
+ this.txtEdit = new ICSharpCode.TextEditor.TextEditorControl();
+ this.tabControl1 = new System.Windows.Forms.TabControl();
+ this.tabPageTemplateSource = new System.Windows.Forms.TabPage();
+ this.tabPageHelp = new System.Windows.Forms.TabPage();
+ this.rtfHelp = new System.Windows.Forms.RichTextBox();
+ this.splitContainer1 = new System.Windows.Forms.SplitContainer();
+ this.txtErrors = new System.Windows.Forms.TextBox();
+ this.formContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
+ this.tabControl1.SuspendLayout();
+ this.tabPageTemplateSource.SuspendLayout();
+ this.tabPageHelp.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
+ this.splitContainer1.Panel1.SuspendLayout();
+ this.splitContainer1.Panel2.SuspendLayout();
+ this.splitContainer1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // txtEdit
+ //
+ this.txtEdit.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.txtEdit.IsReadOnly = false;
+ this.txtEdit.Location = new System.Drawing.Point(3, 3);
+ this.txtEdit.Name = "txtEdit";
+ this.txtEdit.Size = new System.Drawing.Size(533, 314);
+ this.txtEdit.TabIndex = 0;
+ //
+ // tabControl1
+ //
+ this.tabControl1.Controls.Add(this.tabPageTemplateSource);
+ this.tabControl1.Controls.Add(this.tabPageHelp);
+ this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tabControl1.Location = new System.Drawing.Point(0, 0);
+ this.tabControl1.Name = "tabControl1";
+ this.tabControl1.SelectedIndex = 0;
+ this.tabControl1.Size = new System.Drawing.Size(547, 346);
+ this.tabControl1.TabIndex = 1;
+ //
+ // tabPageTemplateSource
+ //
+ this.tabPageTemplateSource.Controls.Add(this.txtEdit);
+ this.tabPageTemplateSource.Location = new System.Drawing.Point(4, 22);
+ this.tabPageTemplateSource.Name = "tabPageTemplateSource";
+ this.tabPageTemplateSource.Padding = new System.Windows.Forms.Padding(3);
+ this.tabPageTemplateSource.Size = new System.Drawing.Size(539, 320);
+ this.tabPageTemplateSource.TabIndex = 0;
+ this.tabPageTemplateSource.Text = "Դ��ģ��";
+ this.tabPageTemplateSource.UseVisualStyleBackColor = true;
+ //
+ // tabPageHelp
+ //
+ this.tabPageHelp.Controls.Add(this.rtfHelp);
+ this.tabPageHelp.Location = new System.Drawing.Point(4, 22);
+ this.tabPageHelp.Name = "tabPageHelp";
+ this.tabPageHelp.Padding = new System.Windows.Forms.Padding(3);
+ this.tabPageHelp.Size = new System.Drawing.Size(539, 320);
+ this.tabPageHelp.TabIndex = 1;
+ this.tabPageHelp.Text = "���ٰ���";
+ this.tabPageHelp.UseVisualStyleBackColor = true;
+ //
+ // rtfHelp
+ //
+ this.rtfHelp.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.rtfHelp.Location = new System.Drawing.Point(3, 3);
+ this.rtfHelp.Name = "rtfHelp";
+ this.rtfHelp.ReadOnly = true;
+ this.rtfHelp.ShowSelectionMargin = true;
+ this.rtfHelp.Size = new System.Drawing.Size(533, 314);
+ this.rtfHelp.TabIndex = 0;
+ this.rtfHelp.Text = "";
+ //
+ // splitContainer1
+ //
+ this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.splitContainer1.Location = new System.Drawing.Point(4, 4);
+ this.splitContainer1.Name = "splitContainer1";
+ this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
+ //
+ // splitContainer1.Panel1
+ //
+ this.splitContainer1.Panel1.Controls.Add(this.tabControl1);
+ //
+ // splitContainer1.Panel2
+ //
+ this.splitContainer1.Panel2.Controls.Add(this.txtErrors);
+ this.splitContainer1.Size = new System.Drawing.Size(547, 437);
+ this.splitContainer1.SplitterDistance = 346;
+ this.splitContainer1.TabIndex = 2;
+ //
+ // txtErrors
+ //
+ this.txtErrors.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.txtErrors.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.txtErrors.Location = new System.Drawing.Point(0, 0);
+ this.txtErrors.Multiline = true;
+ this.txtErrors.Name = "txtErrors";
+ this.txtErrors.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
+ this.txtErrors.Size = new System.Drawing.Size(547, 87);
+ this.txtErrors.TabIndex = 0;
+ //
+ // formContextMenuStrip
+ //
+ this.formContextMenuStrip.Name = "formContextMenuStrip";
+ this.formContextMenuStrip.Size = new System.Drawing.Size(61, 4);
+ //
+ // TemplateEditorForm
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(555, 445);
+ this.Controls.Add(this.splitContainer1);
+ this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.Name = "TemplateEditorForm";
+ this.Padding = new System.Windows.Forms.Padding(4);
+ this.TabPageContextMenuStrip = this.formContextMenuStrip;
+ this.Text = "ģ��༭";
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.TemplateEditorForm_FormClosing);
+ this.Load += new System.EventHandler(this.TemplateEditorForm_Load);
+ this.tabControl1.ResumeLayout(false);
+ this.tabPageTemplateSource.ResumeLayout(false);
+ this.tabPageHelp.ResumeLayout(false);
+ this.splitContainer1.Panel1.ResumeLayout(false);
+ this.splitContainer1.Panel2.ResumeLayout(false);
+ this.splitContainer1.Panel2.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
+ this.splitContainer1.ResumeLayout(false);
+ this.ResumeLayout(false);
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateEditorForm.resx b/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateEditorForm.resx
index a4d9552..4a5ad99 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateEditorForm.resx
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateEditorForm.resx
@@ -112,12 +112,12 @@
<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="formContextMenuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+ <metadata name="formContextMenuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>
\ No newline at end of file
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateViewerLoader.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateViewerLoader.cs
index 8d56921..aee5ff6 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateViewerLoader.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateViewerLoader.cs
@@ -16,7 +16,7 @@ namespace MiniSqlQuery.PlugIns.TemplateViewer
{
/// <summary>Initializes a new instance of the <see cref="TemplateViewerLoader"/> class.</summary>
public TemplateViewerLoader()
- : base("Template Viewer", "A Mini SQL Query Plugin for displaying template SQL items.", 50)
+ : base("模板查看器", "用于显示模板SQL项的迷你SQL查询插件。", 50)
{
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateViewForm.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateViewForm.cs
index a2f45a8..c7caddd 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateViewForm.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateViewForm.cs
@@ -41,7 +41,7 @@ namespace MiniSqlQuery.PlugIns.TemplateViewer
/// <returns>The get value.</returns>
private string GetValue(string name)
{
- string val = Interaction.InputBox(string.Format("Value for '{0}'", name), "Supply a Value", name, -1, -1);
+ string val = Interaction.InputBox(string.Format("'{0}'的值", name), "提供一个值", name, -1, -1);
return val;
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateViewForm.Designer.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateViewForm.Designer.cs
index 98015de..f496d64 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateViewForm.Designer.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateViewForm.Designer.cs
@@ -28,97 +28,97 @@
/// </summary>
private void InitializeComponent()
{
- this.components = new System.ComponentModel.Container();
- System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("Templates");
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TemplateViewForm));
- this.tvTemplates = new System.Windows.Forms.TreeView();
- this.treeMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
- this.toolStripMenuItemRun = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripMenuItemEdit = new System.Windows.Forms.ToolStripMenuItem();
- this.imageList = new System.Windows.Forms.ImageList(this.components);
- this.templateFileWatcher = new System.IO.FileSystemWatcher();
- this.treeMenuStrip.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.templateFileWatcher)).BeginInit();
- this.SuspendLayout();
- //
- // tvTemplates
- //
- this.tvTemplates.ContextMenuStrip = this.treeMenuStrip;
- this.tvTemplates.Dock = System.Windows.Forms.DockStyle.Fill;
- this.tvTemplates.HideSelection = false;
- this.tvTemplates.ImageKey = "folder_page";
- this.tvTemplates.ImageList = this.imageList;
- this.tvTemplates.Indent = 15;
- this.tvTemplates.Location = new System.Drawing.Point(0, 0);
- this.tvTemplates.Name = "tvTemplates";
- treeNode1.Name = "templates";
- treeNode1.Text = "Templates";
- this.tvTemplates.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
+ this.components = new System.ComponentModel.Container();
+ System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("Templates");
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TemplateViewForm));
+ this.tvTemplates = new System.Windows.Forms.TreeView();
+ this.treeMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
+ this.toolStripMenuItemRun = new System.Windows.Forms.ToolStripMenuItem();
+ this.toolStripMenuItemEdit = new System.Windows.Forms.ToolStripMenuItem();
+ this.imageList = new System.Windows.Forms.ImageList(this.components);
+ this.templateFileWatcher = new System.IO.FileSystemWatcher();
+ this.treeMenuStrip.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.templateFileWatcher)).BeginInit();
+ this.SuspendLayout();
+ //
+ // tvTemplates
+ //
+ this.tvTemplates.ContextMenuStrip = this.treeMenuStrip;
+ this.tvTemplates.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tvTemplates.HideSelection = false;
+ this.tvTemplates.ImageKey = "folder_page";
+ this.tvTemplates.ImageList = this.imageList;
+ this.tvTemplates.Indent = 15;
+ this.tvTemplates.Location = new System.Drawing.Point(0, 0);
+ this.tvTemplates.Name = "tvTemplates";
+ treeNode1.Name = "templates";
+ treeNode1.Text = "Templates";
+ this.tvTemplates.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
treeNode1});
- this.tvTemplates.SelectedImageIndex = 0;
- this.tvTemplates.ShowRootLines = false;
- this.tvTemplates.Size = new System.Drawing.Size(292, 266);
- this.tvTemplates.TabIndex = 0;
- this.tvTemplates.NodeMouseDoubleClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.tvTemplates_NodeMouseDoubleClick);
- this.tvTemplates.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.tvTemplates_NodeMouseClick);
- //
- // treeMenuStrip
- //
- this.treeMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.tvTemplates.SelectedImageIndex = 0;
+ this.tvTemplates.ShowRootLines = false;
+ this.tvTemplates.Size = new System.Drawing.Size(292, 266);
+ this.tvTemplates.TabIndex = 0;
+ this.tvTemplates.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.tvTemplates_NodeMouseClick);
+ this.tvTemplates.NodeMouseDoubleClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.tvTemplates_NodeMouseDoubleClick);
+ //
+ // treeMenuStrip
+ //
+ this.treeMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripMenuItemRun,
this.toolStripMenuItemEdit});
- this.treeMenuStrip.Name = "treeMenuStrip";
- this.treeMenuStrip.Size = new System.Drawing.Size(148, 48);
- //
- // toolStripMenuItemRun
- //
- this.toolStripMenuItemRun.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
- this.toolStripMenuItemRun.Name = "toolStripMenuItemRun";
- this.toolStripMenuItemRun.Size = new System.Drawing.Size(147, 22);
- this.toolStripMenuItemRun.Text = "Run";
- this.toolStripMenuItemRun.Click += new System.EventHandler(this.toolStripMenuItemRun_Click);
- //
- // toolStripMenuItemEdit
- //
- this.toolStripMenuItemEdit.Name = "toolStripMenuItemEdit";
- this.toolStripMenuItemEdit.Size = new System.Drawing.Size(147, 22);
- this.toolStripMenuItemEdit.Text = "Edit Template";
- this.toolStripMenuItemEdit.Click += new System.EventHandler(this.toolStripMenuItemEdit_Click);
- //
- // imageList
- //
- this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream")));
- this.imageList.TransparentColor = System.Drawing.Color.Transparent;
- this.imageList.Images.SetKeyName(0, "folder_page");
- this.imageList.Images.SetKeyName(1, "script");
- this.imageList.Images.SetKeyName(2, "script_code");
- //
- // templateFileWatcher
- //
- this.templateFileWatcher.EnableRaisingEvents = true;
- this.templateFileWatcher.Filter = "*.mt";
- this.templateFileWatcher.NotifyFilter = ((System.IO.NotifyFilters)((System.IO.NotifyFilters.FileName | System.IO.NotifyFilters.LastWrite)));
- this.templateFileWatcher.SynchronizingObject = this;
- this.templateFileWatcher.Renamed += new System.IO.RenamedEventHandler(this.templateFileWatcher_Renamed);
- this.templateFileWatcher.Deleted += new System.IO.FileSystemEventHandler(this.templateFileWatcher_Changed);
- this.templateFileWatcher.Created += new System.IO.FileSystemEventHandler(this.templateFileWatcher_Changed);
- this.templateFileWatcher.Changed += new System.IO.FileSystemEventHandler(this.templateFileWatcher_Changed);
- //
- // TemplateViewForm
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(292, 266);
- this.Controls.Add(this.tvTemplates);
- this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
- this.Name = "TemplateViewForm";
- this.TabText = "Templates";
- this.Text = "Templates";
- this.Load += new System.EventHandler(this.TemplateViewForm_Load);
- this.treeMenuStrip.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.templateFileWatcher)).EndInit();
- this.ResumeLayout(false);
+ this.treeMenuStrip.Name = "treeMenuStrip";
+ this.treeMenuStrip.Size = new System.Drawing.Size(157, 48);
+ //
+ // toolStripMenuItemRun
+ //
+ this.toolStripMenuItemRun.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
+ this.toolStripMenuItemRun.Name = "toolStripMenuItemRun";
+ this.toolStripMenuItemRun.Size = new System.Drawing.Size(156, 22);
+ this.toolStripMenuItemRun.Text = "Run";
+ this.toolStripMenuItemRun.Click += new System.EventHandler(this.toolStripMenuItemRun_Click);
+ //
+ // toolStripMenuItemEdit
+ //
+ this.toolStripMenuItemEdit.Name = "toolStripMenuItemEdit";
+ this.toolStripMenuItemEdit.Size = new System.Drawing.Size(156, 22);
+ this.toolStripMenuItemEdit.Text = "Edit Template";
+ this.toolStripMenuItemEdit.Click += new System.EventHandler(this.toolStripMenuItemEdit_Click);
+ //
+ // imageList
+ //
+ this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream")));
+ this.imageList.TransparentColor = System.Drawing.Color.Transparent;
+ this.imageList.Images.SetKeyName(0, "folder_page");
+ this.imageList.Images.SetKeyName(1, "script");
+ this.imageList.Images.SetKeyName(2, "script_code");
+ //
+ // templateFileWatcher
+ //
+ this.templateFileWatcher.EnableRaisingEvents = true;
+ this.templateFileWatcher.Filter = "*.mt";
+ this.templateFileWatcher.NotifyFilter = ((System.IO.NotifyFilters)((System.IO.NotifyFilters.FileName | System.IO.NotifyFilters.LastWrite)));
+ this.templateFileWatcher.SynchronizingObject = this;
+ this.templateFileWatcher.Changed += new System.IO.FileSystemEventHandler(this.templateFileWatcher_Changed);
+ this.templateFileWatcher.Created += new System.IO.FileSystemEventHandler(this.templateFileWatcher_Changed);
+ this.templateFileWatcher.Deleted += new System.IO.FileSystemEventHandler(this.templateFileWatcher_Changed);
+ this.templateFileWatcher.Renamed += new System.IO.RenamedEventHandler(this.templateFileWatcher_Renamed);
+ //
+ // TemplateViewForm
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(292, 266);
+ this.Controls.Add(this.tvTemplates);
+ this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
+ this.Name = "TemplateViewForm";
+ this.TabText = "Templates";
+ this.Text = "模板";
+ this.Load += new System.EventHandler(this.TemplateViewForm_Load);
+ this.treeMenuStrip.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.templateFileWatcher)).EndInit();
+ this.ResumeLayout(false);
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateViewForm.resx b/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateViewForm.resx
index 2e7b765..4e64375 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateViewForm.resx
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateViewForm.resx
@@ -112,23 +112,23 @@
<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="treeMenuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+ <metadata name="treeMenuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>120, 17</value>
</metadata>
- <metadata name="imageList.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+ <metadata name="imageList.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<data name="imageList.ImageStream" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
- AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj0yLjAuMC4w
+ AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAD8
- CgAAAk1TRnQBSQFMAgEBAwEAAQQBAAEEAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
+ CgAAAk1TRnQBSQFMAgEBAwEAAQwBAAEMAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABQAMAARADAAEBAQABCAYAAQQYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
@@ -177,10 +177,10 @@
AcABAAHAAwAB/AEAAcABAAHAAwAB/AEAAcABAAHAAwAB/AEAAcABAAHAAwAB/AEBAcABAAHAAwAL
</value>
</data>
- <metadata name="templateFileWatcher.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+ <metadata name="templateFileWatcher.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>250, 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="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAEBAAAAAAAABoBQAAFgAAACgAAAAQAAAAIAAAAAEACAAAAAAAQAEAAAAAAAAAAAAAAAAAAAAA
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/TextGenerator/TextGeneratorLoader.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/TextGenerator/TextGeneratorLoader.cs
index 64291ea..a76fcbb 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/TextGenerator/TextGeneratorLoader.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/TextGenerator/TextGeneratorLoader.cs
@@ -14,8 +14,8 @@ namespace MiniSqlQuery.PlugIns.TextGenerator
{
public TextGeneratorLoader()
: base(
- "Text Generator Tools",
- "A Mini SQL Query Plugin for generating test from... text :-)",
+ "文本生成器工具",
+ "用于从生成测试的迷你SQL查询插件。。。文本:-)",
21)
{
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ViewTable/ViewTableForm.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ViewTable/ViewTableForm.cs
index 7ccce01..5c9b760 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ViewTable/ViewTableForm.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ViewTable/ViewTableForm.cs
@@ -308,7 +308,7 @@ namespace MiniSqlQuery.PlugIns.ViewTable
{
if (_services.Settings.ConnectionDefinition == null)
{
- _services.HostWindow.DisplaySimpleMessageBox(this, "Please select a connection.", "Select a Connection");
+ _services.HostWindow.DisplaySimpleMessageBox(this, "请选择一个连接。", "选择连接");
return;
}
@@ -348,13 +348,13 @@ namespace MiniSqlQuery.PlugIns.ViewTable
SetCommandTimeout(cmd, _settings.CommandTimeout);
adapter.SelectCommand = cmd;
adapter.Fill(query.Result);
- SetStatus(string.Format("Loaded table '{0}'", TableName));
+ SetStatus(string.Format("已加载的表 '{0}'", TableName));
Text = TableName;
}
catch (DbException dbExp)
{
// todo: improve!
- _services.HostWindow.DisplaySimpleMessageBox(this, dbExp.Message, "View Table Error");
+ _services.HostWindow.DisplaySimpleMessageBox(this, dbExp.Message, "查看表错误");
SetStatus(dbExp.Message);
Text = Resources.ViewDataError;
}
@@ -407,7 +407,7 @@ namespace MiniSqlQuery.PlugIns.ViewTable
}
else
{
- Trace.WriteLine("Command Timeout only supported by SQL Client (so far)");
+ Trace.WriteLine("命令超时仅受SQL客户端支持(到目前为止)");
}
}
@@ -493,11 +493,11 @@ namespace MiniSqlQuery.PlugIns.ViewTable
if (i % 10 == 0)
{
- UpdateStatus(string.Format("Processing {0} of {1} rows", i + 1, dt.Rows.Count));
+ UpdateStatus(string.Format("正在处理{0} 行中的 {1} 行", i + 1, dt.Rows.Count));
}
}
- UpdateStatus(string.Format("Processed {0} rows. Opening file...", dt.Rows.Count));
+ UpdateStatus(string.Format("正在处理 {0} 行. 打开文件...", dt.Rows.Count));
// HACK - need to clean up the values for now as the model is holding the last rows data ;-)
// TODO - add a "deep clone" method to the table/columns
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ViewTable/ViewTableForm.Designer.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ViewTable/ViewTableForm.Designer.cs
index 869349f..bedfcf9 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ViewTable/ViewTableForm.Designer.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ViewTable/ViewTableForm.Designer.cs
@@ -28,132 +28,123 @@ namespace MiniSqlQuery.PlugIns.ViewTable
/// </summary>
private void InitializeComponent()
{
- this.components = new System.ComponentModel.Container();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ViewTableForm));
- this.dataGridViewResult = new System.Windows.Forms.DataGridView();
- this.groupBox1 = new System.Windows.Forms.GroupBox();
- this.lnkExportScript = new System.Windows.Forms.LinkLabel();
- this.chkAutoReload = new System.Windows.Forms.CheckBox();
- this.lnkRefresh = new System.Windows.Forms.LinkLabel();
- this.cboTableName = new System.Windows.Forms.ComboBox();
- this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
- this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewResult)).BeginInit();
- this.groupBox1.SuspendLayout();
- this.SuspendLayout();
- //
- // dataGridViewResult
- //
- this.dataGridViewResult.AllowUserToAddRows = false;
- this.dataGridViewResult.AllowUserToDeleteRows = false;
- this.dataGridViewResult.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle1.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewResult.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewResult.Dock = System.Windows.Forms.DockStyle.Fill;
- this.dataGridViewResult.Location = new System.Drawing.Point(4, 69);
- this.dataGridViewResult.Name = "dataGridViewResult";
- this.dataGridViewResult.ReadOnly = true;
- this.dataGridViewResult.Size = new System.Drawing.Size(562, 294);
- this.dataGridViewResult.TabIndex = 0;
- this.dataGridViewResult.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dataGridViewResult_DataError);
- //
- // groupBox1
- //
- this.groupBox1.Controls.Add(this.lnkExportScript);
- this.groupBox1.Controls.Add(this.chkAutoReload);
- this.groupBox1.Controls.Add(this.lnkRefresh);
- this.groupBox1.Controls.Add(this.cboTableName);
- this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top;
- this.groupBox1.Location = new System.Drawing.Point(4, 4);
- this.groupBox1.Name = "groupBox1";
- this.groupBox1.Size = new System.Drawing.Size(562, 65);
- this.groupBox1.TabIndex = 2;
- this.groupBox1.TabStop = false;
- this.groupBox1.Text = "Table Name";
- //
- // lnkExportScript
- //
- this.lnkExportScript.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.lnkExportScript.AutoSize = true;
- this.lnkExportScript.Location = new System.Drawing.Point(469, 29);
- this.lnkExportScript.Name = "lnkExportScript";
- this.lnkExportScript.Size = new System.Drawing.Size(76, 13);
- this.lnkExportScript.TabIndex = 4;
- this.lnkExportScript.TabStop = true;
- this.lnkExportScript.Text = "Export Script...";
- this.toolTip1.SetToolTip(this.lnkExportScript, "Takes the current data and creates a script of insert statements in a new window." +
+ this.components = new System.ComponentModel.Container();
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ViewTableForm));
+ this.dataGridViewResult = new System.Windows.Forms.DataGridView();
+ this.groupBox1 = new System.Windows.Forms.GroupBox();
+ this.lnkExportScript = new System.Windows.Forms.LinkLabel();
+ this.chkAutoReload = new System.Windows.Forms.CheckBox();
+ this.lnkRefresh = new System.Windows.Forms.LinkLabel();
+ this.cboTableName = new System.Windows.Forms.ComboBox();
+ this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
+ this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
+ ((System.ComponentModel.ISupportInitialize)(this.dataGridViewResult)).BeginInit();
+ this.groupBox1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // dataGridViewResult
+ //
+ this.dataGridViewResult.AllowUserToAddRows = false;
+ this.dataGridViewResult.AllowUserToDeleteRows = false;
+ this.dataGridViewResult.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+ this.dataGridViewResult.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.dataGridViewResult.Location = new System.Drawing.Point(4, 69);
+ this.dataGridViewResult.Name = "dataGridViewResult";
+ this.dataGridViewResult.ReadOnly = true;
+ this.dataGridViewResult.Size = new System.Drawing.Size(562, 294);
+ this.dataGridViewResult.TabIndex = 0;
+ this.dataGridViewResult.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dataGridViewResult_DataError);
+ //
+ // groupBox1
+ //
+ this.groupBox1.Controls.Add(this.lnkExportScript);
+ this.groupBox1.Controls.Add(this.chkAutoReload);
+ this.groupBox1.Controls.Add(this.lnkRefresh);
+ this.groupBox1.Controls.Add(this.cboTableName);
+ this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.groupBox1.Location = new System.Drawing.Point(4, 4);
+ this.groupBox1.Name = "groupBox1";
+ this.groupBox1.Size = new System.Drawing.Size(562, 65);
+ this.groupBox1.TabIndex = 2;
+ this.groupBox1.TabStop = false;
+ this.groupBox1.Text = "����";
+ //
+ // lnkExportScript
+ //
+ this.lnkExportScript.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.lnkExportScript.AutoSize = true;
+ this.lnkExportScript.Location = new System.Drawing.Point(469, 29);
+ this.lnkExportScript.Name = "lnkExportScript";
+ this.lnkExportScript.Size = new System.Drawing.Size(64, 13);
+ this.lnkExportScript.TabIndex = 4;
+ this.lnkExportScript.TabStop = true;
+ this.lnkExportScript.Text = "�����ű�...";
+ this.toolTip1.SetToolTip(this.lnkExportScript, "Takes the current data and creates a script of insert statements in a new window." +
"");
- this.lnkExportScript.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkExportScript_LinkClicked);
- //
- // chkAutoReload
- //
- this.chkAutoReload.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.chkAutoReload.AutoSize = true;
- this.chkAutoReload.Checked = true;
- this.chkAutoReload.CheckState = System.Windows.Forms.CheckState.Checked;
- this.chkAutoReload.Location = new System.Drawing.Point(471, 45);
- this.chkAutoReload.Name = "chkAutoReload";
- this.chkAutoReload.Size = new System.Drawing.Size(85, 17);
- this.chkAutoReload.TabIndex = 2;
- this.chkAutoReload.Text = "Auto Reload";
- this.toolTip1.SetToolTip(this.chkAutoReload, "Automatically reload the table when a \'Truncate\' action is performed.");
- this.chkAutoReload.UseVisualStyleBackColor = true;
- //
- // lnkRefresh
- //
- this.lnkRefresh.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.lnkRefresh.AutoSize = true;
- this.lnkRefresh.Location = new System.Drawing.Point(469, 16);
- this.lnkRefresh.Name = "lnkRefresh";
- this.lnkRefresh.Size = new System.Drawing.Size(71, 13);
- this.lnkRefresh.TabIndex = 1;
- this.lnkRefresh.TabStop = true;
- this.lnkRefresh.Text = "Reload Table";
- this.toolTip1.SetToolTip(this.lnkRefresh, "Reload the selected table now.");
- this.lnkRefresh.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkRefresh_LinkClicked);
- //
- // cboTableName
- //
- this.cboTableName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ this.lnkExportScript.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkExportScript_LinkClicked);
+ //
+ // chkAutoReload
+ //
+ this.chkAutoReload.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.chkAutoReload.AutoSize = true;
+ this.chkAutoReload.Checked = true;
+ this.chkAutoReload.CheckState = System.Windows.Forms.CheckState.Checked;
+ this.chkAutoReload.Location = new System.Drawing.Point(482, 45);
+ this.chkAutoReload.Name = "chkAutoReload";
+ this.chkAutoReload.Size = new System.Drawing.Size(74, 17);
+ this.chkAutoReload.TabIndex = 2;
+ this.chkAutoReload.Text = "�Զ�����";
+ this.toolTip1.SetToolTip(this.chkAutoReload, "Automatically reload the table when a \'Truncate\' action is performed.");
+ this.chkAutoReload.UseVisualStyleBackColor = true;
+ //
+ // lnkRefresh
+ //
+ this.lnkRefresh.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.lnkRefresh.AutoSize = true;
+ this.lnkRefresh.Location = new System.Drawing.Point(469, 16);
+ this.lnkRefresh.Name = "lnkRefresh";
+ this.lnkRefresh.Size = new System.Drawing.Size(67, 13);
+ this.lnkRefresh.TabIndex = 1;
+ this.lnkRefresh.TabStop = true;
+ this.lnkRefresh.Text = "���¼��ر�";
+ this.toolTip1.SetToolTip(this.lnkRefresh, "Reload the selected table now.");
+ this.lnkRefresh.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkRefresh_LinkClicked);
+ //
+ // cboTableName
+ //
+ this.cboTableName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
- this.cboTableName.FormattingEnabled = true;
- this.cboTableName.Location = new System.Drawing.Point(12, 19);
- this.cboTableName.MaxDropDownItems = 20;
- this.cboTableName.Name = "cboTableName";
- this.cboTableName.Size = new System.Drawing.Size(454, 21);
- this.cboTableName.TabIndex = 0;
- //
- // contextMenuStrip
- //
- this.contextMenuStrip.Name = "contextMenuStrip";
- this.contextMenuStrip.Size = new System.Drawing.Size(61, 4);
- //
- // ViewTableForm
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(570, 367);
- this.Controls.Add(this.dataGridViewResult);
- this.Controls.Add(this.groupBox1);
- this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
- this.Name = "ViewTableForm";
- this.Padding = new System.Windows.Forms.Padding(4);
- this.TabText = "ViewTableForm";
- this.Text = "ViewTableForm";
- this.Activated += new System.EventHandler(this.ViewTableForm_Activated);
- this.Shown += new System.EventHandler(this.ViewTableForm_Shown);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewResult)).EndInit();
- this.groupBox1.ResumeLayout(false);
- this.groupBox1.PerformLayout();
- this.ResumeLayout(false);
+ this.cboTableName.FormattingEnabled = true;
+ this.cboTableName.Location = new System.Drawing.Point(12, 19);
+ this.cboTableName.MaxDropDownItems = 20;
+ this.cboTableName.Name = "cboTableName";
+ this.cboTableName.Size = new System.Drawing.Size(454, 21);
+ this.cboTableName.TabIndex = 0;
+ //
+ // contextMenuStrip
+ //
+ this.contextMenuStrip.Name = "contextMenuStrip";
+ this.contextMenuStrip.Size = new System.Drawing.Size(61, 4);
+ //
+ // ViewTableForm
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(570, 367);
+ this.Controls.Add(this.dataGridViewResult);
+ this.Controls.Add(this.groupBox1);
+ this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
+ this.Name = "ViewTableForm";
+ this.Padding = new System.Windows.Forms.Padding(4);
+ this.TabText = "ViewTableForm";
+ this.Text = "�鿴��";
+ this.Activated += new System.EventHandler(this.ViewTableForm_Activated);
+ this.Shown += new System.EventHandler(this.ViewTableForm_Shown);
+ ((System.ComponentModel.ISupportInitialize)(this.dataGridViewResult)).EndInit();
+ this.groupBox1.ResumeLayout(false);
+ this.groupBox1.PerformLayout();
+ this.ResumeLayout(false);
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ViewTable/ViewTableForm.resx b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ViewTable/ViewTableForm.resx
index e58af44..887ee64 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ViewTable/ViewTableForm.resx
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ViewTable/ViewTableForm.resx
@@ -112,18 +112,18 @@
<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="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+ <metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>132, 17</value>
</metadata>
- <metadata name="contextMenuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+ <metadata name="contextMenuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>229, 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="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAEBAAAAAAAABoBQAAFgAAACgAAAAQAAAAIAAAAAEACAAAAAAAQAEAAAAAAAAAAAAAAAAAAAAA
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ViewTable/ViewTableLoader.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ViewTable/ViewTableLoader.cs
index 1fd6f8f..deaa65f 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ViewTable/ViewTableLoader.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ViewTable/ViewTableLoader.cs
@@ -15,7 +15,7 @@ namespace MiniSqlQuery.PlugIns.ViewTable
{
/// <summary>Initializes a new instance of the <see cref="ViewTableLoader"/> class.</summary>
public ViewTableLoader()
- : base("View Table Data", "A Mini SQL Query Plugin for viewing table data.", 50)
+ : base("查看表数据", "用于查看表数据的迷你SQL查询插件。", 50)
{
}