diff options
author | Jes <jes> | 2010-01-14 19:01:07 +0100 |
---|---|---|
committer | Jes <jes> | 2010-01-14 19:01:07 +0100 |
commit | 78455c91b09616e2ff6713adbd6d44463a80608b (patch) | |
tree | adf431be0dde10a2e7121348991893fd306de83a /script-editor/MainForm.Designer.cs | |
parent | 49b3d926ea33f486468f0bc855585968eacca124 (diff) |
Mise à jour de l'éditeur
Diffstat (limited to 'script-editor/MainForm.Designer.cs')
-rw-r--r-- | script-editor/MainForm.Designer.cs | 805 |
1 files changed, 576 insertions, 229 deletions
diff --git a/script-editor/MainForm.Designer.cs b/script-editor/MainForm.Designer.cs index ee72599..f879053 100644 --- a/script-editor/MainForm.Designer.cs +++ b/script-editor/MainForm.Designer.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Drawing; using System.Diagnostics; using System.Windows.Forms; + namespace VPScriptEditor { partial class VPScriptEditor : Form @@ -36,45 +37,76 @@ namespace VPScriptEditor this.txtbxPointerNumber = new System.Windows.Forms.TextBox(); this.bttnPrevious = new System.Windows.Forms.Button(); this.bttnNext = new System.Windows.Forms.Button(); - this.txtbxInputPtr = new System.Windows.Forms.TextBox(); this.grpbxInput = new System.Windows.Forms.GroupBox(); - this.txtbxInputHeight = new System.Windows.Forms.TextBox(); - this.lblInputHeight = new System.Windows.Forms.Label(); - this.txtbxInputWidth = new System.Windows.Forms.TextBox(); - this.lblInputWidth = new System.Windows.Forms.Label(); - this.txtbxInputY = new System.Windows.Forms.TextBox(); - this.lblInputY = new System.Windows.Forms.Label(); - this.txtbxInputX = new System.Windows.Forms.TextBox(); + this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); + this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); + this.flowLayoutPanel2 = new System.Windows.Forms.FlowLayoutPanel(); this.lblInputX = new System.Windows.Forms.Label(); + this.txtbxInputX = new System.Windows.Forms.TextBox(); + this.lblInputY = new System.Windows.Forms.Label(); + this.txtbxInputY = new System.Windows.Forms.TextBox(); + this.lblInputWidth = new System.Windows.Forms.Label(); + this.txtbxInputWidth = new System.Windows.Forms.TextBox(); + this.lblInputHeight = new System.Windows.Forms.Label(); + this.txtbxInputHeight = new System.Windows.Forms.TextBox(); + this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); + this.bttnNextUntranslated = new System.Windows.Forms.Button(); + this.bttnNextUnsure = new System.Windows.Forms.Button(); + this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.grpbxOutput = new System.Windows.Forms.GroupBox(); - this.bttnResize = new System.Windows.Forms.Button(); + this.tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel(); + this.tableLayoutPanel5 = new System.Windows.Forms.TableLayoutPanel(); + this.flowLayoutPanel3 = new System.Windows.Forms.FlowLayoutPanel(); this.bttnReset = new System.Windows.Forms.Button(); - this.txtbxOutputHeight = new System.Windows.Forms.TextBox(); - this.txtbxOutputPtr = new System.Windows.Forms.TextBox(); - this.lblOutputHeight = new System.Windows.Forms.Label(); - this.txtbxOutputWidth = new System.Windows.Forms.TextBox(); - this.txtbxOutputY = new System.Windows.Forms.TextBox(); + this.bttnResize = new System.Windows.Forms.Button(); + this.chkDone = new System.Windows.Forms.CheckBox(); + this.chkUnsure = new System.Windows.Forms.CheckBox(); + this.bttnComment = new System.Windows.Forms.Button(); + this.flowLayoutPanel4 = new System.Windows.Forms.FlowLayoutPanel(); this.lblOutputX = new System.Windows.Forms.Label(); - this.lblOutputWidth = new System.Windows.Forms.Label(); this.txtbxOutputX = new System.Windows.Forms.TextBox(); this.lblOutputY = new System.Windows.Forms.Label(); - this.tsmiTest = new System.Windows.Forms.ToolStripMenuItem(); + this.txtbxOutputY = new System.Windows.Forms.TextBox(); + this.lblOutputWidth = new System.Windows.Forms.Label(); + this.txtbxOutputWidth = new System.Windows.Forms.TextBox(); + this.lblOutputHeight = new System.Windows.Forms.Label(); + this.txtbxOutputHeight = new System.Windows.Forms.TextBox(); + this.richEditOutputPtr = new System.Windows.Forms.RichTextBox(); + this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.OpenMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.SaveMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.SaveAsMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.ExitMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.menu = new System.Windows.Forms.MenuStrip(); - this.pnlOutput = new CustomControl.MyPanel(); + this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.wordWarpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.aboutToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.statusStrip = new System.Windows.Forms.StatusStrip(); + this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel(); + this.lblStatusProgress = new System.Windows.Forms.ToolStripStatusLabel(); this.pnlInput = new CustomControl.MyPanel(); + this.richEditInputPtr = new CustomControl.MyRichTextBox(); + this.pnlOutput = new CustomControl.MyPanel(); this.grpbxInput.SuspendLayout(); + this.tableLayoutPanel2.SuspendLayout(); + this.tableLayoutPanel3.SuspendLayout(); + this.flowLayoutPanel2.SuspendLayout(); + this.flowLayoutPanel1.SuspendLayout(); + this.tableLayoutPanel1.SuspendLayout(); this.grpbxOutput.SuspendLayout(); + this.tableLayoutPanel4.SuspendLayout(); + this.tableLayoutPanel5.SuspendLayout(); + this.flowLayoutPanel3.SuspendLayout(); + this.flowLayoutPanel4.SuspendLayout(); this.menu.SuspendLayout(); + this.statusStrip.SuspendLayout(); this.SuspendLayout(); // // lblPointerNumber // - this.lblPointerNumber.AutoSize = true; - this.lblPointerNumber.Location = new System.Drawing.Point(6, 16); + this.lblPointerNumber.Anchor = System.Windows.Forms.AnchorStyles.None; + this.lblPointerNumber.Location = new System.Drawing.Point(3, 7); this.lblPointerNumber.Name = "lblPointerNumber"; this.lblPointerNumber.Size = new System.Drawing.Size(46, 13); this.lblPointerNumber.TabIndex = 1; @@ -82,17 +114,18 @@ namespace VPScriptEditor // // txtbxRoom // + this.txtbxRoom.Anchor = System.Windows.Forms.AnchorStyles.None; this.txtbxRoom.BackColor = System.Drawing.SystemColors.Window; - this.txtbxRoom.Location = new System.Drawing.Point(371, 40); + this.txtbxRoom.Location = new System.Drawing.Point(413, 4); this.txtbxRoom.Name = "txtbxRoom"; this.txtbxRoom.ReadOnly = true; this.txtbxRoom.Size = new System.Drawing.Size(100, 20); - this.txtbxRoom.TabIndex = 7; + this.txtbxRoom.TabIndex = 6; // // lblRoom // - this.lblRoom.AutoSize = true; - this.lblRoom.Location = new System.Drawing.Point(324, 43); + this.lblRoom.Anchor = System.Windows.Forms.AnchorStyles.None; + this.lblRoom.Location = new System.Drawing.Point(366, 7); this.lblRoom.Name = "lblRoom"; this.lblRoom.Size = new System.Drawing.Size(41, 13); this.lblRoom.TabIndex = 3; @@ -100,21 +133,23 @@ namespace VPScriptEditor // // txtbxPointerNumber // + this.txtbxPointerNumber.Anchor = System.Windows.Forms.AnchorStyles.None; this.txtbxPointerNumber.Enabled = false; - this.txtbxPointerNumber.Location = new System.Drawing.Point(58, 13); + this.txtbxPointerNumber.Location = new System.Drawing.Point(91, 4); this.txtbxPointerNumber.MaxLength = 4; this.txtbxPointerNumber.Name = "txtbxPointerNumber"; this.txtbxPointerNumber.Size = new System.Drawing.Size(37, 20); - this.txtbxPointerNumber.TabIndex = 0; + this.txtbxPointerNumber.TabIndex = 2; this.txtbxPointerNumber.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtbxPointerNumber_KeyPress); // // bttnPrevious // + this.bttnPrevious.Anchor = System.Windows.Forms.AnchorStyles.None; this.bttnPrevious.Enabled = false; this.bttnPrevious.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.bttnPrevious.Location = new System.Drawing.Point(118, 13); + this.bttnPrevious.Location = new System.Drawing.Point(55, 3); this.bttnPrevious.Name = "bttnPrevious"; - this.bttnPrevious.Size = new System.Drawing.Size(30, 20); + this.bttnPrevious.Size = new System.Drawing.Size(30, 22); this.bttnPrevious.TabIndex = 1; this.bttnPrevious.Text = "←"; this.bttnPrevious.UseVisualStyleBackColor = true; @@ -122,260 +157,459 @@ namespace VPScriptEditor // // bttnNext // + this.bttnNext.Anchor = System.Windows.Forms.AnchorStyles.None; this.bttnNext.Enabled = false; this.bttnNext.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.bttnNext.Location = new System.Drawing.Point(157, 13); + this.bttnNext.Location = new System.Drawing.Point(134, 3); this.bttnNext.Name = "bttnNext"; - this.bttnNext.Size = new System.Drawing.Size(30, 20); - this.bttnNext.TabIndex = 2; + this.bttnNext.Size = new System.Drawing.Size(30, 22); + this.bttnNext.TabIndex = 3; this.bttnNext.Text = "→"; this.bttnNext.UseVisualStyleBackColor = true; this.bttnNext.Click += new System.EventHandler(this.bttnNext_Click); // - // txtbxInputPtr - // - this.txtbxInputPtr.BackColor = System.Drawing.SystemColors.Window; - this.txtbxInputPtr.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.txtbxInputPtr.Location = new System.Drawing.Point(9, 66); - this.txtbxInputPtr.Multiline = true; - this.txtbxInputPtr.Name = "txtbxInputPtr"; - this.txtbxInputPtr.ReadOnly = true; - this.txtbxInputPtr.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; - this.txtbxInputPtr.Size = new System.Drawing.Size(593, 174); - this.txtbxInputPtr.TabIndex = 8; - // // grpbxInput // - this.grpbxInput.Controls.Add(this.txtbxInputHeight); - this.grpbxInput.Controls.Add(this.lblInputHeight); - this.grpbxInput.Controls.Add(this.txtbxInputWidth); - this.grpbxInput.Controls.Add(this.lblInputWidth); - this.grpbxInput.Controls.Add(this.txtbxInputY); - this.grpbxInput.Controls.Add(this.lblInputY); - this.grpbxInput.Controls.Add(this.txtbxInputX); - this.grpbxInput.Controls.Add(this.lblInputX); - this.grpbxInput.Controls.Add(this.lblRoom); - this.grpbxInput.Controls.Add(this.txtbxInputPtr); - this.grpbxInput.Controls.Add(this.lblPointerNumber); - this.grpbxInput.Controls.Add(this.bttnNext); - this.grpbxInput.Controls.Add(this.txtbxPointerNumber); - this.grpbxInput.Controls.Add(this.bttnPrevious); - this.grpbxInput.Controls.Add(this.txtbxRoom); - this.grpbxInput.Location = new System.Drawing.Point(12, 27); + this.grpbxInput.Controls.Add(this.tableLayoutPanel2); + this.grpbxInput.Dock = System.Windows.Forms.DockStyle.Fill; + this.grpbxInput.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.grpbxInput.Location = new System.Drawing.Point(3, 33); this.grpbxInput.Name = "grpbxInput"; - this.grpbxInput.Size = new System.Drawing.Size(608, 246); - this.grpbxInput.TabIndex = 1; + this.grpbxInput.Size = new System.Drawing.Size(826, 272); + this.grpbxInput.TabIndex = 5; this.grpbxInput.TabStop = false; this.grpbxInput.Text = "Original text"; // - // txtbxInputHeight + // tableLayoutPanel2 + // + this.tableLayoutPanel2.ColumnCount = 2; + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 330F)); + this.tableLayoutPanel2.Controls.Add(this.pnlInput, 1, 0); + this.tableLayoutPanel2.Controls.Add(this.tableLayoutPanel3, 0, 0); + this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanel2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 17); + this.tableLayoutPanel2.Name = "tableLayoutPanel2"; + this.tableLayoutPanel2.RowCount = 1; + this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel2.Size = new System.Drawing.Size(820, 252); + this.tableLayoutPanel2.TabIndex = 16; + // + // tableLayoutPanel3 + // + this.tableLayoutPanel3.ColumnCount = 1; + this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel3.Controls.Add(this.flowLayoutPanel2, 0, 0); + this.tableLayoutPanel3.Controls.Add(this.richEditInputPtr, 0, 1); + this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanel3.Location = new System.Drawing.Point(3, 3); + this.tableLayoutPanel3.Name = "tableLayoutPanel3"; + this.tableLayoutPanel3.RowCount = 2; + this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F)); + this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel3.Size = new System.Drawing.Size(484, 246); + this.tableLayoutPanel3.TabIndex = 16; + // + // flowLayoutPanel2 + // + this.flowLayoutPanel2.Controls.Add(this.lblInputX); + this.flowLayoutPanel2.Controls.Add(this.txtbxInputX); + this.flowLayoutPanel2.Controls.Add(this.lblInputY); + this.flowLayoutPanel2.Controls.Add(this.txtbxInputY); + this.flowLayoutPanel2.Controls.Add(this.lblInputWidth); + this.flowLayoutPanel2.Controls.Add(this.txtbxInputWidth); + this.flowLayoutPanel2.Controls.Add(this.lblInputHeight); + this.flowLayoutPanel2.Controls.Add(this.txtbxInputHeight); + this.flowLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; + this.flowLayoutPanel2.Location = new System.Drawing.Point(3, 3); + this.flowLayoutPanel2.Name = "flowLayoutPanel2"; + this.flowLayoutPanel2.Size = new System.Drawing.Size(478, 24); + this.flowLayoutPanel2.TabIndex = 1; // - this.txtbxInputHeight.BackColor = System.Drawing.SystemColors.Window; - this.txtbxInputHeight.Location = new System.Drawing.Point(287, 40); - this.txtbxInputHeight.Name = "txtbxInputHeight"; - this.txtbxInputHeight.ReadOnly = true; - this.txtbxInputHeight.Size = new System.Drawing.Size(30, 20); - this.txtbxInputHeight.TabIndex = 6; - // - // lblInputHeight + // lblInputX // - this.lblInputHeight.AutoSize = true; - this.lblInputHeight.Location = new System.Drawing.Point(237, 43); - this.lblInputHeight.Name = "lblInputHeight"; - this.lblInputHeight.Size = new System.Drawing.Size(44, 13); - this.lblInputHeight.TabIndex = 15; - this.lblInputHeight.Text = "Height :"; + this.lblInputX.Anchor = System.Windows.Forms.AnchorStyles.None; + this.lblInputX.AutoSize = true; + this.lblInputX.Location = new System.Drawing.Point(3, 6); + this.lblInputX.Name = "lblInputX"; + this.lblInputX.Size = new System.Drawing.Size(20, 13); + this.lblInputX.TabIndex = 9; + this.lblInputX.Text = "X :"; // - // txtbxInputWidth + // txtbxInputX // - this.txtbxInputWidth.BackColor = System.Drawing.SystemColors.Window; - this.txtbxInputWidth.Location = new System.Drawing.Point(201, 40); - this.txtbxInputWidth.Name = "txtbxInputWidth"; - this.txtbxInputWidth.ReadOnly = true; - this.txtbxInputWidth.Size = new System.Drawing.Size(30, 20); - this.txtbxInputWidth.TabIndex = 5; + this.txtbxInputX.Anchor = System.Windows.Forms.AnchorStyles.None; + this.txtbxInputX.BackColor = System.Drawing.SystemColors.Window; + this.txtbxInputX.Location = new System.Drawing.Point(29, 3); + this.txtbxInputX.Name = "txtbxInputX"; + this.txtbxInputX.ReadOnly = true; + this.txtbxInputX.Size = new System.Drawing.Size(30, 20); + this.txtbxInputX.TabIndex = 1; // - // lblInputWidth + // lblInputY // - this.lblInputWidth.AutoSize = true; - this.lblInputWidth.Location = new System.Drawing.Point(154, 43); - this.lblInputWidth.Name = "lblInputWidth"; - this.lblInputWidth.Size = new System.Drawing.Size(41, 13); - this.lblInputWidth.TabIndex = 13; - this.lblInputWidth.Text = "Width :"; + this.lblInputY.Anchor = System.Windows.Forms.AnchorStyles.None; + this.lblInputY.AutoSize = true; + this.lblInputY.Location = new System.Drawing.Point(65, 6); + this.lblInputY.Name = "lblInputY"; + this.lblInputY.Size = new System.Drawing.Size(20, 13); + this.lblInputY.TabIndex = 11; + this.lblInputY.Text = "Y :"; // // txtbxInputY // + this.txtbxInputY.Anchor = System.Windows.Forms.AnchorStyles.None; this.txtbxInputY.BackColor = System.Drawing.SystemColors.Window; - this.txtbxInputY.Location = new System.Drawing.Point(118, 40); + this.txtbxInputY.Location = new System.Drawing.Point(91, 3); this.txtbxInputY.Name = "txtbxInputY"; this.txtbxInputY.ReadOnly = true; this.txtbxInputY.Size = new System.Drawing.Size(30, 20); - this.txtbxInputY.TabIndex = 4; + this.txtbxInputY.TabIndex = 2; // - // lblInputY + // lblInputWidth // - this.lblInputY.AutoSize = true; - this.lblInputY.Location = new System.Drawing.Point(94, 43); - this.lblInputY.Name = "lblInputY"; - this.lblInputY.Size = new System.Drawing.Size(20, 13); - this.lblInputY.TabIndex = 11; - this.lblInputY.Text = "Y :"; + this.lblInputWidth.Anchor = System.Windows.Forms.AnchorStyles.None; + this.lblInputWidth.AutoSize = true; + this.lblInputWidth.Location = new System.Drawing.Point(127, 6); + this.lblInputWidth.Name = "lblInputWidth"; + this.lblInputWidth.Size = new System.Drawing.Size(41, 13); + this.lblInputWidth.TabIndex = 13; + this.lblInputWidth.Text = "Width :"; // - // txtbxInputX + // txtbxInputWidth // - this.txtbxInputX.BackColor = System.Drawing.SystemColors.Window; - this.txtbxInputX.Location = new System.Drawing.Point(58, 40); - this.txtbxInputX.Name = "txtbxInputX"; - this.txtbxInputX.ReadOnly = true; - this.txtbxInputX.Size = new System.Drawing.Size(30, 20); - this.txtbxInputX.TabIndex = 3; + this.txtbxInputWidth.Anchor = System.Windows.Forms.AnchorStyles.None; + this.txtbxInputWidth.BackColor = System.Drawing.SystemColors.Window; + this.txtbxInputWidth.Location = new System.Drawing.Point(174, 3); + this.txtbxInputWidth.Name = "txtbxInputWidth"; + this.txtbxInputWidth.ReadOnly = true; + this.txtbxInputWidth.Size = new System.Drawing.Size(30, 20); + this.txtbxInputWidth.TabIndex = 3; // - // lblInputX + // lblInputHeight // - this.lblInputX.AutoSize = true; - this.lblInputX.Location = new System.Drawing.Point(34, 43); - this.lblInputX.Name = "lblInputX"; - this.lblInputX.Size = new System.Drawing.Size(20, 13); - this.lblInputX.TabIndex = 9; - this.lblInputX.Text = "X :"; + this.lblInputHeight.Anchor = System.Windows.Forms.AnchorStyles.None; + this.lblInputHeight.AutoSize = true; + this.lblInputHeight.Location = new System.Drawing.Point(210, 6); + this.lblInputHeight.Name = "lblInputHeight"; + this.lblInputHeight.Size = new System.Drawing.Size(44, 13); + this.lblInputHeight.TabIndex = 15; + this.lblInputHeight.Text = "Height :"; + // + // txtbxInputHeight + // + this.txtbxInputHeight.Anchor = System.Windows.Forms.AnchorStyles.None; + this.txtbxInputHeight.BackColor = System.Drawing.SystemColors.Window; + this.txtbxInputHeight.Location = new System.Drawing.Point(260, 3); + this.txtbxInputHeight.Name = "txtbxInputHeight"; + this.txtbxInputHeight.ReadOnly = true; + this.txtbxInputHeight.Size = new System.Drawing.Size(30, 20); + this.txtbxInputHeight.TabIndex = 4; + // + // flowLayoutPanel1 + // + this.flowLayoutPanel1.Controls.Add(this.lblPointerNumber); + this.flowLayoutPanel1.Controls.Add(this.bttnPrevious); + this.flowLayoutPanel1.Controls.Add(this.txtbxPointerNumber); + this.flowLayoutPanel1.Controls.Add(this.bttnNext); + this.flowLayoutPanel1.Controls.Add(this.bttnNextUntranslated); + this.flowLayoutPanel1.Controls.Add(this.bttnNextUnsure); + this.flowLayoutPanel1.Controls.Add(this.lblRoom); + this.flowLayoutPanel1.Controls.Add(this.txtbxRoom); + this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.flowLayoutPanel1.Location = new System.Drawing.Point(3, 3); + this.flowLayoutPanel1.Name = "flowLayoutPanel1"; + this.flowLayoutPanel1.Size = new System.Drawing.Size(826, 24); + this.flowLayoutPanel1.TabIndex = 0; + // + // bttnNextUntranslated + // + this.bttnNextUntranslated.Enabled = false; + this.bttnNextUntranslated.Location = new System.Drawing.Point(170, 3); + this.bttnNextUntranslated.Name = "bttnNextUntranslated"; + this.bttnNextUntranslated.Size = new System.Drawing.Size(108, 22); + this.bttnNextUntranslated.TabIndex = 4; + this.bttnNextUntranslated.Text = "Next untranslated"; + this.bttnNextUntranslated.UseVisualStyleBackColor = true; + this.bttnNextUntranslated.Click += new System.EventHandler(this.bttnNextUntranslated_Click); + // + // bttnNextUnsure + // + this.bttnNextUnsure.Enabled = false; + this.bttnNextUnsure.Location = new System.Drawing.Point(284, 3); + this.bttnNextUnsure.Name = "bttnNextUnsure"; + this.bttnNextUnsure.Size = new System.Drawing.Size(76, 22); + this.bttnNextUnsure.TabIndex = 5; + this.bttnNextUnsure.Text = "Next unsure"; + this.bttnNextUnsure.UseVisualStyleBackColor = true; + this.bttnNextUnsure.Click += new System.EventHandler(this.bttnNextUnsure_Click); + // + // tableLayoutPanel1 + // + this.tableLayoutPanel1.ColumnCount = 1; + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel1.Controls.Add(this.flowLayoutPanel1, 0, 0); + this.tableLayoutPanel1.Controls.Add(this.grpbxInput, 0, 1); + this.tableLayoutPanel1.Controls.Add(this.grpbxOutput, 0, 2); + this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 24); + this.tableLayoutPanel1.Name = "tableLayoutPanel1"; + this.tableLayoutPanel1.RowCount = 3; + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tableLayoutPanel1.Size = new System.Drawing.Size(832, 587); + this.tableLayoutPanel1.TabIndex = 18; // // grpbxOutput // - this.grpbxOutput.Controls.Add(this.bttnResize); - this.grpbxOutput.Controls.Add(this.bttnReset); - this.grpbxOutput.Controls.Add(this.txtbxOutputHeight); - this.grpbxOutput.Controls.Add(this.txtbxOutputPtr); - this.grpbxOutput.Controls.Add(this.lblOutputHeight); - this.grpbxOutput.Controls.Add(this.txtbxOutputWidth); - this.grpbxOutput.Controls.Add(this.txtbxOutputY); - this.grpbxOutput.Controls.Add(this.lblOutputX); - this.grpbxOutput.Controls.Add(this.lblOutputWidth); - this.grpbxOutput.Controls.Add(this.txtbxOutputX); - this.grpbxOutput.Controls.Add(this.lblOutputY); - this.grpbxOutput.Location = new System.Drawing.Point(12, 279); + this.grpbxOutput.Controls.Add(this.tableLayoutPanel4); + this.grpbxOutput.Dock = System.Windows.Forms.DockStyle.Fill; + this.grpbxOutput.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.grpbxOutput.Location = new System.Drawing.Point(3, 311); this.grpbxOutput.Name = "grpbxOutput"; - this.grpbxOutput.Size = new System.Drawing.Size(608, 246); - this.grpbxOutput.TabIndex = 0; + this.grpbxOutput.Size = new System.Drawing.Size(826, 273); + this.grpbxOutput.TabIndex = 10; this.grpbxOutput.TabStop = false; this.grpbxOutput.Text = "Translated text"; // - // bttnResize - // - this.bttnResize.Enabled = false; - this.bttnResize.Location = new System.Drawing.Point(397, 13); - this.bttnResize.Name = "bttnResize"; - this.bttnResize.Size = new System.Drawing.Size(96, 20); - this.bttnResize.TabIndex = 5; - this.bttnResize.Text = "Resize window"; - this.bttnResize.UseVisualStyleBackColor = true; - this.bttnResize.Click += new System.EventHandler(this.bttnResize_Click); + // tableLayoutPanel4 + // + this.tableLayoutPanel4.ColumnCount = 2; + this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 330F)); + this.tableLayoutPanel4.Controls.Add(this.pnlOutput, 1, 0); + this.tableLayoutPanel4.Controls.Add(this.tableLayoutPanel5, 0, 0); + this.tableLayoutPanel4.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanel4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tableLayoutPanel4.Location = new System.Drawing.Point(3, 17); + this.tableLayoutPanel4.Name = "tableLayoutPanel4"; + this.tableLayoutPanel4.RowCount = 1; + this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel4.Size = new System.Drawing.Size(820, 253); + this.tableLayoutPanel4.TabIndex = 24; + // + // tableLayoutPanel5 + // + this.tableLayoutPanel5.ColumnCount = 1; + this.tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel5.Controls.Add(this.flowLayoutPanel3, 0, 0); + this.tableLayoutPanel5.Controls.Add(this.flowLayoutPanel4, 0, 1); + this.tableLayoutPanel5.Controls.Add(this.richEditOutputPtr, 0, 2); + this.tableLayoutPanel5.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanel5.Location = new System.Drawing.Point(3, 3); + this.tableLayoutPanel5.Name = "tableLayoutPanel5"; + this.tableLayoutPanel5.RowCount = 3; + this.tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F)); + this.tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F)); + this.tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel5.Size = new System.Drawing.Size(484, 247); + this.tableLayoutPanel5.TabIndex = 17; + // + // flowLayoutPanel3 + // + this.flowLayoutPanel3.Controls.Add(this.bttnReset); + this.flowLayoutPanel3.Controls.Add(this.bttnResize); + this.flowLayoutPanel3.Controls.Add(this.chkDone); + this.flowLayoutPanel3.Controls.Add(this.chkUnsure); + this.flowLayoutPanel3.Controls.Add(this.bttnComment); + this.flowLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill; + this.flowLayoutPanel3.Location = new System.Drawing.Point(3, 3); + this.flowLayoutPanel3.Name = "flowLayoutPanel3"; + this.flowLayoutPanel3.Size = new System.Drawing.Size(478, 24); + this.flowLayoutPanel3.TabIndex = 9; // // bttnReset // + this.bttnReset.Anchor = System.Windows.Forms.AnchorStyles.None; this.bttnReset.Enabled = false; - this.bttnReset.Location = new System.Drawing.Point(304, 13); + this.bttnReset.Location = new System.Drawing.Point(3, 3); this.bttnReset.Name = "bttnReset"; - this.bttnReset.Size = new System.Drawing.Size(87, 20); - this.bttnReset.TabIndex = 4; + this.bttnReset.Size = new System.Drawing.Size(87, 22); + this.bttnReset.TabIndex = 1; this.bttnReset.Text = "Reset pointer"; this.bttnReset.UseVisualStyleBackColor = true; this.bttnReset.Click += new System.EventHandler(this.bttnReset_Click); // - // txtbxOutputHeight - // - this.txtbxOutputHeight.Location = new System.Drawing.Point(268, 13); - this.txtbxOutputHeight.Name = "txtbxOutputHeight"; - this.txtbxOutputHeight.Size = new System.Drawing.Size(30, 20); - this.txtbxOutputHeight.TabIndex = 3; - this.txtbxOutputHeight.TextChanged += new System.EventHandler(this.txtbxOutput_TextChanged); - // - // txtbxOutputPtr - // - this.txtbxOutputPtr.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.txtbxOutputPtr.Location = new System.Drawing.Point(9, 39); - this.txtbxOutputPtr.MaxLength = 5000; - this.txtbxOutputPtr.Multiline = true; - this.txtbxOutputPtr.Name = "txtbxOutputPtr"; - this.txtbxOutputPtr.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; - this.txtbxOutputPtr.Size = new System.Drawing.Size(593, 201); - this.txtbxOutputPtr.TabIndex = 8; - this.txtbxOutputPtr.TextChanged += new System.EventHandler(this.txtbxOutput_TextChanged); - this.txtbxOutputPtr.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtbxOutputPtr_KeyPress); - // - // lblOutputHeight - // - this.lblOutputHeight.AutoSize = true; - this.lblOutputHeight.Location = new System.Drawing.Point(218, 16); - this.lblOutputHeight.Name = "lblOutputHeight"; - this.lblOutputHeight.Size = new System.Drawing.Size(44, 13); - this.lblOutputHeight.TabIndex = 23; - this.lblOutputHeight.Text = "Height :"; - // - // txtbxOutputWidth - // - this.txtbxOutputWidth.Location = new System.Drawing.Point(182, 13); - this.txtbxOutputWidth.Name = "txtbxOutputWidth"; - this.txtbxOutputWidth.Size = new System.Drawing.Size(30, 20); - this.txtbxOutputWidth.TabIndex = 2; - this.txtbxOutputWidth.TextChanged += new System.EventHandler(this.txtbxOutput_TextChanged); + // bttnResize // - // txtbxOutputY + this.bttnResize.Anchor = System.Windows.Forms.AnchorStyles.None; + this.bttnResize.Enabled = false; + this.bttnResize.Location = new System.Drawing.Point(96, 3); + this.bttnResize.Name = "bttnResize"; + this.bttnResize.Size = new System.Drawing.Size(96, 22); + this.bttnResize.TabIndex = 2; + this.bttnResize.Text = "Resize window"; + this.bttnResize.UseVisualStyleBackColor = true; + this.bttnResize.Click += new System.EventHandler(this.bttnResize_Click); // - this.txtbxOutputY.Location = new System.Drawing.Point(99, 13); - this.txtbxOutputY.Name = "txtbxOutputY"; - this.txtbxOutputY.Size = new System.Drawing.Size(30, 20); - this.txtbxOutputY.TabIndex = 1; - this.txtbxOutputY.TextChanged += new System.EventHandler(this.txtbxOutput_TextChanged); + // chkDone + // + this.chkDone.Anchor = System.Windows.Forms.AnchorStyles.None; + this.chkDone.AutoSize = true; + this.chkDone.Enabled = false; + this.chkDone.Location = new System.Drawing.Point(205, 5); + this.chkDone.Margin = new System.Windows.Forms.Padding(10, 3, 3, 3); + this.chkDone.Name = "chkDone"; + this.chkDone.Size = new System.Drawing.Size(52, 17); + this.chkDone.TabIndex = 3; + this.chkDone.Text = "Done"; + this.chkDone.UseVisualStyleBackColor = true; + this.chkDone.CheckedChanged += new System.EventHandler(this.chkbx_CheckedChanged); + // + // chkUnsure + // + this.chkUnsure.Anchor = System.Windows.Forms.AnchorStyles.None; + this.chkUnsure.AutoSize = true; + this.chkUnsure.Enabled = false; + this.chkUnsure.Location = new System.Drawing.Point(266, 5); + this.chkUnsure.Margin = new System.Windows.Forms.Padding(6, 3, 3, 3); + this.chkUnsure.Name = "chkUnsure"; + this.chkUnsure.Size = new System.Drawing.Size(60, 17); + this.chkUnsure.TabIndex = 4; + this.chkUnsure.Text = "Unsure"; + this.chkUnsure.UseVisualStyleBackColor = true; + this.chkUnsure.CheckedChanged += new System.EventHandler(this.chkbx_CheckedChanged); + // + // bttnComment + // + this.bttnComment.Enabled = false; + this.bttnComment.Location = new System.Drawing.Point(332, 3); + this.bttnComment.Name = "bttnComment"; + this.bttnComment.Size = new System.Drawing.Size(113, 22); + this.bttnComment.TabIndex = 5; + this.bttnComment.Text = "Add comment"; + this.bttnComment.UseVisualStyleBackColor = true; + this.bttnComment.Click += new System.EventHandler(this.bttnComment_Click); + // + // flowLayoutPanel4 + // + this.flowLayoutPanel4.Controls.Add(this.lblOutputX); + this.flowLayoutPanel4.Controls.Add(this.txtbxOutputX); + this.flowLayoutPanel4.Controls.Add(this.lblOutputY); + this.flowLayoutPanel4.Controls.Add(this.txtbxOutputY); + this.flowLayoutPanel4.Controls.Add(this.lblOutputWidth); + this.flowLayoutPanel4.Controls.Add(this.txtbxOutputWidth); + this.flowLayoutPanel4.Controls.Add(this.lblOutputHeight); + this.flowLayoutPanel4.Controls.Add(this.txtbxOutputHeight); + this.flowLayoutPanel4.Dock = System.Windows.Forms.DockStyle.Fill; + this.flowLayoutPanel4.Location = new System.Drawing.Point(3, 33); + this.flowLayoutPanel4.Name = "flowLayoutPanel4"; + this.flowLayoutPanel4.Size = new System.Drawing.Size(478, 24); + this.flowLayoutPanel4.TabIndex = 10; // // lblOutputX // + this.lblOutputX.Anchor = System.Windows.Forms.AnchorStyles.None; this.lblOutputX.AutoSize = true; - this.lblOutputX.Location = new System.Drawing.Point(11, 16); + this.lblOutputX.Location = new System.Drawing.Point(3, 6); this.lblOutputX.Name = "lblOutputX"; this.lblOutputX.Size = new System.Drawing.Size(20, 13); this.lblOutputX.TabIndex = 17; this.lblOutputX.Text = "X :"; // - // lblOutputWidth - // - this.lblOutputWidth.AutoSize = true; - this.lblOutputWidth.Location = new System.Drawing.Point(135, 16); - this.lblOutputWidth.Name = "lblOutputWidth"; - this.lblOutputWidth.Size = new System.Drawing.Size(41, 13); - this.lblOutputWidth.TabIndex = 21; - this.lblOutputWidth.Text = "Width :"; - // // txtbxOutputX // - this.txtbxOutputX.Location = new System.Drawing.Point(37, 13); + this.txtbxOutputX.Anchor = System.Windows.Forms.AnchorStyles.None; + this.txtbxOutputX.Enabled = false; + this.txtbxOutputX.Location = new System.Drawing.Point(29, 3); this.txtbxOutputX.Name = "txtbxOutputX"; this.txtbxOutputX.Size = new System.Drawing.Size(30, 20); - this.txtbxOutputX.TabIndex = 0; - this.txtbxOutputX.TextChanged += new System.EventHandler(this.txtbxOutput_TextChanged); + this.txtbxOutputX.TabIndex = 6; + this.txtbxOutputX.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtbxOutput_KeyPress); // // lblOutputY // + this.lblOutputY.Anchor = System.Windows.Forms.AnchorStyles.None; this.lblOutputY.AutoSize = true; - this.lblOutputY.Location = new System.Drawing.Point(73, 16); + this.lblOutputY.Location = new System.Drawing.Point(65, 6); this.lblOutputY.Name = "lblOutputY"; this.lblOutputY.Size = new System.Drawing.Size(20, 13); this.lblOutputY.TabIndex = 19; this.lblOutputY.Text = "Y :"; // - // tsmiTest + // txtbxOutputY + // + this.txtbxOutputY.Anchor = System.Windows.Forms.AnchorStyles.None; + this.txtbxOutputY.Enabled = false; + this.txtbxOutputY.Location = new System.Drawing.Point(91, 3); + this.txtbxOutputY.Name = "txtbxOutputY"; + this.txtbxOutputY.Size = new System.Drawing.Size(30, 20); + this.txtbxOutputY.TabIndex = 7; + this.txtbxOutputY.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtbxOutput_KeyPress); + // + // lblOutputWidth + // + this.lblOutputWidth.Anchor = System.Windows.Forms.AnchorStyles.None; + this.lblOutputWidth.AutoSize = true; + this.lblOutputWidth.Location = new System.Drawing.Point(127, 6); + this.lblOutputWidth.Name = "lblOutputWidth"; + this.lblOutputWidth.Size = new System.Drawing.Size(41, 13); + this.lblOutputWidth.TabIndex = 21; + this.lblOutputWidth.Text = "Width :"; + // + // txtbxOutputWidth + // + this.txtbxOutputWidth.Anchor = System.Windows.Forms.AnchorStyles.None; + this.txtbxOutputWidth.Enabled = false; + this.txtbxOutputWidth.Location = new System.Drawing.Point(174, 3); + this.txtbxOutputWidth.Name = "txtbxOutputWidth"; + this.txtbxOutputWidth.Size = new System.Drawing.Size(30, 20); + this.txtbxOutputWidth.TabIndex = 8; + this.txtbxOutputWidth.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtbxOutput_KeyPress); + // + // lblOutputHeight // - this.tsmiTest.AutoToolTip = true; - this.tsmiTest.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; - this.tsmiTest.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.lblOutputHeight.Anchor = System.Windows.Forms.AnchorStyles.None; + this.lblOutputHeight.AutoSize = true; + this.lblOutputHeight.Location = new System.Drawing.Point(210, 6); + this.lblOutputHeight.Name = "lblOutputHeight"; + this.lblOutputHeight.Size = new System.Drawing.Size(44, 13); + this.lblOutputHeight.TabIndex = 23; + this.lblOutputHeight.Text = "Height :"; + // + // txtbxOutputHeight + // + this.txtbxOutputHeight.Anchor = System.Windows.Forms.AnchorStyles.None; + this.txtbxOutputHeight.Enabled = false; + this.txtbxOutputHeight.Location = new System.Drawing.Point(260, 3); + this.txtbxOutputHeight.Name = "txtbxOutputHeight"; + this.txtbxOutputHeight.Size = new System.Drawing.Size(30, 20); + this.txtbxOutputHeight.TabIndex = 9; + this.txtbxOutputHeight.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtbxOutput_KeyPress); + // + // richEditOutputPtr + // + this.richEditOutputPtr.DetectUrls = false; + this.richEditOutputPtr.Dock = System.Windows.Forms.DockStyle.Fill; + this.richEditOutputPtr.Enabled = false; + this.richEditOutputPtr.Font = new System.Drawing.Font("MS PGothic", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(128))); + this.richEditOutputPtr.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.richEditOutputPtr.Location = new System.Drawing.Point(3, 63); + this.richEditOutputPtr.MaxLength = 5000; + this.richEditOutputPtr.Name = "richEditOutputPtr"; + this.richEditOutputPtr.Size = new System.Drawing.Size(478, 181); + this.richEditOutputPtr.TabIndex = 10; + this.richEditOutputPtr.Text = ""; + this.richEditOutputPtr.KeyDown += new System.Windows.Forms.KeyEventHandler(this.richEditOutputPtr_KeyDown); + this.richEditOutputPtr.SelectionChanged += new System.EventHandler(this.richEditOutputPtr_SelectionChanged); + this.richEditOutputPtr.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.richEditOutputPtr_KeyPress); + this.richEditOutputPtr.TextChanged += new System.EventHandler(this.richEditOutputPtr_TextChanged); + // + // fileToolStripMenuItem + // + this.fileToolStripMenuItem.AutoToolTip = true; + this.fileToolStripMenuItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; + this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.OpenMenuItem, this.SaveMenuItem, this.SaveAsMenuItem, this.ExitMenuItem}); - this.tsmiTest.Name = "tsmiTest"; - this.tsmiTest.ShortcutKeyDisplayString = ""; - this.tsmiTest.Size = new System.Drawing.Size(37, 20); - this.tsmiTest.Text = "&File"; + this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; + this.fileToolStripMenuItem.ShortcutKeyDisplayString = ""; + this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); + this.fileToolStripMenuItem.Text = "&File"; // // OpenMenuItem // @@ -383,7 +617,7 @@ namespace VPScriptEditor this.OpenMenuItem.Name = "OpenMenuItem"; this.OpenMenuItem.ShortcutKeyDisplayString = ""; this.OpenMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O))); - this.OpenMenuItem.Size = new System.Drawing.Size(152, 22); + this.OpenMenuItem.Size = new System.Drawing.Size(146, 22); this.OpenMenuItem.Text = "&Open"; this.OpenMenuItem.Click += new System.EventHandler(this.OpenMenuItem_Click); // @@ -393,7 +627,7 @@ namespace VPScriptEditor this.SaveMenuItem.Enabled = false; this.SaveMenuItem.Name = "SaveMenuItem"; this.SaveMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S))); - this.SaveMenuItem.Size = new System.Drawing.Size(152, 22); + this.SaveMenuItem.Size = new System.Drawing.Size(146, 22); this.SaveMenuItem.Text = "&Save"; this.SaveMenuItem.Click += new System.EventHandler(this.SaveMenuItem_Click); // @@ -402,7 +636,7 @@ namespace VPScriptEditor this.SaveAsMenuItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.SaveAsMenuItem.Enabled = false; this.SaveAsMenuItem.Name = "SaveAsMenuItem"; - this.SaveAsMenuItem.Size = new System.Drawing.Size(152, 22); + this.SaveAsMenuItem.Size = new System.Drawing.Size(146, 22); this.SaveAsMenuItem.Text = "S&ave as"; this.SaveAsMenuItem.Click += new System.EventHandler(this.SaveAsMenuItem_Click); // @@ -410,55 +644,147 @@ namespace VPScriptEditor // this.ExitMenuItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.ExitMenuItem.Name = "ExitMenuItem"; - this.ExitMenuItem.Size = new System.Drawing.Size(152, 22); + this.ExitMenuItem.Size = new System.Drawing.Size(146, 22); this.ExitMenuItem.Text = "E&xit"; this.ExitMenuItem.Click += new System.EventHandler(this.ExitMenuItem_Click); // // menu // this.menu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.tsmiTest}); + this.fileToolStripMenuItem, + this.editToolStripMenuItem, + this.aboutToolStripMenuItem}); this.menu.Location = new System.Drawing.Point(0, 0); this.menu.Name = "menu"; this.menu.RenderMode = System.Windows.Forms.ToolStripRenderMode.System; - this.menu.Size = new System.Drawing.Size(961, 24); + this.menu.Size = new System.Drawing.Size(832, 24); this.menu.TabIndex = 5; this.menu.Text = "MenuStrip1"; // - // pnlOutput + // editToolStripMenuItem // - this.pnlOutput.Location = new System.Drawing.Point(632, 284); - this.pnlOutput.Name = "pnlOutput"; - this.pnlOutput.Size = new System.Drawing.Size(320, 240); - this.pnlOutput.TabIndex = 16; - this.pnlOutput.Paint += new System.Windows.Forms.PaintEventHandler(this.pnlOutput_Paint); + this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.wordWarpToolStripMenuItem}); + this.editToolStripMenuItem.Name = "editToolStripMenuItem"; + this.editToolStripMenuItem.Size = new System.Drawing.Size(39, 20); + this.editToolStripMenuItem.Text = "&Edit"; + // + // wordWarpToolStripMenuItem + // + this.wordWarpToolStripMenuItem.Checked = true; + this.wordWarpToolStripMenuItem.CheckOnClick = true; + this.wordWarpToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked; + this.wordWarpToolStripMenuItem.Name = "wordWarpToolStripMenuItem"; + this.wordWarpToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.W))); + this.wordWarpToolStripMenuItem.Size = new System.Drawing.Size(177, 22); + this.wordWarpToolStripMenuItem.Text = "Word warp"; + this.wordWarpToolStripMenuItem.CheckedChanged += new System.EventHandler(this.wordWarpToolStripMenuItem_CheckedChanged); + // + // aboutToolStripMenuItem + // + this.aboutToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.aboutToolStripMenuItem1}); + this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem"; + this.aboutToolStripMenuItem.Size = new System.Drawing.Size(24, 20); + this.aboutToolStripMenuItem.Text = "&?"; + // + // aboutToolStripMenuItem1 + // + this.aboutToolStripMenuItem1.Name = "aboutToolStripMenuItem1"; + this.aboutToolStripMenuItem1.ShortcutKeys = System.Windows.Forms.Keys.F1; + this.aboutToolStripMenuItem1.Size = new System.Drawing.Size(126, 22); + this.aboutToolStripMenuItem1.Text = "&About"; + this.aboutToolStripMenuItem1.Click += new System.EventHandler(this.aboutToolStripMenuItem1_Click); + // + // statusStrip + // + this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.toolStripStatusLabel1, + this.lblStatusProgress}); + this.statusStrip.Location = new System.Drawing.Point(0, 611); + this.statusStrip.Name = "statusStrip"; + this.statusStrip.Size = new System.Drawing.Size(832, 22); + this.statusStrip.TabIndex = 17; + this.statusStrip.Text = "statusStrip1"; + // + // toolStripStatusLabel1 + // + this.toolStripStatusLabel1.Name = "toolStripStatusLabel1"; + this.toolStripStatusLabel1.Size = new System.Drawing.Size(408, 17); + this.toolStripStatusLabel1.Spring = true; + this.toolStripStatusLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // lblStatusProgress + // + this.lblStatusProgress.Name = "lblStatusProgress"; + this.lblStatusProgress.Size = new System.Drawing.Size(408, 17); + this.lblStatusProgress.Spring = true; + this.lblStatusProgress.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // pnlInput // - this.pnlInput.Location = new System.Drawing.Point(632, 33); + this.pnlInput.Anchor = System.Windows.Forms.AnchorStyles.None; + this.pnlInput.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlInput.Location = new System.Drawing.Point(495, 6); + this.pnlInput.MinimumSize = new System.Drawing.Size(320, 240); this.pnlInput.Name = "pnlInput"; this.pnlInput.Size = new System.Drawing.Size(320, 240); this.pnlInput.TabIndex = 15; this.pnlInput.Paint += new System.Windows.Forms.PaintEventHandler(this.pnlInput_Paint); // + // richEditInputPtr + // + this.richEditInputPtr.BackColor = System.Drawing.SystemColors.Window; + this.richEditInputPtr.DetectUrls = false; + this.richEditInputPtr.Dock = System.Windows.Forms.DockStyle.Fill; + this.richEditInputPtr.Font = new System.Drawing.Font("MS PGothic", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(128))); + this.richEditInputPtr.Location = new System.Drawing.Point(3, 33); + this.richEditInputPtr.Name = "richEditInputPtr"; + this.richEditInputPtr.Size = new System.Drawing.Size(478, 210); + this.richEditInputPtr.TabIndex = 5; + this.richEditInputPtr.Text = ""; + this.richEditInputPtr.SelectionChanged += new System.EventHandler(this.richEdit_SelectionChanged); + this.richEditInputPtr.TextChanged += new System.EventHandler(this.richEditInputPtr_TextChanged); + // + // pnlOutput + // + this.pnlOutput.Anchor = System.Windows.Forms.AnchorStyles.None; + this.pnlOutput.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlOutput.Location = new System.Drawing.Point(495, 6); + this.pnlOutput.MinimumSize = new System.Drawing.Size(320, 240); + this.pnlOutput.Name = "pnlOutput"; + this.pnlOutput.Size = new System.Drawing.Size(320, 240); + this.pnlOutput.TabIndex = 16; + this.pnlOutput.Paint += new System.Windows.Forms.PaintEventHandler(this.pnlOutput_Paint); + // // VPScriptEditor // - this.ClientSize = new System.Drawing.Size(961, 536); - this.Controls.Add(this.pnlOutput); - this.Controls.Add(this.pnlInput); - this.Controls.Add(this.grpbxOutput); - this.Controls.Add(this.grpbxInput); + this.ClientSize = new System.Drawing.Size(832, 633); + this.Controls.Add(this.tableLayoutPanel1); + this.Controls.Add(this.statusStrip); this.Controls.Add(this.menu); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MainMenuStrip = this.menu; this.Name = "VPScriptEditor"; - this.Text = "VPScriptEditor"; this.grpbxInput.ResumeLayout(false); - this.grpbxInput.PerformLayout(); + this.tableLayoutPanel2.ResumeLayout(false); + this.tableLayoutPanel3.ResumeLayout(false); + this.flowLayoutPanel2.ResumeLayout(false); + this.flowLayoutPanel2.PerformLayout(); + this.flowLayoutPanel1.ResumeLayout(false); + this.flowLayoutPanel1.PerformLayout(); + this.tableLayoutPanel1.ResumeLayout(false); this.grpbxOutput.ResumeLayout(false); - this.grpbxOutput.PerformLayout(); + this.tableLayoutPanel4.ResumeLayout(false); + this.tableLayoutPanel5.ResumeLayout(false); + this.flowLayoutPanel3.ResumeLayout(false); + this.flowLayoutPanel3.PerformLayout(); + this.flowLayoutPanel4.ResumeLayout(false); + this.flowLayoutPanel4.PerformLayout(); this.menu.ResumeLayout(false); this.menu.PerformLayout(); + this.statusStrip.ResumeLayout(false); + this.statusStrip.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); @@ -469,10 +795,10 @@ namespace VPScriptEditor private TextBox txtbxPointerNumber; private Button bttnPrevious; private Button bttnNext; - private TextBox txtbxInputPtr; + private CustomControl.MyRichTextBox richEditInputPtr; + private RichTextBox richEditOutputPtr; private GroupBox grpbxInput; private GroupBox grpbxOutput; - private TextBox txtbxOutputPtr; private Label lblInputX; private TextBox txtbxInputX; private TextBox txtbxInputY; @@ -493,12 +819,33 @@ namespace VPScriptEditor private Button bttnResize; private CustomControl.MyPanel pnlInput; private CustomControl.MyPanel pnlOutput; - private ToolStripMenuItem tsmiTest; + private ToolStripMenuItem fileToolStripMenuItem; private ToolStripMenuItem OpenMenuItem; private ToolStripMenuItem SaveMenuItem; private ToolStripMenuItem ExitMenuItem; private MenuStrip menu; - private ToolStripMenuItem SaveAsMenuItem; + private ToolStripMenuItem SaveAsMenuItem; + private StatusStrip statusStrip; + private TableLayoutPanel tableLayoutPanel1; + private TableLayoutPanel tableLayoutPanel2; + private TableLayoutPanel tableLayoutPanel3; + private FlowLayoutPanel flowLayoutPanel1; + private FlowLayoutPanel flowLayoutPanel2; + private TableLayoutPanel tableLayoutPanel4; + private TableLayoutPanel tableLayoutPanel5; + private FlowLayoutPanel flowLayoutPanel3; + private FlowLayoutPanel flowLayoutPanel4; + private ToolStripMenuItem editToolStripMenuItem; + private ToolStripMenuItem wordWarpToolStripMenuItem; + private ToolStripMenuItem aboutToolStripMenuItem; + private ToolStripMenuItem aboutToolStripMenuItem1; + private ToolStripStatusLabel toolStripStatusLabel1; + private CheckBox chkDone; + private CheckBox chkUnsure; + private Button bttnComment; + private ToolStripStatusLabel lblStatusProgress; + private Button bttnNextUntranslated; + private Button bttnNextUnsure; } } |