汉化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/Contrib/MiniSqlQuery.Exports.Plugin/ExportWindow.Designer.cs b/minisqlquery-master/src/Contrib/MiniSqlQuery.Exports.Plugin/ExportWindow.Designer.cs
index a065afb..71eef10 100644
--- a/minisqlquery-master/src/Contrib/MiniSqlQuery.Exports.Plugin/ExportWindow.Designer.cs
+++ b/minisqlquery-master/src/Contrib/MiniSqlQuery.Exports.Plugin/ExportWindow.Designer.cs
@@ -69,17 +69,17 @@
// label1
//
this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(12, 9);
+ this.label1.Location = new System.Drawing.Point(12, 8);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(68, 13);
+ this.label1.Size = new System.Drawing.Size(71, 12);
this.label1.TabIndex = 0;
- this.label1.Text = "Export to file:";
+ this.label1.Text = "导出到文件:";
//
// txtFilePath
//
- this.txtFilePath.Location = new System.Drawing.Point(15, 25);
+ this.txtFilePath.Location = new System.Drawing.Point(15, 23);
this.txtFilePath.Name = "txtFilePath";
- this.txtFilePath.Size = new System.Drawing.Size(428, 20);
+ this.txtFilePath.Size = new System.Drawing.Size(428, 21);
this.txtFilePath.TabIndex = 1;
//
// button1
@@ -87,9 +87,9 @@
this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button1.ImageKey = "VSFolder_open.bmp";
this.button1.ImageList = this.imageList1;
- this.button1.Location = new System.Drawing.Point(449, 25);
+ this.button1.Location = new System.Drawing.Point(449, 23);
this.button1.Name = "button1";
- this.button1.Size = new System.Drawing.Size(27, 20);
+ this.button1.Size = new System.Drawing.Size(27, 18);
this.button1.TabIndex = 2;
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
@@ -104,9 +104,9 @@
//
this.rbtHtml.AutoSize = true;
this.rbtHtml.Checked = true;
- this.rbtHtml.Location = new System.Drawing.Point(15, 51);
+ this.rbtHtml.Location = new System.Drawing.Point(15, 47);
this.rbtHtml.Name = "rbtHtml";
- this.rbtHtml.Size = new System.Drawing.Size(46, 17);
+ this.rbtHtml.Size = new System.Drawing.Size(47, 16);
this.rbtHtml.TabIndex = 3;
this.rbtHtml.TabStop = true;
this.rbtHtml.Text = "Html";
@@ -116,9 +116,9 @@
// rbtCsv
//
this.rbtCsv.AutoSize = true;
- this.rbtCsv.Location = new System.Drawing.Point(77, 51);
+ this.rbtCsv.Location = new System.Drawing.Point(77, 47);
this.rbtCsv.Name = "rbtCsv";
- this.rbtCsv.Size = new System.Drawing.Size(43, 17);
+ this.rbtCsv.Size = new System.Drawing.Size(41, 16);
this.rbtCsv.TabIndex = 4;
this.rbtCsv.Text = "Csv";
this.rbtCsv.UseVisualStyleBackColor = true;
@@ -127,9 +127,9 @@
// rbtXml
//
this.rbtXml.AutoSize = true;
- this.rbtXml.Location = new System.Drawing.Point(126, 51);
+ this.rbtXml.Location = new System.Drawing.Point(126, 47);
this.rbtXml.Name = "rbtXml";
- this.rbtXml.Size = new System.Drawing.Size(42, 17);
+ this.rbtXml.Size = new System.Drawing.Size(41, 16);
this.rbtXml.TabIndex = 5;
this.rbtXml.Text = "Xml";
this.rbtXml.UseVisualStyleBackColor = true;
@@ -137,21 +137,21 @@
//
// btnCancel
//
- this.btnCancel.Location = new System.Drawing.Point(401, 359);
+ this.btnCancel.Location = new System.Drawing.Point(401, 331);
this.btnCancel.Name = "btnCancel";
- this.btnCancel.Size = new System.Drawing.Size(75, 23);
+ this.btnCancel.Size = new System.Drawing.Size(75, 21);
this.btnCancel.TabIndex = 6;
- this.btnCancel.Text = "Close";
+ this.btnCancel.Text = "关闭";
this.btnCancel.UseVisualStyleBackColor = true;
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
//
// btnExport
//
- this.btnExport.Location = new System.Drawing.Point(320, 359);
+ this.btnExport.Location = new System.Drawing.Point(320, 331);
this.btnExport.Name = "btnExport";
- this.btnExport.Size = new System.Drawing.Size(75, 23);
+ this.btnExport.Size = new System.Drawing.Size(75, 21);
this.btnExport.TabIndex = 7;
- this.btnExport.Text = "Export";
+ this.btnExport.Text = "导出";
this.btnExport.UseVisualStyleBackColor = true;
this.btnExport.Click += new System.EventHandler(this.btnExport_Click);
//
@@ -159,19 +159,19 @@
//
this.groupBox1.Controls.Add(this.groupBox3);
this.groupBox1.Controls.Add(this.groupBox2);
- this.groupBox1.Location = new System.Drawing.Point(15, 85);
+ this.groupBox1.Location = new System.Drawing.Point(15, 78);
this.groupBox1.Name = "groupBox1";
- this.groupBox1.Size = new System.Drawing.Size(461, 268);
+ this.groupBox1.Size = new System.Drawing.Size(461, 247);
this.groupBox1.TabIndex = 8;
this.groupBox1.TabStop = false;
- this.groupBox1.Text = "Output settings";
+ this.groupBox1.Text = "导出设置";
//
// groupBox3
//
this.groupBox3.Controls.Add(this.chkRowNames);
- this.groupBox3.Location = new System.Drawing.Point(6, 201);
+ this.groupBox3.Location = new System.Drawing.Point(6, 186);
this.groupBox3.Name = "groupBox3";
- this.groupBox3.Size = new System.Drawing.Size(449, 54);
+ this.groupBox3.Size = new System.Drawing.Size(449, 50);
this.groupBox3.TabIndex = 1;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "Csv";
@@ -181,11 +181,11 @@
this.chkRowNames.AutoSize = true;
this.chkRowNames.Checked = true;
this.chkRowNames.CheckState = System.Windows.Forms.CheckState.Checked;
- this.chkRowNames.Location = new System.Drawing.Point(9, 19);
+ this.chkRowNames.Location = new System.Drawing.Point(9, 18);
this.chkRowNames.Name = "chkRowNames";
- this.chkRowNames.Size = new System.Drawing.Size(145, 17);
+ this.chkRowNames.Size = new System.Drawing.Size(84, 16);
this.chkRowNames.TabIndex = 0;
- this.chkRowNames.Text = "Column names in first row";
+ this.chkRowNames.Text = "第一行列名";
this.chkRowNames.UseVisualStyleBackColor = true;
//
// groupBox2
@@ -205,44 +205,44 @@
this.groupBox2.Controls.Add(this.txtFontFamily);
this.groupBox2.Controls.Add(this.label3);
this.groupBox2.Controls.Add(this.label2);
- this.groupBox2.Location = new System.Drawing.Point(6, 19);
+ this.groupBox2.Location = new System.Drawing.Point(6, 18);
this.groupBox2.Name = "groupBox2";
- this.groupBox2.Size = new System.Drawing.Size(449, 176);
+ this.groupBox2.Size = new System.Drawing.Size(449, 162);
this.groupBox2.TabIndex = 0;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "Html";
//
// txtRowBgAltColor
//
- this.txtRowBgAltColor.Location = new System.Drawing.Point(241, 131);
+ this.txtRowBgAltColor.Location = new System.Drawing.Point(241, 121);
this.txtRowBgAltColor.Name = "txtRowBgAltColor";
- this.txtRowBgAltColor.Size = new System.Drawing.Size(100, 20);
+ this.txtRowBgAltColor.Size = new System.Drawing.Size(100, 21);
this.txtRowBgAltColor.TabIndex = 15;
this.txtRowBgAltColor.Text = "#F2F2F2";
//
// label10
//
this.label10.AutoSize = true;
- this.label10.Location = new System.Drawing.Point(186, 134);
+ this.label10.Location = new System.Drawing.Point(186, 124);
this.label10.Name = "label10";
- this.label10.Size = new System.Drawing.Size(49, 13);
+ this.label10.Size = new System.Drawing.Size(59, 12);
this.label10.TabIndex = 14;
this.label10.Text = "Alternate";
//
// txtRowBgcolor
//
- this.txtRowBgcolor.Location = new System.Drawing.Point(62, 131);
+ this.txtRowBgcolor.Location = new System.Drawing.Point(62, 121);
this.txtRowBgcolor.Name = "txtRowBgcolor";
- this.txtRowBgcolor.Size = new System.Drawing.Size(100, 20);
+ this.txtRowBgcolor.Size = new System.Drawing.Size(100, 21);
this.txtRowBgcolor.TabIndex = 13;
this.txtRowBgcolor.Text = "#FFFFFF";
//
// label8
//
this.label8.AutoSize = true;
- this.label8.Location = new System.Drawing.Point(25, 134);
+ this.label8.Location = new System.Drawing.Point(25, 124);
this.label8.Name = "label8";
- this.label8.Size = new System.Drawing.Size(31, 13);
+ this.label8.Size = new System.Drawing.Size(35, 12);
this.label8.TabIndex = 12;
this.label8.Text = "Color";
//
@@ -250,7 +250,7 @@
//
this.label9.AutoSize = true;
this.label9.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label9.Location = new System.Drawing.Point(6, 109);
+ this.label9.Location = new System.Drawing.Point(6, 101);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(32, 13);
this.label9.TabIndex = 11;
@@ -258,35 +258,35 @@
//
// txtHeaderBGColor
//
- this.txtHeaderBGColor.Location = new System.Drawing.Point(62, 82);
+ this.txtHeaderBGColor.Location = new System.Drawing.Point(62, 76);
this.txtHeaderBGColor.Name = "txtHeaderBGColor";
- this.txtHeaderBGColor.Size = new System.Drawing.Size(100, 20);
+ this.txtHeaderBGColor.Size = new System.Drawing.Size(100, 21);
this.txtHeaderBGColor.TabIndex = 10;
this.txtHeaderBGColor.Text = "#CAE1FF";
//
// label7
//
this.label7.AutoSize = true;
- this.label7.Location = new System.Drawing.Point(25, 85);
+ this.label7.Location = new System.Drawing.Point(25, 78);
this.label7.Name = "label7";
- this.label7.Size = new System.Drawing.Size(31, 13);
+ this.label7.Size = new System.Drawing.Size(35, 12);
this.label7.TabIndex = 9;
this.label7.Text = "Color";
//
// txtFontColor
//
- this.txtFontColor.Location = new System.Drawing.Point(319, 35);
+ this.txtFontColor.Location = new System.Drawing.Point(319, 32);
this.txtFontColor.Name = "txtFontColor";
- this.txtFontColor.Size = new System.Drawing.Size(100, 20);
+ this.txtFontColor.Size = new System.Drawing.Size(100, 21);
this.txtFontColor.TabIndex = 8;
this.txtFontColor.Text = "#000000";
//
// label6
//
this.label6.AutoSize = true;
- this.label6.Location = new System.Drawing.Point(282, 38);
+ this.label6.Location = new System.Drawing.Point(282, 35);
this.label6.Name = "label6";
- this.label6.Size = new System.Drawing.Size(31, 13);
+ this.label6.Size = new System.Drawing.Size(35, 12);
this.label6.TabIndex = 7;
this.label6.Text = "Color";
//
@@ -294,7 +294,7 @@
//
this.label5.AutoSize = true;
this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label5.Location = new System.Drawing.Point(6, 16);
+ this.label5.Location = new System.Drawing.Point(6, 15);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(32, 13);
this.label5.TabIndex = 6;
@@ -302,35 +302,35 @@
//
// txtFontSize
//
- this.txtFontSize.Location = new System.Drawing.Point(223, 35);
+ this.txtFontSize.Location = new System.Drawing.Point(223, 32);
this.txtFontSize.Name = "txtFontSize";
- this.txtFontSize.Size = new System.Drawing.Size(53, 20);
+ this.txtFontSize.Size = new System.Drawing.Size(53, 21);
this.txtFontSize.TabIndex = 5;
this.txtFontSize.Text = "12px";
//
// label4
//
this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(168, 38);
+ this.label4.Location = new System.Drawing.Point(168, 35);
this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(49, 13);
+ this.label4.Size = new System.Drawing.Size(59, 12);
this.label4.TabIndex = 4;
this.label4.Text = "Font size";
//
// txtFontFamily
//
- this.txtFontFamily.Location = new System.Drawing.Point(62, 35);
+ this.txtFontFamily.Location = new System.Drawing.Point(62, 32);
this.txtFontFamily.Name = "txtFontFamily";
- this.txtFontFamily.Size = new System.Drawing.Size(100, 20);
+ this.txtFontFamily.Size = new System.Drawing.Size(100, 21);
this.txtFontFamily.TabIndex = 3;
this.txtFontFamily.Text = "Verdana";
//
// label3
//
this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(20, 38);
+ this.label3.Location = new System.Drawing.Point(20, 35);
this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(36, 13);
+ this.label3.Size = new System.Drawing.Size(41, 12);
this.label3.TabIndex = 2;
this.label3.Text = "Family";
//
@@ -338,7 +338,7 @@
//
this.label2.AutoSize = true;
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label2.Location = new System.Drawing.Point(6, 60);
+ this.label2.Location = new System.Drawing.Point(6, 55);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(48, 13);
this.label2.TabIndex = 0;
@@ -348,7 +348,7 @@
//
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripStatusLabel1});
- this.statusStrip1.Location = new System.Drawing.Point(0, 390);
+ this.statusStrip1.Location = new System.Drawing.Point(0, 358);
this.statusStrip1.Name = "statusStrip1";
this.statusStrip1.Size = new System.Drawing.Size(488, 22);
this.statusStrip1.TabIndex = 9;
@@ -363,9 +363,9 @@
//
// ExportWindow
//
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(488, 412);
+ this.ClientSize = new System.Drawing.Size(488, 380);
this.Controls.Add(this.statusStrip1);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.btnExport);
@@ -379,7 +379,7 @@
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Name = "ExportWindow";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
- this.Text = "ExportWindow";
+ this.Text = "导出窗口";
this.Load += new System.EventHandler(this.ExportWindow_Load);
this.groupBox1.ResumeLayout(false);
this.groupBox3.ResumeLayout(false);
diff --git a/minisqlquery-master/src/Contrib/MiniSqlQuery.Exports.Plugin/ExportWindow.resx b/minisqlquery-master/src/Contrib/MiniSqlQuery.Exports.Plugin/ExportWindow.resx
index 8831e4a..8106495 100644
--- a/minisqlquery-master/src/Contrib/MiniSqlQuery.Exports.Plugin/ExportWindow.resx
+++ b/minisqlquery-master/src/Contrib/MiniSqlQuery.Exports.Plugin/ExportWindow.resx
@@ -112,20 +112,20 @@
<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="imageList1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+ <metadata name="imageList1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<data name="imageList1.ImageStream" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
- AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj0yLjAuMC4w
+ AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAACE
- BAAAAk1TRnQBSQFMAwEBAAEEAQABBAEAARABAAEQAQAE/wEZAQAI/wFCAU0BNgcAATYDAAEoAwABQAMA
+ BAAAAk1TRnQBSQFMAwEBAAEMAQABDAEAARABAAEQAQAE/wEZAQAI/wFCAU0BNgcAATYDAAEoAwABQAMA
ARADAAEBAQABGAYAAQz/AJMAAXUBhAGPAWYBgAGPAWABeQGHAVcBbgF7AU4BYgFvAUQBVgFhATkBSAFS
AS4BOgFDASUBLgE1ARsBIgEpARQBGQEeAQ4BEgEWAQ4BEwEYmQABdwGHAZIBiQGhAasBagGyAdQBAAGP
Ac0BAAGPAc0BAAGPAc0BBAGMAccBCAGIAb4BDwGCAbQBFQF8AakBGwF3AZ8BHwFyAZYBIgFLAVwBmwGt
@@ -147,7 +147,7 @@
BwAB/wYAAQEB/wYAAv8GAAL/BgAL
</value>
</data>
- <metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+ <metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>122, 17</value>
</metadata>
</root>
\ No newline at end of file
diff --git a/minisqlquery-master/src/MiniSqlQuery.Core/Controls/ExceptionControl.Designer.cs b/minisqlquery-master/src/MiniSqlQuery.Core/Controls/ExceptionControl.Designer.cs
index 51a3d8d..b8b09ec 100644
--- a/minisqlquery-master/src/MiniSqlQuery.Core/Controls/ExceptionControl.Designer.cs
+++ b/minisqlquery-master/src/MiniSqlQuery.Core/Controls/ExceptionControl.Designer.cs
@@ -28,83 +28,83 @@
/// </summary>
private void InitializeComponent()
{
- this.lblError = new System.Windows.Forms.Label();
- this.txtMessage = new System.Windows.Forms.TextBox();
- this.txtDetails = new System.Windows.Forms.TextBox();
- this.label2 = new System.Windows.Forms.Label();
- this.lnkCopy = new System.Windows.Forms.LinkLabel();
- this.SuspendLayout();
- //
- // lblError
- //
- this.lblError.AutoSize = true;
- this.lblError.Location = new System.Drawing.Point(3, 0);
- this.lblError.Name = "lblError";
- this.lblError.Size = new System.Drawing.Size(29, 13);
- this.lblError.TabIndex = 0;
- this.lblError.Text = "Error";
- //
- // txtMessage
- //
- this.txtMessage.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.txtMessage.Location = new System.Drawing.Point(6, 16);
- this.txtMessage.Multiline = true;
- this.txtMessage.Name = "txtMessage";
- this.txtMessage.ReadOnly = true;
- this.txtMessage.ScrollBars = System.Windows.Forms.ScrollBars.Both;
- this.txtMessage.Size = new System.Drawing.Size(428, 54);
- this.txtMessage.TabIndex = 1;
- //
- // txtDetails
- //
- this.txtDetails.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.txtDetails.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.txtDetails.Location = new System.Drawing.Point(6, 94);
- this.txtDetails.Multiline = true;
- this.txtDetails.Name = "txtDetails";
- this.txtDetails.ReadOnly = true;
- this.txtDetails.ScrollBars = System.Windows.Forms.ScrollBars.Both;
- this.txtDetails.Size = new System.Drawing.Size(428, 142);
- this.txtDetails.TabIndex = 3;
- //
- // label2
- //
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(3, 78);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(39, 13);
- this.label2.TabIndex = 2;
- this.label2.Text = "Details";
- //
- // lnkCopy
- //
- this.lnkCopy.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.lnkCopy.AutoSize = true;
- this.lnkCopy.Location = new System.Drawing.Point(344, 239);
- this.lnkCopy.Name = "lnkCopy";
- this.lnkCopy.Size = new System.Drawing.Size(90, 13);
- this.lnkCopy.TabIndex = 4;
- this.lnkCopy.TabStop = true;
- this.lnkCopy.Text = "Copy to Clipboard";
- this.lnkCopy.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkCopy_LinkClicked);
- //
- // ExceptionControl
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.lnkCopy);
- this.Controls.Add(this.txtDetails);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.txtMessage);
- this.Controls.Add(this.lblError);
- this.Name = "ExceptionControl";
- this.Size = new System.Drawing.Size(437, 256);
- this.Load += new System.EventHandler(this.ExceptionControl_Load);
- this.ResumeLayout(false);
- this.PerformLayout();
+ this.lblError = new System.Windows.Forms.Label();
+ this.txtMessage = new System.Windows.Forms.TextBox();
+ this.txtDetails = new System.Windows.Forms.TextBox();
+ this.label2 = new System.Windows.Forms.Label();
+ this.lnkCopy = new System.Windows.Forms.LinkLabel();
+ this.SuspendLayout();
+ //
+ // lblError
+ //
+ this.lblError.AutoSize = true;
+ this.lblError.Location = new System.Drawing.Point(3, 0);
+ this.lblError.Name = "lblError";
+ this.lblError.Size = new System.Drawing.Size(29, 12);
+ this.lblError.TabIndex = 0;
+ this.lblError.Text = "错误";
+ //
+ // txtMessage
+ //
+ this.txtMessage.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.txtMessage.Location = new System.Drawing.Point(6, 15);
+ this.txtMessage.Multiline = true;
+ this.txtMessage.Name = "txtMessage";
+ this.txtMessage.ReadOnly = true;
+ this.txtMessage.ScrollBars = System.Windows.Forms.ScrollBars.Both;
+ this.txtMessage.Size = new System.Drawing.Size(428, 50);
+ this.txtMessage.TabIndex = 1;
+ //
+ // txtDetails
+ //
+ this.txtDetails.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.txtDetails.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.txtDetails.Location = new System.Drawing.Point(6, 87);
+ this.txtDetails.Multiline = true;
+ this.txtDetails.Name = "txtDetails";
+ this.txtDetails.ReadOnly = true;
+ this.txtDetails.ScrollBars = System.Windows.Forms.ScrollBars.Both;
+ this.txtDetails.Size = new System.Drawing.Size(428, 131);
+ this.txtDetails.TabIndex = 3;
+ //
+ // label2
+ //
+ this.label2.AutoSize = true;
+ this.label2.Location = new System.Drawing.Point(3, 72);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(53, 12);
+ this.label2.TabIndex = 2;
+ this.label2.Text = "详细信息";
+ //
+ // lnkCopy
+ //
+ this.lnkCopy.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.lnkCopy.AutoSize = true;
+ this.lnkCopy.Location = new System.Drawing.Point(344, 221);
+ this.lnkCopy.Name = "lnkCopy";
+ this.lnkCopy.Size = new System.Drawing.Size(77, 12);
+ this.lnkCopy.TabIndex = 4;
+ this.lnkCopy.TabStop = true;
+ this.lnkCopy.Text = "复制到剪切板";
+ this.lnkCopy.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkCopy_LinkClicked);
+ //
+ // ExceptionControl
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Controls.Add(this.lnkCopy);
+ this.Controls.Add(this.txtDetails);
+ this.Controls.Add(this.label2);
+ this.Controls.Add(this.txtMessage);
+ this.Controls.Add(this.lblError);
+ this.Name = "ExceptionControl";
+ this.Size = new System.Drawing.Size(437, 236);
+ this.Load += new System.EventHandler(this.ExceptionControl_Load);
+ this.ResumeLayout(false);
+ this.PerformLayout();
}
diff --git a/minisqlquery-master/src/MiniSqlQuery.Core/Controls/ExceptionControl.resx b/minisqlquery-master/src/MiniSqlQuery.Core/Controls/ExceptionControl.resx
index 19dc0dd..d58980a 100644
--- a/minisqlquery-master/src/MiniSqlQuery.Core/Controls/ExceptionControl.resx
+++ b/minisqlquery-master/src/MiniSqlQuery.Core/Controls/ExceptionControl.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.Core/Controls/PluginListControl.Designer.cs b/minisqlquery-master/src/MiniSqlQuery.Core/Controls/PluginListControl.Designer.cs
index 7dd82b8..f799dec 100644
--- a/minisqlquery-master/src/MiniSqlQuery.Core/Controls/PluginListControl.Designer.cs
+++ b/minisqlquery-master/src/MiniSqlQuery.Core/Controls/PluginListControl.Designer.cs
@@ -28,49 +28,50 @@
/// </summary>
private void InitializeComponent()
{
- this.listView1 = new System.Windows.Forms.ListView();
- this.columnHeaderName = new System.Windows.Forms.ColumnHeader();
- this.columnHeaderDescription = new System.Windows.Forms.ColumnHeader();
- this.columnHeaderAssembly = new System.Windows.Forms.ColumnHeader();
- this.SuspendLayout();
- //
- // listView1
- //
- this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
+ this.listView1 = new System.Windows.Forms.ListView();
+ this.columnHeaderName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
+ this.columnHeaderDescription = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
+ this.columnHeaderAssembly = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
+ this.SuspendLayout();
+ //
+ // listView1
+ //
+ this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.columnHeaderName,
this.columnHeaderDescription,
this.columnHeaderAssembly});
- this.listView1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.listView1.Location = new System.Drawing.Point(0, 0);
- this.listView1.Name = "listView1";
- this.listView1.Size = new System.Drawing.Size(361, 146);
- this.listView1.TabIndex = 0;
- this.listView1.UseCompatibleStateImageBehavior = false;
- this.listView1.View = System.Windows.Forms.View.Details;
- //
- // columnHeaderName
- //
- this.columnHeaderName.Text = "Name";
- this.columnHeaderName.Width = 150;
- //
- // columnHeaderDescription
- //
- this.columnHeaderDescription.Text = "Description";
- this.columnHeaderDescription.Width = 200;
- //
- // columnHeaderAssembly
- //
- this.columnHeaderAssembly.Text = "Assembly";
- this.columnHeaderAssembly.Width = 200;
- //
- // PluginListControl
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.listView1);
- this.Name = "PluginListControl";
- this.Size = new System.Drawing.Size(361, 146);
- this.ResumeLayout(false);
+ this.listView1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.listView1.HideSelection = false;
+ this.listView1.Location = new System.Drawing.Point(0, 0);
+ this.listView1.Name = "listView1";
+ this.listView1.Size = new System.Drawing.Size(361, 135);
+ this.listView1.TabIndex = 0;
+ this.listView1.UseCompatibleStateImageBehavior = false;
+ this.listView1.View = System.Windows.Forms.View.Details;
+ //
+ // columnHeaderName
+ //
+ this.columnHeaderName.Text = "名称";
+ this.columnHeaderName.Width = 150;
+ //
+ // columnHeaderDescription
+ //
+ this.columnHeaderDescription.Text = "Description";
+ this.columnHeaderDescription.Width = 200;
+ //
+ // columnHeaderAssembly
+ //
+ this.columnHeaderAssembly.Text = "Assembly";
+ this.columnHeaderAssembly.Width = 200;
+ //
+ // PluginListControl
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Controls.Add(this.listView1);
+ this.Name = "PluginListControl";
+ this.Size = new System.Drawing.Size(361, 135);
+ this.ResumeLayout(false);
}
diff --git a/minisqlquery-master/src/MiniSqlQuery.Core/Controls/PluginListControl.resx b/minisqlquery-master/src/MiniSqlQuery.Core/Controls/PluginListControl.resx
index 19dc0dd..d58980a 100644
--- a/minisqlquery-master/src/MiniSqlQuery.Core/Controls/PluginListControl.resx
+++ b/minisqlquery-master/src/MiniSqlQuery.Core/Controls/PluginListControl.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.Tests/MiniSqlQuery.Tests.csproj b/minisqlquery-master/src/MiniSqlQuery.Tests/MiniSqlQuery.Tests.csproj
index 6e4a68b..236ddaf 100644
--- a/minisqlquery-master/src/MiniSqlQuery.Tests/MiniSqlQuery.Tests.csproj
+++ b/minisqlquery-master/src/MiniSqlQuery.Tests/MiniSqlQuery.Tests.csproj
@@ -131,16 +131,6 @@
</None>
</ItemGroup>
<ItemGroup>
- <Content Include="..\TestDatabases\sqlce-test.v4.sdf">
- <Link>sqlce-test.v4.sdf</Link>
- <CopyToOutputDirectory>Always</CopyToOutputDirectory>
- </Content>
- <Content Include="..\TestDatabases\Northwind.v4.sdf">
- <Link>Northwind.v4.sdf</Link>
- <CopyToOutputDirectory>Always</CopyToOutputDirectory>
- </Content>
- </ItemGroup>
- <ItemGroup>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
diff --git a/minisqlquery-master/src/MiniSqlQuery/BasicEditor.cs b/minisqlquery-master/src/MiniSqlQuery/BasicEditor.cs
index dd87e8d..db121c6 100644
--- a/minisqlquery-master/src/MiniSqlQuery/BasicEditor.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/BasicEditor.cs
@@ -99,7 +99,7 @@ namespace MiniSqlQuery
/// <summary>Gets FileFilter.</summary>
public virtual string FileFilter
{
- get { return "Text Files (*.txt)|*.txt|All Files (*.*)|*.*"; }
+ get { return "文本文件 (*.txt)|*.txt|All Files (*.*)|*.*"; }
}
/// <summary>Gets or sets FileName.</summary>
@@ -338,7 +338,7 @@ namespace MiniSqlQuery
{
DialogResult saveFile = _services.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,
@@ -382,7 +382,7 @@ namespace MiniSqlQuery
/// <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;
}
@@ -390,7 +390,7 @@ namespace MiniSqlQuery
private void SetTabTextByFilename()
{
string dirty = string.Empty;
- string text = "Untitled";
+ string text = "未命名";
string tabtext;
if (_isDirty)
diff --git a/minisqlquery-master/src/MiniSqlQuery/BasicEditor.Designer.cs b/minisqlquery-master/src/MiniSqlQuery/BasicEditor.Designer.cs
index 6216032..c393d42 100644
--- a/minisqlquery-master/src/MiniSqlQuery/BasicEditor.Designer.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/BasicEditor.Designer.cs
@@ -28,62 +28,62 @@
/// </summary>
private void InitializeComponent()
{
- this.components = new System.ComponentModel.Container();
- this.txtEdit = new ICSharpCode.TextEditor.TextEditorControl();
- this.panel1 = new System.Windows.Forms.Panel();
- this.lblEditorInfo = new System.Windows.Forms.Label();
- this.formContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
- this.panel1.SuspendLayout();
- this.SuspendLayout();
- //
- // txtEdit
- //
- this.txtEdit.Dock = System.Windows.Forms.DockStyle.Fill;
- this.txtEdit.IsReadOnly = false;
- this.txtEdit.Location = new System.Drawing.Point(0, 0);
- this.txtEdit.Name = "txtEdit";
- this.txtEdit.Size = new System.Drawing.Size(381, 325);
- this.txtEdit.TabIndex = 0;
- //
- // panel1
- //
- this.panel1.Controls.Add(this.lblEditorInfo);
- this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
- this.panel1.Location = new System.Drawing.Point(0, 304);
- this.panel1.Name = "panel1";
- this.panel1.Size = new System.Drawing.Size(381, 21);
- this.panel1.TabIndex = 1;
- //
- // lblEditorInfo
- //
- this.lblEditorInfo.AutoSize = true;
- this.lblEditorInfo.Location = new System.Drawing.Point(3, 3);
- this.lblEditorInfo.Name = "lblEditorInfo";
- this.lblEditorInfo.Size = new System.Drawing.Size(62, 13);
- this.lblEditorInfo.TabIndex = 0;
- this.lblEditorInfo.Text = "lblEditorInfo";
- //
- // formContextMenuStrip
- //
- this.formContextMenuStrip.Name = "formContextMenuStrip";
- this.formContextMenuStrip.Size = new System.Drawing.Size(153, 26);
- //
- // BasicEditor
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(381, 325);
- this.Controls.Add(this.panel1);
- this.Controls.Add(this.txtEdit);
- this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.Name = "BasicEditor";
- this.TabPageContextMenuStrip = this.formContextMenuStrip;
- this.Text = "DefaultEditor";
- this.Load += new System.EventHandler(this.BasicEditor_Load);
- this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.BasicEditor_FormClosing);
- this.panel1.ResumeLayout(false);
- this.panel1.PerformLayout();
- this.ResumeLayout(false);
+ this.components = new System.ComponentModel.Container();
+ this.txtEdit = new ICSharpCode.TextEditor.TextEditorControl();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.lblEditorInfo = new System.Windows.Forms.Label();
+ this.formContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
+ this.panel1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // txtEdit
+ //
+ this.txtEdit.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.txtEdit.IsReadOnly = false;
+ this.txtEdit.Location = new System.Drawing.Point(0, 0);
+ this.txtEdit.Name = "txtEdit";
+ this.txtEdit.Size = new System.Drawing.Size(381, 325);
+ this.txtEdit.TabIndex = 0;
+ //
+ // panel1
+ //
+ this.panel1.Controls.Add(this.lblEditorInfo);
+ this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.panel1.Location = new System.Drawing.Point(0, 304);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(381, 21);
+ this.panel1.TabIndex = 1;
+ //
+ // lblEditorInfo
+ //
+ this.lblEditorInfo.AutoSize = true;
+ this.lblEditorInfo.Location = new System.Drawing.Point(3, 3);
+ this.lblEditorInfo.Name = "lblEditorInfo";
+ this.lblEditorInfo.Size = new System.Drawing.Size(62, 13);
+ this.lblEditorInfo.TabIndex = 0;
+ this.lblEditorInfo.Text = "lblEditorInfo";
+ //
+ // formContextMenuStrip
+ //
+ this.formContextMenuStrip.Name = "formContextMenuStrip";
+ this.formContextMenuStrip.Size = new System.Drawing.Size(61, 4);
+ //
+ // BasicEditor
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(381, 325);
+ this.Controls.Add(this.panel1);
+ this.Controls.Add(this.txtEdit);
+ this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.Name = "BasicEditor";
+ this.TabPageContextMenuStrip = this.formContextMenuStrip;
+ this.Text = "默认编辑器";
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.BasicEditor_FormClosing);
+ this.Load += new System.EventHandler(this.BasicEditor_Load);
+ this.panel1.ResumeLayout(false);
+ this.panel1.PerformLayout();
+ this.ResumeLayout(false);
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/BasicEditor.resx b/minisqlquery-master/src/MiniSqlQuery/BasicEditor.resx
index a4d9552..4a5ad99 100644
--- a/minisqlquery-master/src/MiniSqlQuery/BasicEditor.resx
+++ b/minisqlquery-master/src/MiniSqlQuery/BasicEditor.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/CopyForm.cs b/minisqlquery-master/src/MiniSqlQuery/CopyForm.cs
index f698bb5..c301da3 100644
--- a/minisqlquery-master/src/MiniSqlQuery/CopyForm.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/CopyForm.cs
@@ -52,5 +52,10 @@ namespace MiniSqlQuery
{
Close();
}
+
+ private void CopyForm_Load(object sender, EventArgs e)
+ {
+
+ }
}
}
\ No newline at end of file
diff --git a/minisqlquery-master/src/MiniSqlQuery/CopyForm.Designer.cs b/minisqlquery-master/src/MiniSqlQuery/CopyForm.Designer.cs
index 0c308c0..02da639 100644
--- a/minisqlquery-master/src/MiniSqlQuery/CopyForm.Designer.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/CopyForm.Designer.cs
@@ -37,21 +37,21 @@ namespace MiniSqlQuery {
// rbCSV
//
this.rbCSV.AutoSize = true;
- this.rbCSV.Location = new System.Drawing.Point(6, 19);
+ this.rbCSV.Location = new System.Drawing.Point(6, 18);
this.rbCSV.Name = "rbCSV";
- this.rbCSV.Size = new System.Drawing.Size(60, 17);
+ this.rbCSV.Size = new System.Drawing.Size(47, 16);
this.rbCSV.TabIndex = 3;
this.rbCSV.TabStop = true;
- this.rbCSV.Text = "Comma";
+ this.rbCSV.Text = "����";
this.rbCSV.UseVisualStyleBackColor = true;
//
// rbTAB
//
this.rbTAB.AutoSize = true;
this.rbTAB.Checked = true;
- this.rbTAB.Location = new System.Drawing.Point(6, 42);
+ this.rbTAB.Location = new System.Drawing.Point(6, 39);
this.rbTAB.Name = "rbTAB";
- this.rbTAB.Size = new System.Drawing.Size(46, 17);
+ this.rbTAB.Size = new System.Drawing.Size(41, 16);
this.rbTAB.TabIndex = 4;
this.rbTAB.TabStop = true;
this.rbTAB.Text = "TAB";
@@ -60,12 +60,12 @@ namespace MiniSqlQuery {
// rbOther
//
this.rbOther.AutoSize = true;
- this.rbOther.Location = new System.Drawing.Point(6, 65);
+ this.rbOther.Location = new System.Drawing.Point(6, 60);
this.rbOther.Name = "rbOther";
- this.rbOther.Size = new System.Drawing.Size(51, 17);
+ this.rbOther.Size = new System.Drawing.Size(47, 16);
this.rbOther.TabIndex = 5;
this.rbOther.TabStop = true;
- this.rbOther.Text = "Other";
+ this.rbOther.Text = "����";
this.rbOther.UseVisualStyleBackColor = true;
//
// groupBox1
@@ -74,58 +74,58 @@ namespace MiniSqlQuery {
this.groupBox1.Controls.Add(this.rbCSV);
this.groupBox1.Controls.Add(this.rbOther);
this.groupBox1.Controls.Add(this.rbTAB);
- this.groupBox1.Location = new System.Drawing.Point(12, 35);
+ this.groupBox1.Location = new System.Drawing.Point(12, 32);
this.groupBox1.Name = "groupBox1";
- this.groupBox1.Size = new System.Drawing.Size(142, 91);
+ this.groupBox1.Size = new System.Drawing.Size(142, 84);
this.groupBox1.TabIndex = 2;
this.groupBox1.TabStop = false;
- this.groupBox1.Text = "Delimiter";
+ this.groupBox1.Text = "�ָ��";
//
// txtOther
//
- this.txtOther.Location = new System.Drawing.Point(63, 62);
+ this.txtOther.Location = new System.Drawing.Point(63, 57);
this.txtOther.Name = "txtOther";
- this.txtOther.Size = new System.Drawing.Size(59, 20);
+ this.txtOther.Size = new System.Drawing.Size(59, 21);
this.txtOther.TabIndex = 6;
this.txtOther.Text = "|";
//
// xbIncludeHeaders
//
this.xbIncludeHeaders.AutoSize = true;
- this.xbIncludeHeaders.Location = new System.Drawing.Point(12, 12);
+ this.xbIncludeHeaders.Location = new System.Drawing.Point(12, 11);
this.xbIncludeHeaders.Name = "xbIncludeHeaders";
- this.xbIncludeHeaders.Size = new System.Drawing.Size(142, 17);
+ this.xbIncludeHeaders.Size = new System.Drawing.Size(84, 16);
this.xbIncludeHeaders.TabIndex = 1;
- this.xbIncludeHeaders.Text = "Include Column Headers";
+ this.xbIncludeHeaders.Text = "�������";
this.xbIncludeHeaders.UseVisualStyleBackColor = true;
//
// cancelButton
//
this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
- this.cancelButton.Location = new System.Drawing.Point(89, 143);
+ this.cancelButton.Location = new System.Drawing.Point(89, 132);
this.cancelButton.Name = "cancelButton";
- this.cancelButton.Size = new System.Drawing.Size(65, 23);
+ this.cancelButton.Size = new System.Drawing.Size(65, 21);
this.cancelButton.TabIndex = 9;
- this.cancelButton.Text = "&Cancel";
+ this.cancelButton.Text = "&Cȡ��";
this.cancelButton.UseVisualStyleBackColor = true;
this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click);
//
// okButton
//
this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
- this.okButton.Location = new System.Drawing.Point(12, 143);
+ this.okButton.Location = new System.Drawing.Point(12, 132);
this.okButton.Name = "okButton";
- this.okButton.Size = new System.Drawing.Size(65, 23);
+ this.okButton.Size = new System.Drawing.Size(65, 21);
this.okButton.TabIndex = 8;
- this.okButton.Text = "&OK";
+ this.okButton.Text = "&Oȷ��";
this.okButton.Click += new System.EventHandler(this.okButton_Click);
//
// CopyForm
//
this.AcceptButton = this.okButton;
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(163, 174);
+ this.ClientSize = new System.Drawing.Size(163, 161);
this.Controls.Add(this.okButton);
this.Controls.Add(this.cancelButton);
this.Controls.Add(this.xbIncludeHeaders);
@@ -137,7 +137,8 @@ namespace MiniSqlQuery {
this.ShowIcon = false;
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
- this.Text = "Copy";
+ this.Text = "����";
+ this.Load += new System.EventHandler(this.CopyForm_Load);
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.ResumeLayout(false);
diff --git a/minisqlquery-master/src/MiniSqlQuery/CopyForm.resx b/minisqlquery-master/src/MiniSqlQuery/CopyForm.resx
index 194da1e..d58980a 100644
--- a/minisqlquery-master/src/MiniSqlQuery/CopyForm.resx
+++ b/minisqlquery-master/src/MiniSqlQuery/CopyForm.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>
+</root>
\ No newline at end of file
diff --git a/minisqlquery-master/src/MiniSqlQuery/ErrorForm.Designer.cs b/minisqlquery-master/src/MiniSqlQuery/ErrorForm.Designer.cs
index a381647..ec3b812 100644
--- a/minisqlquery-master/src/MiniSqlQuery/ErrorForm.Designer.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/ErrorForm.Designer.cs
@@ -28,58 +28,58 @@
/// </summary>
private void InitializeComponent()
{
- this.groupBox1 = new System.Windows.Forms.GroupBox();
- this.exceptionControl1 = new MiniSqlQuery.Core.Controls.ExceptionControl();
- this.btnOk = new System.Windows.Forms.Button();
- this.groupBox1.SuspendLayout();
- this.SuspendLayout();
- //
- // 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.exceptionControl1);
- this.groupBox1.Location = new System.Drawing.Point(12, 12);
- this.groupBox1.Name = "groupBox1";
- this.groupBox1.Padding = new System.Windows.Forms.Padding(6);
- this.groupBox1.Size = new System.Drawing.Size(632, 337);
- this.groupBox1.TabIndex = 0;
- this.groupBox1.TabStop = false;
- this.groupBox1.Text = "Error Details";
- //
- // exceptionControl1
- //
- this.exceptionControl1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.exceptionControl1.Location = new System.Drawing.Point(6, 19);
- this.exceptionControl1.Name = "exceptionControl1";
- this.exceptionControl1.Size = new System.Drawing.Size(620, 312);
- this.exceptionControl1.TabIndex = 0;
- //
- // btnOk
- //
- this.btnOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.btnOk.Location = new System.Drawing.Point(566, 355);
- this.btnOk.Name = "btnOk";
- this.btnOk.Size = new System.Drawing.Size(75, 23);
- this.btnOk.TabIndex = 1;
- this.btnOk.Text = "OK";
- this.btnOk.UseVisualStyleBackColor = true;
- this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
- //
- // ErrorForm
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(656, 390);
- this.Controls.Add(this.btnOk);
- this.Controls.Add(this.groupBox1);
- this.Name = "ErrorForm";
- this.ShowIcon = false;
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
- this.Text = "Unhandled Exception";
- this.groupBox1.ResumeLayout(false);
- this.ResumeLayout(false);
+ this.groupBox1 = new System.Windows.Forms.GroupBox();
+ this.exceptionControl1 = new MiniSqlQuery.Core.Controls.ExceptionControl();
+ this.btnOk = new System.Windows.Forms.Button();
+ this.groupBox1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // 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.exceptionControl1);
+ this.groupBox1.Location = new System.Drawing.Point(12, 11);
+ this.groupBox1.Name = "groupBox1";
+ this.groupBox1.Padding = new System.Windows.Forms.Padding(6);
+ this.groupBox1.Size = new System.Drawing.Size(632, 311);
+ this.groupBox1.TabIndex = 0;
+ this.groupBox1.TabStop = false;
+ this.groupBox1.Text = "错误详细信息";
+ //
+ // exceptionControl1
+ //
+ this.exceptionControl1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.exceptionControl1.Location = new System.Drawing.Point(6, 20);
+ this.exceptionControl1.Name = "exceptionControl1";
+ this.exceptionControl1.Size = new System.Drawing.Size(620, 285);
+ this.exceptionControl1.TabIndex = 0;
+ //
+ // btnOk
+ //
+ this.btnOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnOk.Location = new System.Drawing.Point(566, 328);
+ this.btnOk.Name = "btnOk";
+ this.btnOk.Size = new System.Drawing.Size(75, 21);
+ this.btnOk.TabIndex = 1;
+ this.btnOk.Text = "确定";
+ this.btnOk.UseVisualStyleBackColor = true;
+ this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
+ //
+ // ErrorForm
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(656, 360);
+ this.Controls.Add(this.btnOk);
+ this.Controls.Add(this.groupBox1);
+ this.Name = "ErrorForm";
+ this.ShowIcon = false;
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "未处理的异常";
+ this.groupBox1.ResumeLayout(false);
+ this.ResumeLayout(false);
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/ErrorForm.resx b/minisqlquery-master/src/MiniSqlQuery/ErrorForm.resx
index 19dc0dd..d58980a 100644
--- a/minisqlquery-master/src/MiniSqlQuery/ErrorForm.resx
+++ b/minisqlquery-master/src/MiniSqlQuery/ErrorForm.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/MainForm.cs b/minisqlquery-master/src/MiniSqlQuery/MainForm.cs
index 835ee33..0cdb7ae 100644
--- a/minisqlquery-master/src/MiniSqlQuery/MainForm.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/MainForm.cs
@@ -228,11 +228,11 @@ namespace MiniSqlQuery
{
if (count.Value == 1)
{
- result = "1 row";
+ result = "1 ��";
}
else
{
- result = count.Value + " rows";
+ result = count.Value + " ��";
}
}
@@ -256,7 +256,7 @@ namespace MiniSqlQuery
if (frm == null)
{
throw new InvalidOperationException(
- "The 'databaseInspector' must be a 'WeifenLuo.WinFormsUI.Docking.DockContent' based form.");
+ "��databaseInspector�������ǡ�WeifenLuo����WinFormsUI���Խӡ�����DockContent�ı����");
}
frm.Show(dockPanel, dockState);
@@ -417,7 +417,7 @@ namespace MiniSqlQuery
/// <param name="connectionName">The connection name.</param>
private void SetWindowTitle(string connectionName)
{
- Text = string.Format("Mini SQL Query [{0}]", connectionName);
+ Text = string.Format("����SQL��ѯ [{0}]", connectionName);
}
/// <summary>The window drag drop.</summary>
diff --git a/minisqlquery-master/src/MiniSqlQuery/MainForm.Designer.cs b/minisqlquery-master/src/MiniSqlQuery/MainForm.Designer.cs
index f86f65d..f2ec167 100644
--- a/minisqlquery-master/src/MiniSqlQuery/MainForm.Designer.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/MainForm.Designer.cs
@@ -28,387 +28,388 @@
/// </summary>
private void InitializeComponent()
{
- this.components = new System.ComponentModel.Container();
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
- WeifenLuo.WinFormsUI.Docking.DockPanelSkin dockPanelSkin2 = new WeifenLuo.WinFormsUI.Docking.DockPanelSkin();
- WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin autoHideStripSkin2 = new WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin();
- WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient4 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient();
- WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient8 = new WeifenLuo.WinFormsUI.Docking.TabGradient();
- WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin dockPaneStripSkin2 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin();
- WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient dockPaneStripGradient2 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient();
- WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient9 = new WeifenLuo.WinFormsUI.Docking.TabGradient();
- WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient5 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient();
- WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient10 = new WeifenLuo.WinFormsUI.Docking.TabGradient();
- WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient dockPaneStripToolWindowGradient2 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient();
- WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient11 = new WeifenLuo.WinFormsUI.Docking.TabGradient();
- WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient12 = new WeifenLuo.WinFormsUI.Docking.TabGradient();
- WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient6 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient();
- WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient13 = new WeifenLuo.WinFormsUI.Docking.TabGradient();
- WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient14 = new WeifenLuo.WinFormsUI.Docking.TabGradient();
- this.menuStrip = new System.Windows.Forms.MenuStrip();
- this.fileMenu = new System.Windows.Forms.ToolStripMenuItem();
- this.editMenu = new System.Windows.Forms.ToolStripMenuItem();
- this.queryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.toolsMenu = new System.Windows.Forms.ToolStripMenuItem();
- this.optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.pluginsMenu = new System.Windows.Forms.ToolStripMenuItem();
- this.helpMenu = new System.Windows.Forms.ToolStripMenuItem();
- this.toolBarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.statusBarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStrip = new System.Windows.Forms.ToolStrip();
- this.newToolStripButton = new System.Windows.Forms.ToolStripButton();
- this.openToolStripButton = new System.Windows.Forms.ToolStripButton();
- this.saveToolStripButton = new System.Windows.Forms.ToolStripButton();
- this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
- this.helpToolStripButton = new System.Windows.Forms.ToolStripButton();
- this.statusStrip = new System.Windows.Forms.StatusStrip();
- this.toolStripStatusLabel = new System.Windows.Forms.ToolStripStatusLabel();
- this.toolTip = new System.Windows.Forms.ToolTip(this.components);
- this.toolStripConnection = new System.Windows.Forms.ToolStrip();
- this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
- this.toolStripComboBoxConnection = new System.Windows.Forms.ToolStripComboBox();
- this.dockPanel = new WeifenLuo.WinFormsUI.Docking.DockPanel();
- this.sysIcon = new System.Windows.Forms.NotifyIcon(this.components);
- this.ctxSysIcon = new System.Windows.Forms.ContextMenuStrip(this.components);
- this.hideShowToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
- this.optionsToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
- this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripStatusLabelResultCount = new System.Windows.Forms.ToolStripStatusLabel();
- this.menuStrip.SuspendLayout();
- this.toolStrip.SuspendLayout();
- this.statusStrip.SuspendLayout();
- this.toolStripConnection.SuspendLayout();
- this.ctxSysIcon.SuspendLayout();
- this.SuspendLayout();
- //
- // menuStrip
- //
- this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.components = new System.ComponentModel.Container();
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
+ WeifenLuo.WinFormsUI.Docking.DockPanelSkin dockPanelSkin1 = new WeifenLuo.WinFormsUI.Docking.DockPanelSkin();
+ WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin autoHideStripSkin1 = new WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin();
+ WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient();
+ WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient1 = new WeifenLuo.WinFormsUI.Docking.TabGradient();
+ WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin dockPaneStripSkin1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin();
+ WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient dockPaneStripGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient();
+ WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient2 = new WeifenLuo.WinFormsUI.Docking.TabGradient();
+ WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient2 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient();
+ WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient3 = new WeifenLuo.WinFormsUI.Docking.TabGradient();
+ WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient dockPaneStripToolWindowGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient();
+ WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient4 = new WeifenLuo.WinFormsUI.Docking.TabGradient();
+ WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient5 = new WeifenLuo.WinFormsUI.Docking.TabGradient();
+ WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient3 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient();
+ WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient6 = new WeifenLuo.WinFormsUI.Docking.TabGradient();
+ WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient7 = new WeifenLuo.WinFormsUI.Docking.TabGradient();
+ this.menuStrip = new System.Windows.Forms.MenuStrip();
+ this.fileMenu = new System.Windows.Forms.ToolStripMenuItem();
+ this.editMenu = new System.Windows.Forms.ToolStripMenuItem();
+ this.queryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.toolsMenu = new System.Windows.Forms.ToolStripMenuItem();
+ this.optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.pluginsMenu = new System.Windows.Forms.ToolStripMenuItem();
+ this.helpMenu = new System.Windows.Forms.ToolStripMenuItem();
+ this.toolBarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.statusBarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.toolStrip = new System.Windows.Forms.ToolStrip();
+ this.newToolStripButton = new System.Windows.Forms.ToolStripButton();
+ this.openToolStripButton = new System.Windows.Forms.ToolStripButton();
+ this.saveToolStripButton = new System.Windows.Forms.ToolStripButton();
+ this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
+ this.helpToolStripButton = new System.Windows.Forms.ToolStripButton();
+ this.statusStrip = new System.Windows.Forms.StatusStrip();
+ this.toolStripStatusLabel = new System.Windows.Forms.ToolStripStatusLabel();
+ this.toolStripStatusLabelResultCount = new System.Windows.Forms.ToolStripStatusLabel();
+ this.toolTip = new System.Windows.Forms.ToolTip(this.components);
+ this.toolStripConnection = new System.Windows.Forms.ToolStrip();
+ this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
+ this.toolStripComboBoxConnection = new System.Windows.Forms.ToolStripComboBox();
+ this.dockPanel = new WeifenLuo.WinFormsUI.Docking.DockPanel();
+ this.sysIcon = new System.Windows.Forms.NotifyIcon(this.components);
+ this.ctxSysIcon = new System.Windows.Forms.ContextMenuStrip(this.components);
+ this.hideShowToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
+ this.optionsToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
+ this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
+ this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.menuStrip.SuspendLayout();
+ this.toolStrip.SuspendLayout();
+ this.statusStrip.SuspendLayout();
+ this.toolStripConnection.SuspendLayout();
+ this.ctxSysIcon.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // menuStrip
+ //
+ this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.fileMenu,
this.editMenu,
this.queryToolStripMenuItem,
this.toolsMenu,
this.pluginsMenu,
this.helpMenu});
- this.menuStrip.Location = new System.Drawing.Point(0, 0);
- this.menuStrip.Name = "menuStrip";
- this.menuStrip.Size = new System.Drawing.Size(1066, 24);
- this.menuStrip.TabIndex = 0;
- this.menuStrip.Text = "MenuStrip";
- //
- // fileMenu
- //
- this.fileMenu.ImageTransparentColor = System.Drawing.SystemColors.ActiveBorder;
- this.fileMenu.Name = "fileMenu";
- this.fileMenu.Size = new System.Drawing.Size(37, 20);
- this.fileMenu.Text = "&File";
- //
- // editMenu
- //
- this.editMenu.Name = "editMenu";
- this.editMenu.Size = new System.Drawing.Size(39, 20);
- this.editMenu.Text = "&Edit";
- //
- // queryToolStripMenuItem
- //
- this.queryToolStripMenuItem.Name = "queryToolStripMenuItem";
- this.queryToolStripMenuItem.Size = new System.Drawing.Size(51, 20);
- this.queryToolStripMenuItem.Text = "&Query";
- //
- // toolsMenu
- //
- this.toolsMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.menuStrip.Location = new System.Drawing.Point(0, 0);
+ this.menuStrip.Name = "menuStrip";
+ this.menuStrip.Size = new System.Drawing.Size(1066, 25);
+ this.menuStrip.TabIndex = 0;
+ this.menuStrip.Text = "MenuStrip";
+ //
+ // fileMenu
+ //
+ this.fileMenu.ImageTransparentColor = System.Drawing.SystemColors.ActiveBorder;
+ this.fileMenu.Name = "fileMenu";
+ this.fileMenu.Size = new System.Drawing.Size(50, 21);
+ this.fileMenu.Text = "&F文件";
+ //
+ // editMenu
+ //
+ this.editMenu.Name = "editMenu";
+ this.editMenu.Size = new System.Drawing.Size(51, 21);
+ this.editMenu.Text = "&E编辑";
+ //
+ // queryToolStripMenuItem
+ //
+ this.queryToolStripMenuItem.Name = "queryToolStripMenuItem";
+ this.queryToolStripMenuItem.Size = new System.Drawing.Size(54, 21);
+ this.queryToolStripMenuItem.Text = "&Q查询";
+ //
+ // toolsMenu
+ //
+ this.toolsMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.optionsToolStripMenuItem});
- this.toolsMenu.Name = "toolsMenu";
- this.toolsMenu.Size = new System.Drawing.Size(48, 20);
- this.toolsMenu.Text = "&Tools";
- this.toolsMenu.Visible = false;
- //
- // optionsToolStripMenuItem
- //
- this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem";
- this.optionsToolStripMenuItem.Size = new System.Drawing.Size(116, 22);
- this.optionsToolStripMenuItem.Text = "&Options";
- //
- // pluginsMenu
- //
- this.pluginsMenu.Name = "pluginsMenu";
- this.pluginsMenu.Size = new System.Drawing.Size(58, 20);
- this.pluginsMenu.Text = "&Plugins";
- //
- // helpMenu
- //
- this.helpMenu.Name = "helpMenu";
- this.helpMenu.Size = new System.Drawing.Size(44, 20);
- this.helpMenu.Text = "&Help";
- //
- // toolBarToolStripMenuItem
- //
- this.toolBarToolStripMenuItem.CheckOnClick = true;
- this.toolBarToolStripMenuItem.Enabled = false;
- this.toolBarToolStripMenuItem.Name = "toolBarToolStripMenuItem";
- this.toolBarToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
- this.toolBarToolStripMenuItem.Text = "&Toolbar";
- //
- // statusBarToolStripMenuItem
- //
- this.statusBarToolStripMenuItem.Checked = true;
- this.statusBarToolStripMenuItem.CheckOnClick = true;
- this.statusBarToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
- this.statusBarToolStripMenuItem.Name = "statusBarToolStripMenuItem";
- this.statusBarToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
- this.statusBarToolStripMenuItem.Text = "&Status Bar";
- //
- // toolStrip
- //
- this.toolStrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
- this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.toolsMenu.Name = "toolsMenu";
+ this.toolsMenu.Size = new System.Drawing.Size(51, 21);
+ this.toolsMenu.Text = "&T工具";
+ this.toolsMenu.Visible = false;
+ //
+ // optionsToolStripMenuItem
+ //
+ this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem";
+ this.optionsToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
+ this.optionsToolStripMenuItem.Text = "&Options";
+ //
+ // pluginsMenu
+ //
+ this.pluginsMenu.Name = "pluginsMenu";
+ this.pluginsMenu.Size = new System.Drawing.Size(51, 21);
+ this.pluginsMenu.Text = "&P插件";
+ //
+ // helpMenu
+ //
+ this.helpMenu.Name = "helpMenu";
+ this.helpMenu.Size = new System.Drawing.Size(53, 21);
+ this.helpMenu.Text = "&H帮助";
+ //
+ // toolBarToolStripMenuItem
+ //
+ this.toolBarToolStripMenuItem.CheckOnClick = true;
+ this.toolBarToolStripMenuItem.Enabled = false;
+ this.toolBarToolStripMenuItem.Name = "toolBarToolStripMenuItem";
+ this.toolBarToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.toolBarToolStripMenuItem.Text = "&Toolbar";
+ //
+ // statusBarToolStripMenuItem
+ //
+ this.statusBarToolStripMenuItem.Checked = true;
+ this.statusBarToolStripMenuItem.CheckOnClick = true;
+ this.statusBarToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
+ this.statusBarToolStripMenuItem.Name = "statusBarToolStripMenuItem";
+ this.statusBarToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.statusBarToolStripMenuItem.Text = "&Status Bar";
+ //
+ // toolStrip
+ //
+ this.toolStrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
+ this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.newToolStripButton,
this.openToolStripButton,
this.saveToolStripButton,
this.toolStripSeparator2,
this.helpToolStripButton});
- this.toolStrip.Location = new System.Drawing.Point(0, 24);
- this.toolStrip.Name = "toolStrip";
- this.toolStrip.Size = new System.Drawing.Size(842, 25);
- this.toolStrip.TabIndex = 1;
- this.toolStrip.Text = "ToolStrip";
- this.toolStrip.Visible = false;
- //
- // newToolStripButton
- //
- this.newToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
- this.newToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("newToolStripButton.Image")));
- this.newToolStripButton.ImageTransparentColor = System.Drawing.Color.Black;
- this.newToolStripButton.Name = "newToolStripButton";
- this.newToolStripButton.Size = new System.Drawing.Size(23, 22);
- this.newToolStripButton.Text = "New";
- //
- // openToolStripButton
- //
- this.openToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
- this.openToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("openToolStripButton.Image")));
- this.openToolStripButton.ImageTransparentColor = System.Drawing.Color.Black;
- this.openToolStripButton.Name = "openToolStripButton";
- this.openToolStripButton.Size = new System.Drawing.Size(23, 22);
- this.openToolStripButton.Text = "Open";
- //
- // saveToolStripButton
- //
- this.saveToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
- this.saveToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripButton.Image")));
- this.saveToolStripButton.ImageTransparentColor = System.Drawing.Color.Black;
- this.saveToolStripButton.Name = "saveToolStripButton";
- this.saveToolStripButton.Size = new System.Drawing.Size(23, 22);
- this.saveToolStripButton.Text = "Save";
- //
- // toolStripSeparator2
- //
- this.toolStripSeparator2.Name = "toolStripSeparator2";
- this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25);
- //
- // helpToolStripButton
- //
- this.helpToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
- this.helpToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("helpToolStripButton.Image")));
- this.helpToolStripButton.ImageTransparentColor = System.Drawing.Color.Black;
- this.helpToolStripButton.Name = "helpToolStripButton";
- this.helpToolStripButton.Size = new System.Drawing.Size(23, 22);
- this.helpToolStripButton.Text = "Help";
- //
- // statusStrip
- //
- this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.toolStrip.Location = new System.Drawing.Point(0, 22);
+ this.toolStrip.Name = "toolStrip";
+ this.toolStrip.Size = new System.Drawing.Size(842, 23);
+ this.toolStrip.TabIndex = 1;
+ this.toolStrip.Text = "ToolStrip";
+ this.toolStrip.Visible = false;
+ //
+ // newToolStripButton
+ //
+ this.newToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ this.newToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("newToolStripButton.Image")));
+ this.newToolStripButton.ImageTransparentColor = System.Drawing.Color.Black;
+ this.newToolStripButton.Name = "newToolStripButton";
+ this.newToolStripButton.Size = new System.Drawing.Size(23, 20);
+ this.newToolStripButton.Text = "New";
+ //
+ // openToolStripButton
+ //
+ this.openToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ this.openToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("openToolStripButton.Image")));
+ this.openToolStripButton.ImageTransparentColor = System.Drawing.Color.Black;
+ this.openToolStripButton.Name = "openToolStripButton";
+ this.openToolStripButton.Size = new System.Drawing.Size(23, 20);
+ this.openToolStripButton.Text = "Open";
+ //
+ // saveToolStripButton
+ //
+ this.saveToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ this.saveToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripButton.Image")));
+ this.saveToolStripButton.ImageTransparentColor = System.Drawing.Color.Black;
+ this.saveToolStripButton.Name = "saveToolStripButton";
+ this.saveToolStripButton.Size = new System.Drawing.Size(23, 20);
+ this.saveToolStripButton.Text = "Save";
+ //
+ // toolStripSeparator2
+ //
+ this.toolStripSeparator2.Name = "toolStripSeparator2";
+ this.toolStripSeparator2.Size = new System.Drawing.Size(6, 23);
+ //
+ // helpToolStripButton
+ //
+ this.helpToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ this.helpToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("helpToolStripButton.Image")));
+ this.helpToolStripButton.ImageTransparentColor = System.Drawing.Color.Black;
+ this.helpToolStripButton.Name = "helpToolStripButton";
+ this.helpToolStripButton.Size = new System.Drawing.Size(23, 20);
+ this.helpToolStripButton.Text = "Help";
+ //
+ // statusStrip
+ //
+ this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripStatusLabel,
this.toolStripStatusLabelResultCount});
- this.statusStrip.Location = new System.Drawing.Point(0, 548);
- this.statusStrip.Name = "statusStrip";
- this.statusStrip.Size = new System.Drawing.Size(1066, 22);
- this.statusStrip.TabIndex = 2;
- this.statusStrip.Text = "StatusStrip";
- //
- // toolStripStatusLabel
- //
- this.toolStripStatusLabel.Name = "toolStripStatusLabel";
- this.toolStripStatusLabel.Size = new System.Drawing.Size(999, 17);
- this.toolStripStatusLabel.Spring = true;
- this.toolStripStatusLabel.Text = "Status";
- this.toolStripStatusLabel.TextAlign = System.Drawing.ContentAlignment.TopLeft;
- //
- // toolStripConnection
- //
- this.toolStripConnection.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
- this.toolStripConnection.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.statusStrip.Location = new System.Drawing.Point(0, 504);
+ this.statusStrip.Name = "statusStrip";
+ this.statusStrip.Size = new System.Drawing.Size(1066, 22);
+ this.statusStrip.TabIndex = 2;
+ this.statusStrip.Text = "StatusStrip";
+ //
+ // toolStripStatusLabel
+ //
+ this.toolStripStatusLabel.Name = "toolStripStatusLabel";
+ this.toolStripStatusLabel.Size = new System.Drawing.Size(1028, 17);
+ this.toolStripStatusLabel.Spring = true;
+ this.toolStripStatusLabel.Text = "Status";
+ this.toolStripStatusLabel.TextAlign = System.Drawing.ContentAlignment.TopLeft;
+ //
+ // toolStripStatusLabelResultCount
+ //
+ this.toolStripStatusLabelResultCount.Name = "toolStripStatusLabelResultCount";
+ this.toolStripStatusLabelResultCount.Size = new System.Drawing.Size(23, 17);
+ this.toolStripStatusLabelResultCount.Text = "[0]";
+ this.toolStripStatusLabelResultCount.TextAlign = System.Drawing.ContentAlignment.TopLeft;
+ //
+ // toolStripConnection
+ //
+ this.toolStripConnection.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
+ this.toolStripConnection.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripLabel1,
this.toolStripComboBoxConnection});
- this.toolStripConnection.Location = new System.Drawing.Point(0, 24);
- this.toolStripConnection.Name = "toolStripConnection";
- this.toolStripConnection.Size = new System.Drawing.Size(1066, 25);
- this.toolStripConnection.TabIndex = 4;
- this.toolStripConnection.Text = "toolStrip1";
- //
- // toolStripLabel1
- //
- this.toolStripLabel1.Name = "toolStripLabel1";
- this.toolStripLabel1.Size = new System.Drawing.Size(72, 22);
- this.toolStripLabel1.Text = "Connection:";
- //
- // toolStripComboBoxConnection
- //
- this.toolStripComboBoxConnection.AutoToolTip = true;
- this.toolStripComboBoxConnection.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.toolStripComboBoxConnection.DropDownWidth = 400;
- this.toolStripComboBoxConnection.Name = "toolStripComboBoxConnection";
- this.toolStripComboBoxConnection.Size = new System.Drawing.Size(300, 25);
- this.toolStripComboBoxConnection.SelectedIndexChanged += new System.EventHandler(this.toolStripComboBoxConnection_SelectedIndexChanged);
- //
- // dockPanel
- //
- this.dockPanel.ActiveAutoHideContent = null;
- this.dockPanel.Dock = System.Windows.Forms.DockStyle.Fill;
- this.dockPanel.DockBackColor = System.Drawing.SystemColors.Control;
- this.dockPanel.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World);
- this.dockPanel.Location = new System.Drawing.Point(0, 49);
- this.dockPanel.Name = "dockPanel";
- this.dockPanel.Size = new System.Drawing.Size(1066, 499);
- dockPanelGradient4.EndColor = System.Drawing.SystemColors.ControlLight;
- dockPanelGradient4.StartColor = System.Drawing.SystemColors.ControlLight;
- autoHideStripSkin2.DockStripGradient = dockPanelGradient4;
- tabGradient8.EndColor = System.Drawing.SystemColors.Control;
- tabGradient8.StartColor = System.Drawing.SystemColors.Control;
- tabGradient8.TextColor = System.Drawing.SystemColors.ControlDarkDark;
- autoHideStripSkin2.TabGradient = tabGradient8;
- dockPanelSkin2.AutoHideStripSkin = autoHideStripSkin2;
- tabGradient9.EndColor = System.Drawing.SystemColors.ControlLightLight;
- tabGradient9.StartColor = System.Drawing.SystemColors.ControlLightLight;
- tabGradient9.TextColor = System.Drawing.SystemColors.ControlText;
- dockPaneStripGradient2.ActiveTabGradient = tabGradient9;
- dockPanelGradient5.EndColor = System.Drawing.SystemColors.Control;
- dockPanelGradient5.StartColor = System.Drawing.SystemColors.Control;
- dockPaneStripGradient2.DockStripGradient = dockPanelGradient5;
- tabGradient10.EndColor = System.Drawing.SystemColors.ControlLight;
- tabGradient10.StartColor = System.Drawing.SystemColors.ControlLight;
- tabGradient10.TextColor = System.Drawing.SystemColors.ControlText;
- dockPaneStripGradient2.InactiveTabGradient = tabGradient10;
- dockPaneStripSkin2.DocumentGradient = dockPaneStripGradient2;
- tabGradient11.EndColor = System.Drawing.SystemColors.ActiveCaption;
- tabGradient11.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
- tabGradient11.StartColor = System.Drawing.SystemColors.GradientActiveCaption;
- tabGradient11.TextColor = System.Drawing.SystemColors.ActiveCaptionText;
- dockPaneStripToolWindowGradient2.ActiveCaptionGradient = tabGradient11;
- tabGradient12.EndColor = System.Drawing.SystemColors.Control;
- tabGradient12.StartColor = System.Drawing.SystemColors.Control;
- tabGradient12.TextColor = System.Drawing.SystemColors.ControlText;
- dockPaneStripToolWindowGradient2.ActiveTabGradient = tabGradient12;
- dockPanelGradient6.EndColor = System.Drawing.SystemColors.ControlLight;
- dockPanelGradient6.StartColor = System.Drawing.SystemColors.ControlLight;
- dockPaneStripToolWindowGradient2.DockStripGradient = dockPanelGradient6;
- tabGradient13.EndColor = System.Drawing.SystemColors.GradientInactiveCaption;
- tabGradient13.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
- tabGradient13.StartColor = System.Drawing.SystemColors.GradientInactiveCaption;
- tabGradient13.TextColor = System.Drawing.SystemColors.ControlText;
- dockPaneStripToolWindowGradient2.InactiveCaptionGradient = tabGradient13;
- tabGradient14.EndColor = System.Drawing.Color.Transparent;
- tabGradient14.StartColor = System.Drawing.Color.Transparent;
- tabGradient14.TextColor = System.Drawing.SystemColors.ControlDarkDark;
- dockPaneStripToolWindowGradient2.InactiveTabGradient = tabGradient14;
- dockPaneStripSkin2.ToolWindowGradient = dockPaneStripToolWindowGradient2;
- dockPanelSkin2.DockPaneStripSkin = dockPaneStripSkin2;
- this.dockPanel.Skin = dockPanelSkin2;
- this.dockPanel.TabIndex = 6;
- this.dockPanel.ActiveContentChanged += new System.EventHandler(this.dockPanel_ActiveContentChanged);
- //
- // sysIcon
- //
- this.sysIcon.ContextMenuStrip = this.ctxSysIcon;
- this.sysIcon.Icon = ((System.Drawing.Icon)(resources.GetObject("sysIcon.Icon")));
- this.sysIcon.Text = "Mini SQL Query";
- this.sysIcon.Visible = true;
- this.sysIcon.DoubleClick += new System.EventHandler(this.sysIcon_DoubleClick);
- //
- // ctxSysIcon
- //
- this.ctxSysIcon.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.toolStripConnection.Location = new System.Drawing.Point(0, 25);
+ this.toolStripConnection.Name = "toolStripConnection";
+ this.toolStripConnection.Size = new System.Drawing.Size(1066, 25);
+ this.toolStripConnection.TabIndex = 4;
+ this.toolStripConnection.Text = "toolStrip1";
+ //
+ // toolStripLabel1
+ //
+ this.toolStripLabel1.Name = "toolStripLabel1";
+ this.toolStripLabel1.Size = new System.Drawing.Size(76, 22);
+ this.toolStripLabel1.Text = "Connection:";
+ //
+ // toolStripComboBoxConnection
+ //
+ this.toolStripComboBoxConnection.AutoToolTip = true;
+ this.toolStripComboBoxConnection.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ this.toolStripComboBoxConnection.DropDownWidth = 400;
+ this.toolStripComboBoxConnection.Name = "toolStripComboBoxConnection";
+ this.toolStripComboBoxConnection.Size = new System.Drawing.Size(300, 25);
+ this.toolStripComboBoxConnection.SelectedIndexChanged += new System.EventHandler(this.toolStripComboBoxConnection_SelectedIndexChanged);
+ //
+ // dockPanel
+ //
+ this.dockPanel.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.dockPanel.DockBackColor = System.Drawing.SystemColors.Control;
+ this.dockPanel.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World);
+ this.dockPanel.Location = new System.Drawing.Point(0, 50);
+ this.dockPanel.Name = "dockPanel";
+ this.dockPanel.Size = new System.Drawing.Size(1066, 454);
+ dockPanelGradient1.EndColor = System.Drawing.SystemColors.ControlLight;
+ dockPanelGradient1.StartColor = System.Drawing.SystemColors.ControlLight;
+ autoHideStripSkin1.DockStripGradient = dockPanelGradient1;
+ tabGradient1.EndColor = System.Drawing.SystemColors.Control;
+ tabGradient1.StartColor = System.Drawing.SystemColors.Control;
+ tabGradient1.TextColor = System.Drawing.SystemColors.ControlDarkDark;
+ autoHideStripSkin1.TabGradient = tabGradient1;
+ autoHideStripSkin1.TextFont = new System.Drawing.Font("Microsoft YaHei UI", 9F);
+ dockPanelSkin1.AutoHideStripSkin = autoHideStripSkin1;
+ tabGradient2.EndColor = System.Drawing.SystemColors.ControlLightLight;
+ tabGradient2.StartColor = System.Drawing.SystemColors.ControlLightLight;
+ tabGradient2.TextColor = System.Drawing.SystemColors.ControlText;
+ dockPaneStripGradient1.ActiveTabGradient = tabGradient2;
+ dockPanelGradient2.EndColor = System.Drawing.SystemColors.Control;
+ dockPanelGradient2.StartColor = System.Drawing.SystemColors.Control;
+ dockPaneStripGradient1.DockStripGradient = dockPanelGradient2;
+ tabGradient3.EndColor = System.Drawing.SystemColors.ControlLight;
+ tabGradient3.StartColor = System.Drawing.SystemColors.ControlLight;
+ tabGradient3.TextColor = System.Drawing.SystemColors.ControlText;
+ dockPaneStripGradient1.InactiveTabGradient = tabGradient3;
+ dockPaneStripSkin1.DocumentGradient = dockPaneStripGradient1;
+ dockPaneStripSkin1.TextFont = new System.Drawing.Font("Microsoft YaHei UI", 9F);
+ tabGradient4.EndColor = System.Drawing.SystemColors.ActiveCaption;
+ tabGradient4.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
+ tabGradient4.StartColor = System.Drawing.SystemColors.GradientActiveCaption;
+ tabGradient4.TextColor = System.Drawing.SystemColors.ActiveCaptionText;
+ dockPaneStripToolWindowGradient1.ActiveCaptionGradient = tabGradient4;
+ tabGradient5.EndColor = System.Drawing.SystemColors.Control;
+ tabGradient5.StartColor = System.Drawing.SystemColors.Control;
+ tabGradient5.TextColor = System.Drawing.SystemColors.ControlText;
+ dockPaneStripToolWindowGradient1.ActiveTabGradient = tabGradient5;
+ dockPanelGradient3.EndColor = System.Drawing.SystemColors.ControlLight;
+ dockPanelGradient3.StartColor = System.Drawing.SystemColors.ControlLight;
+ dockPaneStripToolWindowGradient1.DockStripGradient = dockPanelGradient3;
+ tabGradient6.EndColor = System.Drawing.SystemColors.GradientInactiveCaption;
+ tabGradient6.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
+ tabGradient6.StartColor = System.Drawing.SystemColors.GradientInactiveCaption;
+ tabGradient6.TextColor = System.Drawing.SystemColors.ControlText;
+ dockPaneStripToolWindowGradient1.InactiveCaptionGradient = tabGradient6;
+ tabGradient7.EndColor = System.Drawing.Color.Transparent;
+ tabGradient7.StartColor = System.Drawing.Color.Transparent;
+ tabGradient7.TextColor = System.Drawing.SystemColors.ControlDarkDark;
+ dockPaneStripToolWindowGradient1.InactiveTabGradient = tabGradient7;
+ dockPaneStripSkin1.ToolWindowGradient = dockPaneStripToolWindowGradient1;
+ dockPanelSkin1.DockPaneStripSkin = dockPaneStripSkin1;
+ this.dockPanel.Skin = dockPanelSkin1;
+ this.dockPanel.TabIndex = 6;
+ this.dockPanel.ActiveContentChanged += new System.EventHandler(this.dockPanel_ActiveContentChanged);
+ //
+ // sysIcon
+ //
+ this.sysIcon.ContextMenuStrip = this.ctxSysIcon;
+ this.sysIcon.Icon = ((System.Drawing.Icon)(resources.GetObject("sysIcon.Icon")));
+ this.sysIcon.Text = "Mini SQL Query";
+ this.sysIcon.Visible = true;
+ this.sysIcon.DoubleClick += new System.EventHandler(this.sysIcon_DoubleClick);
+ //
+ // ctxSysIcon
+ //
+ this.ctxSysIcon.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.hideShowToolStripMenuItem,
this.toolStripSeparator3,
this.optionsToolStripMenuItem1,
this.toolStripSeparator1,
this.exitToolStripMenuItem});
- this.ctxSysIcon.Name = "ctxSysIcon";
- this.ctxSysIcon.Size = new System.Drawing.Size(137, 82);
- //
- // hideShowToolStripMenuItem
- //
- this.hideShowToolStripMenuItem.Name = "hideShowToolStripMenuItem";
- this.hideShowToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
- this.hideShowToolStripMenuItem.Text = "Hide/Show";
- this.hideShowToolStripMenuItem.Click += new System.EventHandler(this.hideShowToolStripMenuItem_Click);
- //
- // toolStripSeparator3
- //
- this.toolStripSeparator3.Name = "toolStripSeparator3";
- this.toolStripSeparator3.Size = new System.Drawing.Size(133, 6);
- //
- // optionsToolStripMenuItem1
- //
- this.optionsToolStripMenuItem1.Name = "optionsToolStripMenuItem1";
- this.optionsToolStripMenuItem1.Size = new System.Drawing.Size(136, 22);
- this.optionsToolStripMenuItem1.Text = "Options";
- this.optionsToolStripMenuItem1.Visible = false;
- //
- // toolStripSeparator1
- //
- this.toolStripSeparator1.Name = "toolStripSeparator1";
- this.toolStripSeparator1.Size = new System.Drawing.Size(133, 6);
- this.toolStripSeparator1.Visible = false;
- //
- // exitToolStripMenuItem
- //
- this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
- this.exitToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
- this.exitToolStripMenuItem.Text = "Exit";
- this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
- //
- // toolStripStatusLabelResultCount
- //
- this.toolStripStatusLabelResultCount.Name = "toolStripStatusLabelResultCount";
- this.toolStripStatusLabelResultCount.Size = new System.Drawing.Size(21, 17);
- this.toolStripStatusLabelResultCount.Text = "[0]";
- this.toolStripStatusLabelResultCount.TextAlign = System.Drawing.ContentAlignment.TopLeft;
- //
- // MainForm
- //
- this.AllowDrop = true;
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(1066, 570);
- this.Controls.Add(this.dockPanel);
- this.Controls.Add(this.statusStrip);
- this.Controls.Add(this.toolStripConnection);
- this.Controls.Add(this.toolStrip);
- this.Controls.Add(this.menuStrip);
- this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
- this.IsMdiContainer = true;
- this.MainMenuStrip = this.menuStrip;
- this.Name = "MainForm";
- this.Text = "Mini SQL Query";
- this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
- this.Load += new System.EventHandler(this.MainForm_Load);
- this.MdiChildActivate += new System.EventHandler(this.MainForm_MdiChildActivate);
- this.Shown += new System.EventHandler(this.MainForm_Shown);
- this.menuStrip.ResumeLayout(false);
- this.menuStrip.PerformLayout();
- this.toolStrip.ResumeLayout(false);
- this.toolStrip.PerformLayout();
- this.statusStrip.ResumeLayout(false);
- this.statusStrip.PerformLayout();
- this.toolStripConnection.ResumeLayout(false);
- this.toolStripConnection.PerformLayout();
- this.ctxSysIcon.ResumeLayout(false);
- this.ResumeLayout(false);
- this.PerformLayout();
+ this.ctxSysIcon.Name = "ctxSysIcon";
+ this.ctxSysIcon.Size = new System.Drawing.Size(140, 82);
+ //
+ // hideShowToolStripMenuItem
+ //
+ this.hideShowToolStripMenuItem.Name = "hideShowToolStripMenuItem";
+ this.hideShowToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
+ this.hideShowToolStripMenuItem.Text = "Hide/Show";
+ this.hideShowToolStripMenuItem.Click += new System.EventHandler(this.hideShowToolStripMenuItem_Click);
+ //
+ // toolStripSeparator3
+ //
+ this.toolStripSeparator3.Name = "toolStripSeparator3";
+ this.toolStripSeparator3.Size = new System.Drawing.Size(136, 6);
+ //
+ // optionsToolStripMenuItem1
+ //
+ this.optionsToolStripMenuItem1.Name = "optionsToolStripMenuItem1";
+ this.optionsToolStripMenuItem1.Size = new System.Drawing.Size(139, 22);
+ this.optionsToolStripMenuItem1.Text = "Options";
+ this.optionsToolStripMenuItem1.Visible = false;
+ //
+ // toolStripSeparator1
+ //
+ this.toolStripSeparator1.Name = "toolStripSeparator1";
+ this.toolStripSeparator1.Size = new System.Drawing.Size(136, 6);
+ this.toolStripSeparator1.Visible = false;
+ //
+ // exitToolStripMenuItem
+ //
+ this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
+ this.exitToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
+ this.exitToolStripMenuItem.Text = "Exit";
+ this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
+ //
+ // MainForm
+ //
+ this.AllowDrop = true;
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(1066, 526);
+ this.Controls.Add(this.dockPanel);
+ this.Controls.Add(this.statusStrip);
+ this.Controls.Add(this.toolStripConnection);
+ this.Controls.Add(this.toolStrip);
+ this.Controls.Add(this.menuStrip);
+ this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
+ this.IsMdiContainer = true;
+ this.MainMenuStrip = this.menuStrip;
+ this.Name = "MainForm";
+ this.Text = "小型SQL查询";
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
+ this.Load += new System.EventHandler(this.MainForm_Load);
+ this.MdiChildActivate += new System.EventHandler(this.MainForm_MdiChildActivate);
+ this.Shown += new System.EventHandler(this.MainForm_Shown);
+ this.menuStrip.ResumeLayout(false);
+ this.menuStrip.PerformLayout();
+ this.toolStrip.ResumeLayout(false);
+ this.toolStrip.PerformLayout();
+ this.statusStrip.ResumeLayout(false);
+ this.statusStrip.PerformLayout();
+ this.toolStripConnection.ResumeLayout(false);
+ this.toolStripConnection.PerformLayout();
+ this.ctxSysIcon.ResumeLayout(false);
+ this.ResumeLayout(false);
+ this.PerformLayout();
}
#endregion
diff --git a/minisqlquery-master/src/MiniSqlQuery/MainForm.resx b/minisqlquery-master/src/MiniSqlQuery/MainForm.resx
index 91b655c..ca80cd4 100644
--- a/minisqlquery-master/src/MiniSqlQuery/MainForm.resx
+++ b/minisqlquery-master/src/MiniSqlQuery/MainForm.resx
@@ -112,90 +112,91 @@
<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="menuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+ <metadata name="menuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>206, 17</value>
</metadata>
- <metadata name="toolStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+ <metadata name="toolStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>308, 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="newToolStripButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEKSURBVDhPrdNtS8JQFAdwv1R+h/oa+Y0kX4j0ohYhA4MF
- hkYWZtBKEHEDe0KG5Vjzaeqcuod/3MFg5L3XvfDA4b6553c553BTqX2FVO/if5ZqCoqVFoRrOUzuW6SY
- FQXxAemjDB+5uleZwIlQQfVJ4SPibZsJZM9uwuIoqa1clptMwPV8ECSCqMC59EwFgiCA7WxgjOwQODg8
- pg/ztPRIBdYbD2PLgaZbfCBfrG0Bnh9gZq8xMBd418Z8IHdR3QKclQtzskTvZ4rOh8kHSH/xIIObzlfo
- GzN0eyO8qnpyID64z/4E7bdfNFrfyYH44NSvIeTOAHcvWjIg2jfrZK4x2jG5sCv39YFD5w/f9fWWFNSd
- PAAAAABJRU5ErkJggg==
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAELSURBVDhPrZDJasJQGIXzUvoO9TX0jcQuSulCLUUECwot
+ KtrSAbQWRDTg0CLBCY1xqmkcYo7c8ItJYy9Z+MHhLu453+IXzkbypY6/SeRriKXLiKaKZqh6Gjb4j+v4
+ M7y+AF9y/yRS3UkomkbmvcaXxLMVqjsJhh/N8SE0sXP38El1J1t9Z0oOIprYiSQLVLdjGAZUbYOhopoC
+ z4X/tOAm8UoTO+uNjslcgzSY8wVXsTxNjug7Awt1jb68RFOa8AWXtxmaHdFWW8jTX7R7M1RbMl/APq2w
+ w81+VugMF6i3FZTEgXuB9XBfnSkqjRHeyl33AuvhxO8xitU+ch+SOwF7eeEK2Keb0OQcCMIe3/X1lqrb
+ NIsAAAAASUVORK5CYII=
</value>
</data>
<data name="openToolStripButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJfSURBVDhPvZNbSBNgGIZ30UVXFmlRCEaWhF2IgSHVRUjS
- SVFKs8JIE8pTBwzFNg9tOnVzJ6eudJjbdE2dVpZhWCEUikRoqaPEtCwoKsXMUMnT09xCkyzwph/em5/v
- fb73+35+geB/nJxiMxKthctyE3k6K2lKI8vqG52sIyxe5TCdF5aTZYelSA1EJRcjqDNrWEqNNbK/dklI
- KyE8UUVofIET0NtlZGKk1qEfwxamBg1YTSrqzdIlIWEJakLjtATHFiGorVAzPly1yDzzqYQpWxJV5XIq
- S3MxFGehL8jkmlJEkSx1MbTaqGD8i3G+86zdTK8IbLFL6g/AjTIZ3z/qHbHnzE11CofuW/NpsMi4XZmL
- 1ZCNRS/BpLvCdW06pWoROoXQmaZSn8vou0LmYr9pEVNfpWbmjQQGpIv11n7XnwY9yfAykc6aCC7GhCAw
- 6LL51ieH90ruVKtoe6B0Fv0+wosoaA9nujWIiYcBvK7w4dyp/U5AmVbM11cSBlozqLcome0XQ3ecE9AZ
- YzceZ7othInmfYw27maobjuSeC9OBLo5l1mizmCoS8hNs4KOJ/YkPUl2wBnoOMns08NMPj7IWNMehuv9
- +FztTXvOaiKDPPHb6uIE6PJFdDdncsucD32Z8Nwe99lRJluCGXsUwEiDP4NWHz4Yt2BTuiKO3YzvNveF
- pyzMS6XWJMd2N4F2jWBebcoVNMtWci9rFTXpazGkunP10kYiD23C39djAaCRpqARnyVPGE3ahWOOxZyO
- COTIgZ3s3eXDDh8vvD3d8djgxro1Lqx3/RV9Wb/pH8U/ATEu7l+AbzRZAAAAAElFTkSuQmCC
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJYSURBVDhPvZFbSBNQHIf30ENPFmlRCEWWhD0MA0Oqh5Ck
+ m6KUZoWRJpS3LhiKbVPbvE53c+pKh7lN19RptTIMK4RCkQgtdZSYmgVFpZgZKnn7GptokkEP0R9+L+ec
+ 7zs/zhH8l8kpMSPTWriSbyJPZ0WiNDK/9XcTnawjLF7lhC6IKsh0yFKyDUQllyCoN2tYLo218j/ekiAp
+ JTxRRWh8oUvQ22VkcrTOmR8jFqaHDFhNKmzm7GUlYQlqQuO0BMcWI6irVDMxUr0Env1UyrQ9ieqKfKrK
+ cjGUZKIvzOC6UkyxPHWptMaoYOKLcQGec8D0isEeu2x+E9wsl/P9o34BbqpXOPPAWkCDRc6dqlyshiws
+ ehkm3VVuaNMoU4vRKUQuWZU+l7F3Rc7aAy1SbNVqZgdkMJi9NG8da/0S6EmGV4l01kZwKSYEgUGXxbe+
+ fHiv5G6NiraHStehX6u/jIL2cGZag5h8FMCbSiHnTx9wCcq1Ur6+ljHYmo7NomSuXwrdcS6wM8YBnmCm
+ LYTJ5v2MNe5huH4HsnhvTgZ6uN6iVJ3OcJeIW2YFHU8dTXqSHIKz0HGKuWdHmHpyiPGmvYzY/Phc40N7
+ zmoig7zw2+bmEugKxHQ3Z3DbXAB9GfDCUff5MaZaghl/HMBogz9DViEfjFuxK92Rxm7Bd7vn4k8U5aVS
+ Z8rHfi+Bdo1gIW3KFTTLV3I/cxW1aWsxpHpy7fImIg9vxt9346JAk52CRnqOPFE0kovHnQ9zJiKQowd3
+ sW+3kJ1Cb3y8PNm4wYN1a9xY7z5f/d+MQPATMS7uX9kMtOAAAAAASUVORK5CYII=
</value>
</data>
<data name="saveToolStripButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIpSURBVDhPrZPdS5NxFMf3L3TfTdBFtzU1hmuxGjzlHMqq
- YVgRvT2RL+XSZZqoWJlGLV8gW+HSScvpJJxU+AamSI2hTCVLM1e0xKGm2EQw+PY7v+j5tTJv6gfn8vM5
- zznn+6hU/+M9exoFla99GW3eJTx2L6CxIYL7jhnU1nyC/XYIN8qnUFoygcKC18jLHcWF80EovQns7QFq
- qlex0VtZXYMxrReH057wUgTe1kUuqKz48lee4MjCCnabn0OtlmE55BEC96N5Ligt+byu4Cf8PryIOJMP
- BZenccDcJATO+lkuuGR794fgV3hkMoJtkhfWnHGkpjiFoO5umAuys0ZjBL/Dg8EwNuvdkOUATCaHEFRX
- feQC+UxAEawH9/g/YFNiA44cfYGkpFohuFk5je4usFMCx0++guXYAN82LYxmps+mzj/gPhy0dEKS7EJw
- tWwSHT6wDABNrm/s7l9Rfn2OL5UWRjNnZgQVODm1HQZDhRBcKRyHpxl46FxjwYnCmJ4TU+YTNqSfK+Kd
- k1MYvN8Dvb5MCGx5YwwGqu5EeWcSUEjitBKG3s5ibGoOcu417DW2cVi7xwWdrkgIKJaOe1A+mwQEn82/
- hTeheYRmlnCx2I54vYvBjYjf9QDaxHwhyMwYZnMv85m3GjzYskNCS0c/fF2D6O7zY+DlEPaZLFDr6pHA
- 4O2aOmg01ljB6VP9PJ6UMAoJ3ZlORdumhdHM1JWK4J0J2ULwL3/0d2xoOmtKzOuNAAAAAElFTkSuQmCC
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIvSURBVDhPrZLdS9NRGMd//0L33QRddFtTYzgXq8GvXENZ
+ Ngwrwl5+kWZpukwTFSvTqPkG2QqXTlqtJuGkIl/AFCkRZSpZmrmiJQ41xSaCwdfznP3yuIouogeem8P5
+ fM55XqT/Es+fhUHpa11Ci3cRD93zaGoM4a5jGnW1X2C/FcD18kmUloyjsOAt8nJHcP6cHyouSQR2dQK1
+ NSv4WyyvrMKU2oVDqU95qrgkeZ8scEFlxTf16u9BcGh+GbssL6DRKLAe9AiB+8EcF5SWfFWvR8dP+GNw
+ ATFmHwouTeGApVkInA0zXHDR9kFFRGyEhydC2CZ7kZM9huQkpxDU3w5yQdbZERWLxK9wnz+IzQY3FGUA
+ ZrNDCGqqP3OBcmpARf8Md/Z/wqb4Rhw+8gqJiXVCcKNyCh3tYKMEjh1/A+vRXt5tahjVTN+mlyNwN1Ks
+ LyHLdiG4UjaBNh/YDgDNrh9s7t9Rfm2WN5UaRjVnZvjX4f3JrTAaK4TgcuEYPI+A+85VtjhhmNKyo9KS
+ bkPamaIInMTgfR4YDGVCYMsbZTBQXRXmLxNE5zE6GYPvZzA6OQsl9yr2mFo4rNvtgl5fJAS0lo47WP82
+ CQg+nX8T7wJzCEwv4kKxHbEGF4ObEJtwD7r4fCHIzBhidS9xeKvRgy07ZDxu64GvvQ8d3f3ofT2IvWYr
+ NPoGxDF4u7YeWm1OtODkiR6+nrRhtCQ0ZxoVdZsaRjXTq5QE74zLEoJ/D0laA2xoOmtG+TV7AAAAAElF
+ TkSuQmCC
</value>
</data>
<data name="helpToolStripButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKcSURBVDhPjZNbSNNRHMf3HPRcYu+9Gb32VhAJ9RASlOBb
- b1aIFop5GXPeyrmp8zLNu21NR24q6qa2izbndKnzspI2hm5O866FFyg+/TfRyjT6wY8Dh/P5/r7nd85P
- JDoj6po8lJZOkpMzTHa2nbPOnbofhsPpdq/T0DiH5s0sUul/Ch3BTuc6FSo3Vtsa78xBBszzaFs9SHIc
- Zzs6CXf3LGO3f2PIuoPNusVA/zp6/SIt6hnB0cifQifhzq4QFvMWvb2rdHQu0y6Abbp5Wpq9qFQe5PIJ
- cvNHDntzEtYbghHQYAjRql2gudlHbe0cFRUzKBTjFBSM8TTFzOMnRo5ht3szcmdt6zw63QKa134aG7y0
- dgSRtW0SX7ZPnGwHSW0QecUUiY+M6DuGDwW0bdPIFS4amny8qvlEVbkHZek0dboQyVqotsKHBSED0Dj4
- nfv5AdrNHrwBPyKxxIZWN4VEOoisZBRZ8Tgvi1zUq30kaUA3CotL22QWmrj1oC6yGpy73EhyUaR0InqW
- asS/HMRkmSA9ox+x2BZ587yWFVQWInEEj00EIiJljQ6kmiUSEk2IMrM1lCj7WNoOMb8q3K/UgjRvkLuF
- GxgmDgXCEXYRFrh2p4pK9TgtQwdEXa5E9KJ4RKg8IKQRs32ajYMvWB0fiRUH0f8msPN1PwKn5prwrgi9
- sOxxIbrg1xeX5A6SkdVPSbkNX2gBVc8i8q7dYwcOobq81olPgKeFZqaUeYiNq/t7RjKyzDwXhLotn7mZ
- Mkm364C9H2B8HyDmegmzi1DZvcb5q0rylZbThyxLbCEtvY+m9lmuxJsQ1/vR2vdQW3dJVsxyLkbB47S3
- DI0H/z2lqhoXxUoHCQ87iLqUx8XoTG7fq0amsjEyFYrAPwG3BHAuW8RdOwAAAABJRU5ErkJggg==
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKWSURBVDhPjZJbSNNRHMf3HPRcYu+9Gb32VhAJ9RASlOBb
+ b2aIFop5GXPeyrmp8zLNec01HbmpqJvabjbndHl3JTmGbk7zroUXKD79N5XMFPzCjwMHPp9zzu/8ROdF
+ 3eChpGSc7OxBsrIcHG1fLCE4VBMT69TVz6J5P4NUekHRMexyrVOumsBqW+OjOUC/eR5tiwdJtvN80Wm4
+ q3sZh+MnA9YdbNYt+vvW0esXaWqeFm409K/oNNzRGcRi3qKnZ5X2jmXaBLBVN09T4xwqlQe5fIycvKFD
+ wWlYbwiEQYMhSIt2gcZGLzU1s5SXT6NQjJKfP8KLZDMJz42caNhmGNa2zKPTLaB556O+bo6W9gCy1k1i
+ S/eJke0gqQkgL58k/pkRffvgoUDbOoVc4aauwcvb6q9UlnlQlkyh1gVJ0kKVFT4vCOWHevsvHuf5aTN7
+ mPP7EIklNrS6SSRSO7LiYWRFo7wpdFPb7CVRA7phWFzaJqPAxL0n6vBqcO1yJ9FNodKF6GWKEd9yAJNl
+ jLT0PsRiW/jPc5tWUFkI5xgeGfOH19J6J1LNEnHxJkQZWRqKlb0sbQeZXxXeV2JBmmvnYcEGhrFDQSih
+ W4QEtx5UUtE8StPAARHXKxC9LhoSTu4XyojZMcXGwXeszi9EiwPoTwh2fuyH4ZQcE3MrQi8se1yJzP87
+ B5IcO+mZfRSX2fAGF1B1LyLv3D3CwSmcLq9x4RXgKaGZyaUeomPU/09keqaZV4Koy/KNu8njdLkP2PsN
+ xk9+om4XM7MIFV1rXL6pJE9pOXukM8UWUtN6aWib4UasCXGtD61jj2brLkmKGS5FKUhI/cDAaOBswXFU
+ 1W6KlE7inrYTcS2Xq5EZ3H9UhUxlY2gyKMAi0R+3BHAuvd7mVQAAAABJRU5ErkJggg==
</value>
</data>
- <metadata name="statusStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+ <metadata name="statusStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
- <metadata name="toolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+ <metadata name="toolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>121, 17</value>
</metadata>
- <metadata name="toolStripConnection.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+ <metadata name="toolStripConnection.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>401, 17</value>
</metadata>
- <metadata name="sysIcon.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+ <metadata name="sysIcon.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>550, 17</value>
</metadata>
- <metadata name="ctxSysIcon.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+ <metadata name="ctxSysIcon.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>639, 17</value>
</metadata>
<data name="sysIcon.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
@@ -345,7 +346,7 @@
AA/gAAAP4AAAD+AAAB/4AAB//4AH////////////
</value>
</data>
- <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+ <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>51</value>
</metadata>
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
diff --git a/minisqlquery-master/src/MiniSqlQuery/NewFileForm.Designer.cs b/minisqlquery-master/src/MiniSqlQuery/NewFileForm.Designer.cs
index f30e5a3..953e3da 100644
--- a/minisqlquery-master/src/MiniSqlQuery/NewFileForm.Designer.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/NewFileForm.Designer.cs
@@ -28,61 +28,62 @@
/// </summary>
private void InitializeComponent()
{
- this.lstFileTypes = new System.Windows.Forms.ListBox();
- this.btnOK = new System.Windows.Forms.Button();
- this.btnCancel = new System.Windows.Forms.Button();
- this.SuspendLayout();
- //
- // lstFileTypes
- //
- this.lstFileTypes.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.lstFileTypes.FormattingEnabled = true;
- this.lstFileTypes.Location = new System.Drawing.Point(12, 12);
- this.lstFileTypes.Name = "lstFileTypes";
- this.lstFileTypes.Size = new System.Drawing.Size(284, 186);
- this.lstFileTypes.TabIndex = 0;
- this.lstFileTypes.DoubleClick += new System.EventHandler(this.lstFileTypes_DoubleClick);
- this.lstFileTypes.SelectedValueChanged += new System.EventHandler(this.lstFileTypes_SelectedValueChanged);
- //
- // btnOK
- //
- this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.btnOK.Enabled = false;
- this.btnOK.Location = new System.Drawing.Point(140, 216);
- this.btnOK.Name = "btnOK";
- this.btnOK.Size = new System.Drawing.Size(75, 23);
- this.btnOK.TabIndex = 1;
- this.btnOK.Text = "&OK";
- this.btnOK.UseVisualStyleBackColor = true;
- this.btnOK.Click += new System.EventHandler(this.btnOK_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(221, 216);
- this.btnCancel.Name = "btnCancel";
- this.btnCancel.Size = new System.Drawing.Size(75, 23);
- this.btnCancel.TabIndex = 2;
- this.btnCancel.Text = "&Cancel";
- this.btnCancel.UseVisualStyleBackColor = true;
- //
- // NewFileForm
- //
- 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(308, 246);
- this.Controls.Add(this.btnCancel);
- this.Controls.Add(this.btnOK);
- this.Controls.Add(this.lstFileTypes);
- this.Name = "NewFileForm";
- this.Text = "NewFileForm";
- this.Load += new System.EventHandler(this.NewFileForm_Load);
- this.ResumeLayout(false);
+ this.lstFileTypes = new System.Windows.Forms.ListBox();
+ this.btnOK = new System.Windows.Forms.Button();
+ this.btnCancel = new System.Windows.Forms.Button();
+ this.SuspendLayout();
+ //
+ // lstFileTypes
+ //
+ this.lstFileTypes.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.lstFileTypes.FormattingEnabled = true;
+ this.lstFileTypes.ItemHeight = 12;
+ this.lstFileTypes.Location = new System.Drawing.Point(12, 11);
+ this.lstFileTypes.Name = "lstFileTypes";
+ this.lstFileTypes.Size = new System.Drawing.Size(284, 172);
+ this.lstFileTypes.TabIndex = 0;
+ this.lstFileTypes.SelectedValueChanged += new System.EventHandler(this.lstFileTypes_SelectedValueChanged);
+ this.lstFileTypes.DoubleClick += new System.EventHandler(this.lstFileTypes_DoubleClick);
+ //
+ // btnOK
+ //
+ this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnOK.Enabled = false;
+ this.btnOK.Location = new System.Drawing.Point(140, 199);
+ this.btnOK.Name = "btnOK";
+ this.btnOK.Size = new System.Drawing.Size(75, 21);
+ this.btnOK.TabIndex = 1;
+ this.btnOK.Text = "&O确定";
+ this.btnOK.UseVisualStyleBackColor = true;
+ this.btnOK.Click += new System.EventHandler(this.btnOK_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(221, 199);
+ this.btnCancel.Name = "btnCancel";
+ this.btnCancel.Size = new System.Drawing.Size(75, 21);
+ this.btnCancel.TabIndex = 2;
+ this.btnCancel.Text = "&C取消";
+ this.btnCancel.UseVisualStyleBackColor = true;
+ //
+ // NewFileForm
+ //
+ 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(308, 227);
+ this.Controls.Add(this.btnCancel);
+ this.Controls.Add(this.btnOK);
+ this.Controls.Add(this.lstFileTypes);
+ this.Name = "NewFileForm";
+ this.Text = "新建文件";
+ this.Load += new System.EventHandler(this.NewFileForm_Load);
+ this.ResumeLayout(false);
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/NewFileForm.resx b/minisqlquery-master/src/MiniSqlQuery/NewFileForm.resx
index 19dc0dd..d58980a 100644
--- a/minisqlquery-master/src/MiniSqlQuery/NewFileForm.resx
+++ b/minisqlquery-master/src/MiniSqlQuery/NewFileForm.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/OptionsForm.cs b/minisqlquery-master/src/MiniSqlQuery/OptionsForm.cs
index c9b3e07..918c9f9 100644
--- a/minisqlquery-master/src/MiniSqlQuery/OptionsForm.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/OptionsForm.cs
@@ -62,7 +62,7 @@ namespace MiniSqlQuery
/// <returns></returns>
private DialogResult AskToSaveChanges()
{
- return _host.DisplayMessageBox(null, "Configuration changes made, would you like to save them?", "Save Changes?", MessageBoxButtons.YesNo,
+ return _host.DisplayMessageBox(null, "所做的配置更改,是否保存?", "保存改变?", MessageBoxButtons.YesNo,
MessageBoxIcon.Question, MessageBoxDefaultButton.Button1,
MessageBoxOptions.ServiceNotification, null, null);
}
@@ -74,7 +74,7 @@ namespace MiniSqlQuery
{
if (e.PropertyName == "IsDirty")
{
- string title = "Options";
+ string title = "选项";
if (((IConfigurationObject)sender).IsDirty)
{
title += "*";
diff --git a/minisqlquery-master/src/MiniSqlQuery/OptionsForm.Designer.cs b/minisqlquery-master/src/MiniSqlQuery/OptionsForm.Designer.cs
index b2d15be..d7610f9 100644
--- a/minisqlquery-master/src/MiniSqlQuery/OptionsForm.Designer.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/OptionsForm.Designer.cs
@@ -28,96 +28,99 @@
/// </summary>
private void InitializeComponent()
{
- this.lstSettingsProviders = new System.Windows.Forms.ListBox();
- this.groupBox1 = new System.Windows.Forms.GroupBox();
- this.splitContainer1 = new System.Windows.Forms.SplitContainer();
- this.btnCancel = new System.Windows.Forms.Button();
- this.btnOK = new System.Windows.Forms.Button();
- this.splitContainer1.Panel1.SuspendLayout();
- this.splitContainer1.Panel2.SuspendLayout();
- this.splitContainer1.SuspendLayout();
- this.SuspendLayout();
- //
- // lstSettingsProviders
- //
- this.lstSettingsProviders.Dock = System.Windows.Forms.DockStyle.Fill;
- this.lstSettingsProviders.FormattingEnabled = true;
- this.lstSettingsProviders.Location = new System.Drawing.Point(0, 0);
- this.lstSettingsProviders.Name = "lstSettingsProviders";
- this.lstSettingsProviders.Size = new System.Drawing.Size(150, 251);
- this.lstSettingsProviders.TabIndex = 0;
- this.lstSettingsProviders.SelectedValueChanged += new System.EventHandler(this.listBox1_SelectedValueChanged);
- //
- // groupBox1
- //
- this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.groupBox1.Location = new System.Drawing.Point(0, 0);
- this.groupBox1.Name = "groupBox1";
- this.groupBox1.Size = new System.Drawing.Size(351, 254);
- this.groupBox1.TabIndex = 1;
- this.groupBox1.TabStop = false;
- this.groupBox1.Text = "Settings";
- //
- // splitContainer1
- //
- this.splitContainer1.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.splitContainer1.Location = new System.Drawing.Point(12, 12);
- this.splitContainer1.Name = "splitContainer1";
- //
- // splitContainer1.Panel1
- //
- this.splitContainer1.Panel1.Controls.Add(this.lstSettingsProviders);
- //
- // splitContainer1.Panel2
- //
- this.splitContainer1.Panel2.Controls.Add(this.groupBox1);
- this.splitContainer1.Size = new System.Drawing.Size(505, 254);
- this.splitContainer1.SplitterDistance = 150;
- this.splitContainer1.TabIndex = 2;
- //
- // 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(442, 272);
- 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;
- //
- // btnOK
- //
- this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.btnOK.Location = new System.Drawing.Point(361, 272);
- this.btnOK.Name = "btnOK";
- this.btnOK.Size = new System.Drawing.Size(75, 23);
- this.btnOK.TabIndex = 4;
- this.btnOK.Text = "&OK";
- this.btnOK.UseVisualStyleBackColor = true;
- this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
- //
- // OptionsForm
- //
- 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(529, 307);
- this.Controls.Add(this.btnOK);
- this.Controls.Add(this.btnCancel);
- this.Controls.Add(this.splitContainer1);
- this.MinimizeBox = false;
- this.Name = "OptionsForm";
- this.Text = "Options";
- this.Load += new System.EventHandler(this.OptionsForm_Load);
- this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.OptionsForm_FormClosing);
- this.splitContainer1.Panel1.ResumeLayout(false);
- this.splitContainer1.Panel2.ResumeLayout(false);
- this.splitContainer1.ResumeLayout(false);
- this.ResumeLayout(false);
+ this.lstSettingsProviders = new System.Windows.Forms.ListBox();
+ this.groupBox1 = new System.Windows.Forms.GroupBox();
+ this.splitContainer1 = new System.Windows.Forms.SplitContainer();
+ this.btnCancel = new System.Windows.Forms.Button();
+ this.btnOK = new System.Windows.Forms.Button();
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
+ this.splitContainer1.Panel1.SuspendLayout();
+ this.splitContainer1.Panel2.SuspendLayout();
+ this.splitContainer1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // lstSettingsProviders
+ //
+ this.lstSettingsProviders.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.lstSettingsProviders.FormattingEnabled = true;
+ this.lstSettingsProviders.ItemHeight = 12;
+ this.lstSettingsProviders.Location = new System.Drawing.Point(0, 0);
+ this.lstSettingsProviders.Name = "lstSettingsProviders";
+ this.lstSettingsProviders.Size = new System.Drawing.Size(150, 234);
+ this.lstSettingsProviders.TabIndex = 0;
+ this.lstSettingsProviders.SelectedValueChanged += new System.EventHandler(this.listBox1_SelectedValueChanged);
+ //
+ // groupBox1
+ //
+ this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.groupBox1.Location = new System.Drawing.Point(0, 0);
+ this.groupBox1.Name = "groupBox1";
+ this.groupBox1.Size = new System.Drawing.Size(351, 234);
+ this.groupBox1.TabIndex = 1;
+ this.groupBox1.TabStop = false;
+ this.groupBox1.Text = "设置";
+ //
+ // splitContainer1
+ //
+ this.splitContainer1.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.splitContainer1.Location = new System.Drawing.Point(12, 11);
+ this.splitContainer1.Name = "splitContainer1";
+ //
+ // splitContainer1.Panel1
+ //
+ this.splitContainer1.Panel1.Controls.Add(this.lstSettingsProviders);
+ //
+ // splitContainer1.Panel2
+ //
+ this.splitContainer1.Panel2.Controls.Add(this.groupBox1);
+ this.splitContainer1.Size = new System.Drawing.Size(505, 234);
+ this.splitContainer1.SplitterDistance = 150;
+ this.splitContainer1.TabIndex = 2;
+ //
+ // 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(442, 251);
+ this.btnCancel.Name = "btnCancel";
+ this.btnCancel.Size = new System.Drawing.Size(75, 21);
+ this.btnCancel.TabIndex = 3;
+ this.btnCancel.Text = "&C取消";
+ this.btnCancel.UseVisualStyleBackColor = true;
+ //
+ // btnOK
+ //
+ this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnOK.Location = new System.Drawing.Point(361, 251);
+ this.btnOK.Name = "btnOK";
+ this.btnOK.Size = new System.Drawing.Size(75, 21);
+ this.btnOK.TabIndex = 4;
+ this.btnOK.Text = "&O确定";
+ this.btnOK.UseVisualStyleBackColor = true;
+ this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
+ //
+ // OptionsForm
+ //
+ 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(529, 283);
+ this.Controls.Add(this.btnOK);
+ this.Controls.Add(this.btnCancel);
+ this.Controls.Add(this.splitContainer1);
+ this.MinimizeBox = false;
+ this.Name = "OptionsForm";
+ this.Text = "选项";
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.OptionsForm_FormClosing);
+ this.Load += new System.EventHandler(this.OptionsForm_Load);
+ this.splitContainer1.Panel1.ResumeLayout(false);
+ this.splitContainer1.Panel2.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
+ this.splitContainer1.ResumeLayout(false);
+ this.ResumeLayout(false);
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/OptionsForm.resx b/minisqlquery-master/src/MiniSqlQuery/OptionsForm.resx
index 19dc0dd..d58980a 100644
--- a/minisqlquery-master/src/MiniSqlQuery/OptionsForm.resx
+++ b/minisqlquery-master/src/MiniSqlQuery/OptionsForm.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/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)
{
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/QueryForm.Designer.cs b/minisqlquery-master/src/MiniSqlQuery/QueryForm.Designer.cs
index fc39665..0f31701 100644
--- a/minisqlquery-master/src/MiniSqlQuery/QueryForm.Designer.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/QueryForm.Designer.cs
@@ -28,168 +28,170 @@ namespace MiniSqlQuery
/// </summary>
private void InitializeComponent()
{
- this.components = new System.ComponentModel.Container();
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(QueryForm));
- this.splitContainer1 = new System.Windows.Forms.SplitContainer();
- this.txtQuery = new ICSharpCode.TextEditor.TextEditorControl();
- this.contextMenuStripQuery = new System.Windows.Forms.ContextMenuStrip(this.components);
- this._resultsTabControl = new System.Windows.Forms.TabControl();
- this.ctxDataGrid = new System.Windows.Forms.ContextMenuStrip(this.components);
- this.selectAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
- this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.tabPageResults = new System.Windows.Forms.TabPage();
- this.gridResults1 = new System.Windows.Forms.DataGridView();
- this.editorContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
- this.queryBackgroundWorker = new System.ComponentModel.BackgroundWorker();
- this.splitContainer1.Panel1.SuspendLayout();
- this.splitContainer1.Panel2.SuspendLayout();
- this.splitContainer1.SuspendLayout();
- this._resultsTabControl.SuspendLayout();
- this.ctxDataGrid.SuspendLayout();
- this.tabPageResults.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.gridResults1)).BeginInit();
- this.SuspendLayout();
- //
- // splitContainer1
- //
- this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
- this.splitContainer1.Location = new System.Drawing.Point(0, 0);
- this.splitContainer1.Name = "splitContainer1";
- this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
- //
- // splitContainer1.Panel1
- //
- this.splitContainer1.Panel1.Controls.Add(this.txtQuery);
- //
- // splitContainer1.Panel2
- //
- this.splitContainer1.Panel2.Controls.Add(this._resultsTabControl);
- this.splitContainer1.Size = new System.Drawing.Size(1037, 508);
- this.splitContainer1.SplitterDistance = 230;
- this.splitContainer1.TabIndex = 0;
- //
- // txtQuery
- //
- this.txtQuery.ContextMenuStrip = this.contextMenuStripQuery;
- this.txtQuery.Dock = System.Windows.Forms.DockStyle.Fill;
- this.txtQuery.EnableFolding = false;
- this.txtQuery.IsReadOnly = false;
- this.txtQuery.Location = new System.Drawing.Point(0, 0);
- this.txtQuery.Name = "txtQuery";
- this.txtQuery.ShowEOLMarkers = true;
- this.txtQuery.ShowSpaces = true;
- this.txtQuery.ShowTabs = true;
- this.txtQuery.Size = new System.Drawing.Size(1037, 230);
- this.txtQuery.TabIndex = 1;
- //
- // contextMenuStripQuery
- //
- this.contextMenuStripQuery.Name = "contextMenuStripQuery";
- this.contextMenuStripQuery.Size = new System.Drawing.Size(61, 4);
- //
- // _resultsTabControl
- //
- this._resultsTabControl.ContextMenuStrip = this.ctxDataGrid;
- this._resultsTabControl.Controls.Add(this.tabPageResults);
- this._resultsTabControl.Dock = System.Windows.Forms.DockStyle.Fill;
- this._resultsTabControl.Location = new System.Drawing.Point(0, 0);
- this._resultsTabControl.Name = "_resultsTabControl";
- this._resultsTabControl.SelectedIndex = 0;
- this._resultsTabControl.Size = new System.Drawing.Size(1037, 274);
- this._resultsTabControl.TabIndex = 0;
- this._resultsTabControl.SelectedIndexChanged += new System.EventHandler(this.SetResultCountOnTabSelectedIndexChanged);
- //
- // ctxDataGrid
- //
- this.ctxDataGrid.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.components = new System.ComponentModel.Container();
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(QueryForm));
+ this.splitContainer1 = new System.Windows.Forms.SplitContainer();
+ this.txtQuery = new ICSharpCode.TextEditor.TextEditorControl();
+ this.contextMenuStripQuery = new System.Windows.Forms.ContextMenuStrip(this.components);
+ this._resultsTabControl = new System.Windows.Forms.TabControl();
+ this.ctxDataGrid = new System.Windows.Forms.ContextMenuStrip(this.components);
+ this.selectAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
+ this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.tabPageResults = new System.Windows.Forms.TabPage();
+ this.gridResults1 = new System.Windows.Forms.DataGridView();
+ this.editorContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
+ this.queryBackgroundWorker = new System.ComponentModel.BackgroundWorker();
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
+ this.splitContainer1.Panel1.SuspendLayout();
+ this.splitContainer1.Panel2.SuspendLayout();
+ this.splitContainer1.SuspendLayout();
+ this._resultsTabControl.SuspendLayout();
+ this.ctxDataGrid.SuspendLayout();
+ this.tabPageResults.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.gridResults1)).BeginInit();
+ this.SuspendLayout();
+ //
+ // splitContainer1
+ //
+ this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
+ this.splitContainer1.Location = new System.Drawing.Point(0, 0);
+ this.splitContainer1.Name = "splitContainer1";
+ this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
+ //
+ // splitContainer1.Panel1
+ //
+ this.splitContainer1.Panel1.Controls.Add(this.txtQuery);
+ //
+ // splitContainer1.Panel2
+ //
+ this.splitContainer1.Panel2.Controls.Add(this._resultsTabControl);
+ this.splitContainer1.Size = new System.Drawing.Size(1037, 508);
+ this.splitContainer1.SplitterDistance = 230;
+ this.splitContainer1.TabIndex = 0;
+ //
+ // txtQuery
+ //
+ this.txtQuery.ContextMenuStrip = this.contextMenuStripQuery;
+ this.txtQuery.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.txtQuery.EnableFolding = false;
+ this.txtQuery.IsReadOnly = false;
+ this.txtQuery.Location = new System.Drawing.Point(0, 0);
+ this.txtQuery.Name = "txtQuery";
+ this.txtQuery.ShowEOLMarkers = true;
+ this.txtQuery.ShowSpaces = true;
+ this.txtQuery.ShowTabs = true;
+ this.txtQuery.Size = new System.Drawing.Size(1037, 230);
+ this.txtQuery.TabIndex = 1;
+ //
+ // contextMenuStripQuery
+ //
+ this.contextMenuStripQuery.Name = "contextMenuStripQuery";
+ this.contextMenuStripQuery.Size = new System.Drawing.Size(61, 4);
+ //
+ // _resultsTabControl
+ //
+ this._resultsTabControl.ContextMenuStrip = this.ctxDataGrid;
+ this._resultsTabControl.Controls.Add(this.tabPageResults);
+ this._resultsTabControl.Dock = System.Windows.Forms.DockStyle.Fill;
+ this._resultsTabControl.Location = new System.Drawing.Point(0, 0);
+ this._resultsTabControl.Name = "_resultsTabControl";
+ this._resultsTabControl.SelectedIndex = 0;
+ this._resultsTabControl.Size = new System.Drawing.Size(1037, 274);
+ this._resultsTabControl.TabIndex = 0;
+ this._resultsTabControl.SelectedIndexChanged += new System.EventHandler(this.SetResultCountOnTabSelectedIndexChanged);
+ //
+ // ctxDataGrid
+ //
+ this.ctxDataGrid.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.selectAllToolStripMenuItem,
this.toolStripSeparator1,
this.copyToolStripMenuItem});
- this.ctxDataGrid.Name = "ctxDataGrid";
- this.ctxDataGrid.Size = new System.Drawing.Size(153, 76);
- //
- // selectAllToolStripMenuItem
- //
- this.selectAllToolStripMenuItem.Name = "selectAllToolStripMenuItem";
- this.selectAllToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
- this.selectAllToolStripMenuItem.Text = "Select All";
- this.selectAllToolStripMenuItem.Click += new System.EventHandler(this.selectAllToolStripMenuItem_Click);
- //
- // toolStripSeparator1
- //
- this.toolStripSeparator1.Name = "toolStripSeparator1";
- this.toolStripSeparator1.Size = new System.Drawing.Size(149, 6);
- //
- // copyToolStripMenuItem
- //
- this.copyToolStripMenuItem.Name = "copyToolStripMenuItem";
- this.copyToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
- this.copyToolStripMenuItem.Text = "Copy Selected";
- this.copyToolStripMenuItem.Click += new System.EventHandler(this.copyToolStripMenuItem_Click);
- //
- // tabPageResults
- //
- this.tabPageResults.Controls.Add(this.gridResults1);
- this.tabPageResults.Location = new System.Drawing.Point(4, 22);
- this.tabPageResults.Name = "tabPageResults";
- this.tabPageResults.Padding = new System.Windows.Forms.Padding(3);
- this.tabPageResults.Size = new System.Drawing.Size(1029, 248);
- this.tabPageResults.TabIndex = 0;
- this.tabPageResults.Text = "Results";
- this.tabPageResults.UseVisualStyleBackColor = true;
- //
- // gridResults1
- //
- this.gridResults1.AllowUserToAddRows = false;
- this.gridResults1.AllowUserToDeleteRows = false;
- this.gridResults1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.ColumnHeader;
- this.gridResults1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.gridResults1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.gridResults1.Location = new System.Drawing.Point(3, 3);
- this.gridResults1.Name = "gridResults1";
- this.gridResults1.ReadOnly = true;
- this.gridResults1.Size = new System.Drawing.Size(1023, 242);
- this.gridResults1.TabIndex = 0;
- //
- // editorContextMenuStrip
- //
- this.editorContextMenuStrip.Name = "editorContextMenuStrip";
- this.editorContextMenuStrip.Size = new System.Drawing.Size(61, 4);
- //
- // queryBackgroundWorker
- //
- this.queryBackgroundWorker.WorkerReportsProgress = true;
- this.queryBackgroundWorker.WorkerSupportsCancellation = true;
- this.queryBackgroundWorker.DoWork += new System.ComponentModel.DoWorkEventHandler(this.queryBackgroundWorker_DoWork);
- this.queryBackgroundWorker.ProgressChanged += new System.ComponentModel.ProgressChangedEventHandler(this.queryBackgroundWorker_ProgressChanged);
- this.queryBackgroundWorker.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.queryBackgroundWorker_RunWorkerCompleted);
- //
- // QueryForm
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(1037, 508);
- 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.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
- this.Name = "QueryForm";
- this.TabPageContextMenuStrip = this.editorContextMenuStrip;
- this.TabText = "Query";
- this.Text = "Query";
- this.Activated += new System.EventHandler(this.QueryForm_Activated);
- this.Deactivate += new System.EventHandler(this.QueryForm_Deactivate);
- this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.QueryForm_FormClosing);
- this.Load += new System.EventHandler(this.QueryForm_Load);
- this.splitContainer1.Panel1.ResumeLayout(false);
- this.splitContainer1.Panel2.ResumeLayout(false);
- this.splitContainer1.ResumeLayout(false);
- this._resultsTabControl.ResumeLayout(false);
- this.ctxDataGrid.ResumeLayout(false);
- this.tabPageResults.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.gridResults1)).EndInit();
- this.ResumeLayout(false);
+ this.ctxDataGrid.Name = "ctxDataGrid";
+ this.ctxDataGrid.Size = new System.Drawing.Size(160, 54);
+ //
+ // selectAllToolStripMenuItem
+ //
+ this.selectAllToolStripMenuItem.Name = "selectAllToolStripMenuItem";
+ this.selectAllToolStripMenuItem.Size = new System.Drawing.Size(159, 22);
+ this.selectAllToolStripMenuItem.Text = "Select All";
+ this.selectAllToolStripMenuItem.Click += new System.EventHandler(this.selectAllToolStripMenuItem_Click);
+ //
+ // toolStripSeparator1
+ //
+ this.toolStripSeparator1.Name = "toolStripSeparator1";
+ this.toolStripSeparator1.Size = new System.Drawing.Size(156, 6);
+ //
+ // copyToolStripMenuItem
+ //
+ this.copyToolStripMenuItem.Name = "copyToolStripMenuItem";
+ this.copyToolStripMenuItem.Size = new System.Drawing.Size(159, 22);
+ this.copyToolStripMenuItem.Text = "Copy Selected";
+ this.copyToolStripMenuItem.Click += new System.EventHandler(this.copyToolStripMenuItem_Click);
+ //
+ // tabPageResults
+ //
+ this.tabPageResults.Controls.Add(this.gridResults1);
+ this.tabPageResults.Location = new System.Drawing.Point(4, 22);
+ this.tabPageResults.Name = "tabPageResults";
+ this.tabPageResults.Padding = new System.Windows.Forms.Padding(3);
+ this.tabPageResults.Size = new System.Drawing.Size(1029, 248);
+ this.tabPageResults.TabIndex = 0;
+ this.tabPageResults.Text = "���";
+ this.tabPageResults.UseVisualStyleBackColor = true;
+ //
+ // gridResults1
+ //
+ this.gridResults1.AllowUserToAddRows = false;
+ this.gridResults1.AllowUserToDeleteRows = false;
+ this.gridResults1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.ColumnHeader;
+ this.gridResults1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+ this.gridResults1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.gridResults1.Location = new System.Drawing.Point(3, 3);
+ this.gridResults1.Name = "gridResults1";
+ this.gridResults1.ReadOnly = true;
+ this.gridResults1.Size = new System.Drawing.Size(1023, 242);
+ this.gridResults1.TabIndex = 0;
+ //
+ // editorContextMenuStrip
+ //
+ this.editorContextMenuStrip.Name = "editorContextMenuStrip";
+ this.editorContextMenuStrip.Size = new System.Drawing.Size(61, 4);
+ //
+ // queryBackgroundWorker
+ //
+ this.queryBackgroundWorker.WorkerReportsProgress = true;
+ this.queryBackgroundWorker.WorkerSupportsCancellation = true;
+ this.queryBackgroundWorker.DoWork += new System.ComponentModel.DoWorkEventHandler(this.queryBackgroundWorker_DoWork);
+ this.queryBackgroundWorker.ProgressChanged += new System.ComponentModel.ProgressChangedEventHandler(this.queryBackgroundWorker_ProgressChanged);
+ this.queryBackgroundWorker.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.queryBackgroundWorker_RunWorkerCompleted);
+ //
+ // QueryForm
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(1037, 508);
+ 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.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
+ this.Name = "QueryForm";
+ this.TabPageContextMenuStrip = this.editorContextMenuStrip;
+ this.TabText = "Query";
+ this.Text = "��ѯ";
+ this.Activated += new System.EventHandler(this.QueryForm_Activated);
+ this.Deactivate += new System.EventHandler(this.QueryForm_Deactivate);
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.QueryForm_FormClosing);
+ this.Load += new System.EventHandler(this.QueryForm_Load);
+ this.splitContainer1.Panel1.ResumeLayout(false);
+ this.splitContainer1.Panel2.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
+ this.splitContainer1.ResumeLayout(false);
+ this._resultsTabControl.ResumeLayout(false);
+ this.ctxDataGrid.ResumeLayout(false);
+ this.tabPageResults.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.gridResults1)).EndInit();
+ this.ResumeLayout(false);
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/QueryForm.resx b/minisqlquery-master/src/MiniSqlQuery/QueryForm.resx
index ef6fa08..6fb2380 100644
--- a/minisqlquery-master/src/MiniSqlQuery/QueryForm.resx
+++ b/minisqlquery-master/src/MiniSqlQuery/QueryForm.resx
@@ -112,24 +112,24 @@
<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="contextMenuStripQuery.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+ <metadata name="contextMenuStripQuery.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>132, 20</value>
</metadata>
- <metadata name="ctxDataGrid.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+ <metadata name="ctxDataGrid.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>657, 20</value>
</metadata>
- <metadata name="editorContextMenuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+ <metadata name="editorContextMenuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>300, 20</value>
</metadata>
- <metadata name="queryBackgroundWorker.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+ <metadata name="queryBackgroundWorker.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>483, 20</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