diff --git a/Dictionaries/eng_OCRFixReplaceList.xml b/Dictionaries/eng_OCRFixReplaceList.xml index c1f0efe54..be56b45f7 100644 --- a/Dictionaries/eng_OCRFixReplaceList.xml +++ b/Dictionaries/eng_OCRFixReplaceList.xml @@ -118,6 +118,7 @@ + @@ -245,6 +246,7 @@ + @@ -1102,6 +1104,7 @@ + diff --git a/LanguageMaster.xml b/LanguageMaster.xml index ae80385fd..1f2d032e5 100644 --- a/LanguageMaster.xml +++ b/LanguageMaster.xml @@ -2071,6 +2071,7 @@ Keep changes? Inspect compare matches for current image Inspect items Add better match + Add New folder diff --git a/libse/Language.cs b/libse/Language.cs index 23a185d1c..046d44538 100644 --- a/libse/Language.cs +++ b/libse/Language.cs @@ -2386,6 +2386,7 @@ Keep changes?", Title = "Inspect compare matches for current image", InspectItems = "Inspect items", AddBetterMatch = "Add better match", + Add = "Add", }; VobSubOcrNewFolder = new LanguageStructure.VobSubOcrNewFolder diff --git a/libse/LanguageDeserializer.cs b/libse/LanguageDeserializer.cs index f6176cbe4..ebe3cd5bc 100644 --- a/libse/LanguageDeserializer.cs +++ b/libse/LanguageDeserializer.cs @@ -5554,6 +5554,9 @@ namespace Nikse.SubtitleEdit.Core case "VobSubOcrCharacterInspect/AddBetterMatch": language.VobSubOcrCharacterInspect.AddBetterMatch = reader.Value; break; + case "VobSubOcrCharacterInspect/Add": + language.VobSubOcrCharacterInspect.Add = reader.Value; + break; case "VobSubOcrNewFolder/Title": language.VobSubOcrNewFolder.Title = reader.Value; break; diff --git a/libse/LanguageStructure.cs b/libse/LanguageStructure.cs index b457cd6de..e841e0e8f 100644 --- a/libse/LanguageStructure.cs +++ b/libse/LanguageStructure.cs @@ -2266,6 +2266,7 @@ public string Title { get; set; } public string InspectItems { get; set; } public string AddBetterMatch { get; set; } + public string Add { get; set; } } public class VobSubOcrNewFolder diff --git a/src/Forms/OCRSpellCheck.Designer.cs b/src/Forms/OCRSpellCheck.Designer.cs index 1288826c5..a70296f60 100644 --- a/src/Forms/OCRSpellCheck.Designer.cs +++ b/src/Forms/OCRSpellCheck.Designer.cs @@ -313,7 +313,7 @@ this.groupBoxText.Location = new System.Drawing.Point(12, 170); this.groupBoxText.Name = "groupBoxText"; this.groupBoxText.Size = new System.Drawing.Size(696, 72); - this.groupBoxText.TabIndex = 1; + this.groupBoxText.TabIndex = 500; this.groupBoxText.TabStop = false; this.groupBoxText.Text = "Text"; // @@ -325,7 +325,7 @@ this.richTextBoxParagraph.Name = "richTextBoxParagraph"; this.richTextBoxParagraph.ReadOnly = true; this.richTextBoxParagraph.Size = new System.Drawing.Size(296, 54); - this.richTextBoxParagraph.TabIndex = 0; + this.richTextBoxParagraph.TabIndex = 400; this.richTextBoxParagraph.Text = ""; // // buttonEditWholeText @@ -333,7 +333,7 @@ this.buttonEditWholeText.Location = new System.Drawing.Point(308, 17); this.buttonEditWholeText.Name = "buttonEditWholeText"; this.buttonEditWholeText.Size = new System.Drawing.Size(128, 21); - this.buttonEditWholeText.TabIndex = 1; + this.buttonEditWholeText.TabIndex = 401; this.buttonEditWholeText.Text = "Edit whole text"; this.buttonEditWholeText.UseVisualStyleBackColor = true; this.buttonEditWholeText.Click += new System.EventHandler(this.ButtonEditWholeTextClick); @@ -343,7 +343,7 @@ this.buttonEditWord.Location = new System.Drawing.Point(308, 43); this.buttonEditWord.Name = "buttonEditWord"; this.buttonEditWord.Size = new System.Drawing.Size(128, 21); - this.buttonEditWord.TabIndex = 2; + this.buttonEditWord.TabIndex = 402; this.buttonEditWord.Text = "Edit word"; this.buttonEditWord.UseVisualStyleBackColor = true; this.buttonEditWord.Click += new System.EventHandler(this.ButtonEditWordClick); diff --git a/src/Forms/OCRSpellCheck.cs b/src/Forms/OCRSpellCheck.cs index 3b482fca9..64688d245 100644 --- a/src/Forms/OCRSpellCheck.cs +++ b/src/Forms/OCRSpellCheck.cs @@ -245,7 +245,7 @@ namespace Nikse.SubtitleEdit.Forms private void TextBoxWordKeyDown(object sender, KeyEventArgs e) { - if (e.KeyCode == Keys.Enter) + if (e.KeyCode == Keys.Enter && buttonChange.Enabled) { ButtonChangeClick(null, null); e.SuppressKeyPress = true; diff --git a/src/Forms/VobSubOcr.cs b/src/Forms/VobSubOcr.cs index c9b6f120b..abfe89c44 100644 --- a/src/Forms/VobSubOcr.cs +++ b/src/Forms/VobSubOcr.cs @@ -1,5 +1,4 @@ -using System.Security.Cryptography.X509Certificates; -using Nikse.SubtitleEdit.Core; +using Nikse.SubtitleEdit.Core; using Nikse.SubtitleEdit.Core.BluRaySup; using Nikse.SubtitleEdit.Core.SubtitleFormats; using Nikse.SubtitleEdit.Core.TransportStream; diff --git a/src/Forms/VobSubOcrCharacterInspect.Designer.cs b/src/Forms/VobSubOcrCharacterInspect.Designer.cs index 11cf81e14..6fd46199d 100644 --- a/src/Forms/VobSubOcrCharacterInspect.Designer.cs +++ b/src/Forms/VobSubOcrCharacterInspect.Designer.cs @@ -90,7 +90,7 @@ // buttonAddBetterMatch // this.buttonAddBetterMatch.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.buttonAddBetterMatch.Location = new System.Drawing.Point(120, 98); + this.buttonAddBetterMatch.Location = new System.Drawing.Point(120, 89); this.buttonAddBetterMatch.Name = "buttonAddBetterMatch"; this.buttonAddBetterMatch.Size = new System.Drawing.Size(140, 21); this.buttonAddBetterMatch.TabIndex = 28; diff --git a/src/Forms/VobSubOcrCharacterInspect.cs b/src/Forms/VobSubOcrCharacterInspect.cs index 9ebe64e59..029795ae6 100644 --- a/src/Forms/VobSubOcrCharacterInspect.cs +++ b/src/Forms/VobSubOcrCharacterInspect.cs @@ -17,10 +17,10 @@ namespace Nikse.SubtitleEdit.Forms private List _matches; private List _imageSources; private string _directoryPath; - private XmlNode _selectedCompareNode = null; - private BinaryOcrBitmap _selectedCompareBinaryOcrBitmap = null; - private VobSubOcr.CompareMatch _selectedMatch = null; - private BinaryOcrDb _binOcrDb = null; + private XmlNode _selectedCompareNode; + private BinaryOcrBitmap _selectedCompareBinaryOcrBitmap; + private VobSubOcr.CompareMatch _selectedMatch; + private BinaryOcrDb _binOcrDb; public VobSubOcrCharacterInspect() { @@ -159,7 +159,7 @@ namespace Nikse.SubtitleEdit.Forms string name = node.InnerText; int pos = Convert.ToInt32(name); f.Position = pos; - ManagedBitmap mbmp = new ManagedBitmap(f); + var mbmp = new ManagedBitmap(f); var bitmap = mbmp.ToOldBitmap(); pictureBoxCompareBitmap.Image = bitmap; pictureBoxCompareBitmapDouble.Width = bitmap.Width * 2; @@ -181,7 +181,18 @@ namespace Nikse.SubtitleEdit.Forms } } - if (_selectedCompareNode == null && _selectedCompareBinaryOcrBitmap == null) + buttonAddBetterMatch.Text = Configuration.Settings.Language.VobSubOcrCharacterInspect.AddBetterMatch; + if (_selectedMatch.Text == Configuration.Settings.Language.VobSubOcr.NoMatch) + { + buttonUpdate.Enabled = false; + buttonDelete.Enabled = false; + buttonAddBetterMatch.Enabled = true; + buttonAddBetterMatch.Text = Configuration.Settings.Language.VobSubOcrCharacterInspect.Add; + textBoxText.Enabled = true; + textBoxText.Text = string.Empty; + checkBoxItalic.Enabled = true; + } + else if (_selectedCompareNode == null && _selectedCompareBinaryOcrBitmap == null) { buttonUpdate.Enabled = false; buttonDelete.Enabled = false; @@ -296,6 +307,33 @@ namespace Nikse.SubtitleEdit.Forms return; } + if (_selectedCompareBinaryOcrBitmap != null || (_binOcrDb != null && _selectedMatch.Text == Configuration.Settings.Language.VobSubOcr.NoMatch)) + { + var nbmp = new NikseBitmap((pictureBoxInspectItem.Image as Bitmap)); + int x = 0; + int y = 0; + if (_selectedMatch != null && _selectedMatch.ImageSplitterItem != null) + { + x = _selectedMatch.X; + y = _selectedMatch.Y; + } + var bob = new BinaryOcrBitmap(nbmp, checkBoxItalic.Checked, 0, textBoxText.Text, x, y); + _binOcrDb.Add(bob); + + int index = listBoxInspectItems.SelectedIndex; + _matches[index].Name = bob.Key; + _matches[index].ExpandCount = 0; + _matches[index].Italic = checkBoxItalic.Checked; + _matches[index].Text = textBoxText.Text; + listBoxInspectItems.Items.Clear(); + for (int i = 0; i < _matches.Count; i++) + listBoxInspectItems.Items.Add(_matches[i].Text); + listBoxInspectItems.SelectedIndex = index; + listBoxInspectItems_SelectedIndexChanged(null, null); + ShowCount(); + return; + } + if (_selectedCompareNode != null) { XmlNode newNode = ImageCompareDocument.CreateElement("Item"); @@ -305,7 +343,7 @@ namespace Nikse.SubtitleEdit.Forms string databaseName = Path.Combine(_directoryPath, "Images.db"); FileStream f; - long pos = 0; + long pos; if (!File.Exists(databaseName)) { using (f = new FileStream(databaseName, FileMode.Create)) @@ -340,39 +378,11 @@ namespace Nikse.SubtitleEdit.Forms ShowCount(); listBoxInspectItems_SelectedIndexChanged(null, null); } - else if (_selectedCompareBinaryOcrBitmap != null) - { - var nbmp = new NikseBitmap((pictureBoxInspectItem.Image as Bitmap)); - int x = 0; - int y = 0; - if (_selectedMatch != null && _selectedMatch.ImageSplitterItem != null) - { - x = _selectedMatch.X; - y = _selectedMatch.Y; - } - var bob = new BinaryOcrBitmap(nbmp, checkBoxItalic.Checked, 0, textBoxText.Text, x, y); - _binOcrDb.Add(bob); - - int index = listBoxInspectItems.SelectedIndex; - _matches[index].Name = bob.Key; - _matches[index].ExpandCount = 0; - _matches[index].Italic = checkBoxItalic.Checked; - _matches[index].Text = textBoxText.Text; - listBoxInspectItems.Items.Clear(); - for (int i = 0; i < _matches.Count; i++) - listBoxInspectItems.Items.Add(_matches[i].Text); - listBoxInspectItems.SelectedIndex = index; - listBoxInspectItems_SelectedIndexChanged(null, null); - ShowCount(); - } } private void ShowCount() { - if (listBoxInspectItems.Items.Count > 1) - labelCount.Text = listBoxInspectItems.Items.Count.ToString(); - else - labelCount.Text = string.Empty; + labelCount.Text = listBoxInspectItems.Items.Count > 1 ? listBoxInspectItems.Items.Count.ToString(CultureInfo.InvariantCulture) : string.Empty; } } diff --git a/src/Forms/VobSubOcrNOcrCharacter.Designer.cs b/src/Forms/VobSubOcrNOcrCharacter.Designer.cs index cb4984e5c..4600cb07f 100644 --- a/src/Forms/VobSubOcrNOcrCharacter.Designer.cs +++ b/src/Forms/VobSubOcrNOcrCharacter.Designer.cs @@ -36,29 +36,6 @@ this.pictureBoxCharacter = new System.Windows.Forms.PictureBox(); this.labelCharactersAsText = new System.Windows.Forms.Label(); this.textBoxCharacters = new System.Windows.Forms.TextBox(); - this.buttonOK = new System.Windows.Forms.Button(); - this.buttonCancel = new System.Windows.Forms.Button(); - this.labelSubtitleImage = new System.Windows.Forms.Label(); - this.pictureBoxSubtitleImage = new System.Windows.Forms.PictureBox(); - this.groupBoxNewInput = new System.Windows.Forms.GroupBox(); - this.label1 = new System.Windows.Forms.Label(); - this.label4 = new System.Windows.Forms.Label(); - this.label3 = new System.Windows.Forms.Label(); - this.checkBoxItalic = new System.Windows.Forms.CheckBox(); - this.buttonZoomOut = new System.Windows.Forms.Button(); - this.buttonZoomIn = new System.Windows.Forms.Button(); - this.groupBox2 = new System.Windows.Forms.GroupBox(); - this.radioButtonCold = new System.Windows.Forms.RadioButton(); - this.radioButtonHot = new System.Windows.Forms.RadioButton(); - this.label2 = new System.Windows.Forms.Label(); - this.listBoxlinesBackground = new System.Windows.Forms.ListBox(); - this.contextMenuStripLinesBackground = new System.Windows.Forms.ContextMenuStrip(this.components); - this.removeBackToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.labelLines = new System.Windows.Forms.Label(); - this.listBoxLinesForeground = new System.Windows.Forms.ListBox(); - this.contextMenuLinesForeground = new System.Windows.Forms.ContextMenuStrip(this.components); - this.removeForegroundToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.labelItalicOn = new System.Windows.Forms.Label(); this.contextMenuStripLetters = new System.Windows.Forms.ContextMenuStrip(this.components); this.latinToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.àToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); @@ -144,13 +121,36 @@ this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItemMusicSymbol1 = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItemMusicSymbol2 = new System.Windows.Forms.ToolStripMenuItem(); + this.buttonOK = new System.Windows.Forms.Button(); + this.buttonCancel = new System.Windows.Forms.Button(); + this.labelSubtitleImage = new System.Windows.Forms.Label(); + this.pictureBoxSubtitleImage = new System.Windows.Forms.PictureBox(); + this.groupBoxNewInput = new System.Windows.Forms.GroupBox(); + this.label1 = new System.Windows.Forms.Label(); + this.label4 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); + this.checkBoxItalic = new System.Windows.Forms.CheckBox(); + this.buttonZoomOut = new System.Windows.Forms.Button(); + this.buttonZoomIn = new System.Windows.Forms.Button(); + this.groupBox2 = new System.Windows.Forms.GroupBox(); + this.radioButtonCold = new System.Windows.Forms.RadioButton(); + this.radioButtonHot = new System.Windows.Forms.RadioButton(); + this.label2 = new System.Windows.Forms.Label(); + this.listBoxlinesBackground = new System.Windows.Forms.ListBox(); + this.contextMenuStripLinesBackground = new System.Windows.Forms.ContextMenuStrip(this.components); + this.removeBackToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.labelLines = new System.Windows.Forms.Label(); + this.listBoxLinesForeground = new System.Windows.Forms.ListBox(); + this.contextMenuLinesForeground = new System.Windows.Forms.ContextMenuStrip(this.components); + this.removeForegroundToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.labelItalicOn = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.pictureBoxCharacter)).BeginInit(); + this.contextMenuStripLetters.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBoxSubtitleImage)).BeginInit(); this.groupBoxNewInput.SuspendLayout(); this.groupBox2.SuspendLayout(); this.contextMenuStripLinesBackground.SuspendLayout(); this.contextMenuLinesForeground.SuspendLayout(); - this.contextMenuStripLetters.SuspendLayout(); this.SuspendLayout(); // // buttonShrinkSelection @@ -230,6 +230,684 @@ this.textBoxCharacters.TabIndex = 22; this.textBoxCharacters.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBoxCharacters_KeyDown); // + // contextMenuStripLetters + // + this.contextMenuStripLetters.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.latinToolStripMenuItem, + this.germanToolStripMenuItem, + this.nordicToolStripMenuItem, + this.portugueseToolStripMenuItem, + this.spanishToolStripMenuItem, + this.toolStripMenuItemMusicSymbol1, + this.toolStripMenuItemMusicSymbol2}); + this.contextMenuStripLetters.Name = "contextMenuStripLetters"; + this.contextMenuStripLetters.Size = new System.Drawing.Size(153, 180); + // + // latinToolStripMenuItem + // + this.latinToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.àToolStripMenuItem1, + this.àToolStripMenuItem, + this.éToolStripMenuItem3, + this.éToolStripMenuItem2, + this.èToolStripMenuItem1, + this.èToolStripMenuItem, + this.íToolStripMenuItem1, + this.íToolStripMenuItem, + this.ïToolStripMenuItem1, + this.ïToolStripMenuItem, + this.óToolStripMenuItem1, + this.óToolStripMenuItem, + this.òToolStripMenuItem, + this.òToolStripMenuItem1, + this.úToolStripMenuItem1, + this.úToolStripMenuItem, + this.üToolStripMenuItem2, + this.üToolStripMenuItem3, + this.çToolStripMenuItem1, + this.çToolStripMenuItem}); + this.latinToolStripMenuItem.Name = "latinToolStripMenuItem"; + this.latinToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.latinToolStripMenuItem.Text = "Catalan"; + // + // àToolStripMenuItem1 + // + this.àToolStripMenuItem1.Name = "àToolStripMenuItem1"; + this.àToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); + this.àToolStripMenuItem1.Text = "à"; + this.àToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); + // + // àToolStripMenuItem + // + this.àToolStripMenuItem.Name = "àToolStripMenuItem"; + this.àToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.àToolStripMenuItem.Text = "À"; + this.àToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); + // + // éToolStripMenuItem3 + // + this.éToolStripMenuItem3.Name = "éToolStripMenuItem3"; + this.éToolStripMenuItem3.Size = new System.Drawing.Size(152, 22); + this.éToolStripMenuItem3.Text = "é"; + this.éToolStripMenuItem3.Click += new System.EventHandler(this.InsertLetter); + // + // éToolStripMenuItem2 + // + this.éToolStripMenuItem2.Name = "éToolStripMenuItem2"; + this.éToolStripMenuItem2.Size = new System.Drawing.Size(152, 22); + this.éToolStripMenuItem2.Text = "É"; + this.éToolStripMenuItem2.Click += new System.EventHandler(this.InsertLetter); + // + // èToolStripMenuItem1 + // + this.èToolStripMenuItem1.Name = "èToolStripMenuItem1"; + this.èToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); + this.èToolStripMenuItem1.Text = "è"; + this.èToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); + // + // èToolStripMenuItem + // + this.èToolStripMenuItem.Name = "èToolStripMenuItem"; + this.èToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.èToolStripMenuItem.Text = "È"; + this.èToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); + // + // íToolStripMenuItem1 + // + this.íToolStripMenuItem1.Name = "íToolStripMenuItem1"; + this.íToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); + this.íToolStripMenuItem1.Text = "í"; + this.íToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); + // + // íToolStripMenuItem + // + this.íToolStripMenuItem.Name = "íToolStripMenuItem"; + this.íToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.íToolStripMenuItem.Text = "Í"; + this.íToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); + // + // ïToolStripMenuItem1 + // + this.ïToolStripMenuItem1.Name = "ïToolStripMenuItem1"; + this.ïToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); + this.ïToolStripMenuItem1.Text = "ï"; + this.ïToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); + // + // ïToolStripMenuItem + // + this.ïToolStripMenuItem.Name = "ïToolStripMenuItem"; + this.ïToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.ïToolStripMenuItem.Text = "Ï"; + this.ïToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); + // + // óToolStripMenuItem1 + // + this.óToolStripMenuItem1.Name = "óToolStripMenuItem1"; + this.óToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); + this.óToolStripMenuItem1.Text = "ó"; + this.óToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); + // + // óToolStripMenuItem + // + this.óToolStripMenuItem.Name = "óToolStripMenuItem"; + this.óToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.óToolStripMenuItem.Text = "Ó"; + this.óToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); + // + // òToolStripMenuItem + // + this.òToolStripMenuItem.Name = "òToolStripMenuItem"; + this.òToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.òToolStripMenuItem.Text = "ò"; + this.òToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); + // + // òToolStripMenuItem1 + // + this.òToolStripMenuItem1.Name = "òToolStripMenuItem1"; + this.òToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); + this.òToolStripMenuItem1.Text = "Ò"; + this.òToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); + // + // úToolStripMenuItem1 + // + this.úToolStripMenuItem1.Name = "úToolStripMenuItem1"; + this.úToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); + this.úToolStripMenuItem1.Text = "ú"; + this.úToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); + // + // úToolStripMenuItem + // + this.úToolStripMenuItem.Name = "úToolStripMenuItem"; + this.úToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.úToolStripMenuItem.Text = "Ú"; + this.úToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); + // + // üToolStripMenuItem2 + // + this.üToolStripMenuItem2.Name = "üToolStripMenuItem2"; + this.üToolStripMenuItem2.Size = new System.Drawing.Size(152, 22); + this.üToolStripMenuItem2.Text = "ü"; + this.üToolStripMenuItem2.Click += new System.EventHandler(this.InsertLetter); + // + // üToolStripMenuItem3 + // + this.üToolStripMenuItem3.Name = "üToolStripMenuItem3"; + this.üToolStripMenuItem3.Size = new System.Drawing.Size(152, 22); + this.üToolStripMenuItem3.Text = "Ü"; + this.üToolStripMenuItem3.Click += new System.EventHandler(this.InsertLetter); + // + // çToolStripMenuItem1 + // + this.çToolStripMenuItem1.Name = "çToolStripMenuItem1"; + this.çToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); + this.çToolStripMenuItem1.Text = "ç"; + this.çToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); + // + // çToolStripMenuItem + // + this.çToolStripMenuItem.Name = "çToolStripMenuItem"; + this.çToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.çToolStripMenuItem.Text = "Ç"; + this.çToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); + // + // germanToolStripMenuItem + // + this.germanToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.äToolStripMenuItem2, + this.äToolStripMenuItem3, + this.öToolStripMenuItem2, + this.öToolStripMenuItem3, + this.üToolStripMenuItem, + this.üToolStripMenuItem1, + this.ßToolStripMenuItem}); + this.germanToolStripMenuItem.Name = "germanToolStripMenuItem"; + this.germanToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.germanToolStripMenuItem.Text = "German"; + // + // äToolStripMenuItem2 + // + this.äToolStripMenuItem2.Name = "äToolStripMenuItem2"; + this.äToolStripMenuItem2.Size = new System.Drawing.Size(83, 22); + this.äToolStripMenuItem2.Text = "ä"; + this.äToolStripMenuItem2.Click += new System.EventHandler(this.InsertLetter); + // + // äToolStripMenuItem3 + // + this.äToolStripMenuItem3.Name = "äToolStripMenuItem3"; + this.äToolStripMenuItem3.Size = new System.Drawing.Size(83, 22); + this.äToolStripMenuItem3.Text = "Ä"; + this.äToolStripMenuItem3.Click += new System.EventHandler(this.InsertLetter); + // + // öToolStripMenuItem2 + // + this.öToolStripMenuItem2.Name = "öToolStripMenuItem2"; + this.öToolStripMenuItem2.Size = new System.Drawing.Size(83, 22); + this.öToolStripMenuItem2.Text = "ö"; + this.öToolStripMenuItem2.Click += new System.EventHandler(this.InsertLetter); + // + // öToolStripMenuItem3 + // + this.öToolStripMenuItem3.Name = "öToolStripMenuItem3"; + this.öToolStripMenuItem3.Size = new System.Drawing.Size(83, 22); + this.öToolStripMenuItem3.Text = "Ö"; + this.öToolStripMenuItem3.Click += new System.EventHandler(this.InsertLetter); + // + // üToolStripMenuItem + // + this.üToolStripMenuItem.Name = "üToolStripMenuItem"; + this.üToolStripMenuItem.Size = new System.Drawing.Size(83, 22); + this.üToolStripMenuItem.Text = "ü"; + this.üToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); + // + // üToolStripMenuItem1 + // + this.üToolStripMenuItem1.Name = "üToolStripMenuItem1"; + this.üToolStripMenuItem1.Size = new System.Drawing.Size(83, 22); + this.üToolStripMenuItem1.Text = "Ü"; + this.üToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); + // + // ßToolStripMenuItem + // + this.ßToolStripMenuItem.Name = "ßToolStripMenuItem"; + this.ßToolStripMenuItem.Size = new System.Drawing.Size(83, 22); + this.ßToolStripMenuItem.Text = "ß"; + this.ßToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); + // + // nordicToolStripMenuItem + // + this.nordicToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.aeToolStripMenuItem1, + this.AeToolStripMenuItem2, + this.øToolStripMenuItem, + this.øToolStripMenuItem1, + this.åToolStripMenuItem, + this.åToolStripMenuItem1, + this.äToolStripMenuItem, + this.äToolStripMenuItem1, + this.öToolStripMenuItem, + this.öToolStripMenuItem1}); + this.nordicToolStripMenuItem.Name = "nordicToolStripMenuItem"; + this.nordicToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.nordicToolStripMenuItem.Text = "Nordic"; + // + // aeToolStripMenuItem1 + // + this.aeToolStripMenuItem1.Name = "aeToolStripMenuItem1"; + this.aeToolStripMenuItem1.Size = new System.Drawing.Size(84, 22); + this.aeToolStripMenuItem1.Text = "æ"; + this.aeToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); + // + // AeToolStripMenuItem2 + // + this.AeToolStripMenuItem2.Name = "AeToolStripMenuItem2"; + this.AeToolStripMenuItem2.Size = new System.Drawing.Size(84, 22); + this.AeToolStripMenuItem2.Text = "Æ"; + this.AeToolStripMenuItem2.Click += new System.EventHandler(this.InsertLetter); + // + // øToolStripMenuItem + // + this.øToolStripMenuItem.Name = "øToolStripMenuItem"; + this.øToolStripMenuItem.Size = new System.Drawing.Size(84, 22); + this.øToolStripMenuItem.Text = "ø"; + this.øToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); + // + // øToolStripMenuItem1 + // + this.øToolStripMenuItem1.Name = "øToolStripMenuItem1"; + this.øToolStripMenuItem1.Size = new System.Drawing.Size(84, 22); + this.øToolStripMenuItem1.Text = "Ø"; + this.øToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); + // + // åToolStripMenuItem + // + this.åToolStripMenuItem.Name = "åToolStripMenuItem"; + this.åToolStripMenuItem.Size = new System.Drawing.Size(84, 22); + this.åToolStripMenuItem.Text = "å"; + this.åToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); + // + // åToolStripMenuItem1 + // + this.åToolStripMenuItem1.Name = "åToolStripMenuItem1"; + this.åToolStripMenuItem1.Size = new System.Drawing.Size(84, 22); + this.åToolStripMenuItem1.Text = "Å"; + this.åToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); + // + // äToolStripMenuItem + // + this.äToolStripMenuItem.Name = "äToolStripMenuItem"; + this.äToolStripMenuItem.Size = new System.Drawing.Size(84, 22); + this.äToolStripMenuItem.Text = "ä"; + this.äToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); + // + // äToolStripMenuItem1 + // + this.äToolStripMenuItem1.Name = "äToolStripMenuItem1"; + this.äToolStripMenuItem1.Size = new System.Drawing.Size(84, 22); + this.äToolStripMenuItem1.Text = "Ä"; + this.äToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); + // + // öToolStripMenuItem + // + this.öToolStripMenuItem.Name = "öToolStripMenuItem"; + this.öToolStripMenuItem.Size = new System.Drawing.Size(84, 22); + this.öToolStripMenuItem.Text = "ö"; + this.öToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); + // + // öToolStripMenuItem1 + // + this.öToolStripMenuItem1.Name = "öToolStripMenuItem1"; + this.öToolStripMenuItem1.Size = new System.Drawing.Size(84, 22); + this.öToolStripMenuItem1.Text = "Ö"; + this.öToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); + // + // portugueseToolStripMenuItem + // + this.portugueseToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ãToolStripMenuItem, + this.ãToolStripMenuItem1, + this.õToolStripMenuItem, + this.õToolStripMenuItem1, + this.áToolStripMenuItem2, + this.áToolStripMenuItem3, + this.éToolStripMenuItem4, + this.éToolStripMenuItem5, + this.íToolStripMenuItem2, + this.íToolStripMenuItem3, + this.óToolStripMenuItem2, + this.óToolStripMenuItem3, + this.úToolStripMenuItem2, + this.úToolStripMenuItem3, + this.âToolStripMenuItem, + this.âToolStripMenuItem1, + this.êToolStripMenuItem, + this.êToolStripMenuItem1, + this.ôToolStripMenuItem1, + this.ôToolStripMenuItem, + this.àToolStripMenuItem2, + this.àToolStripMenuItem3, + this.çToolStripMenuItem2, + this.çToolStripMenuItem3}); + this.portugueseToolStripMenuItem.Name = "portugueseToolStripMenuItem"; + this.portugueseToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.portugueseToolStripMenuItem.Text = "Portuguese"; + // + // ãToolStripMenuItem + // + this.ãToolStripMenuItem.Name = "ãToolStripMenuItem"; + this.ãToolStripMenuItem.Size = new System.Drawing.Size(83, 22); + this.ãToolStripMenuItem.Text = "ã"; + this.ãToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); + // + // ãToolStripMenuItem1 + // + this.ãToolStripMenuItem1.Name = "ãToolStripMenuItem1"; + this.ãToolStripMenuItem1.Size = new System.Drawing.Size(83, 22); + this.ãToolStripMenuItem1.Text = "Ã"; + this.ãToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); + // + // õToolStripMenuItem + // + this.õToolStripMenuItem.Name = "õToolStripMenuItem"; + this.õToolStripMenuItem.Size = new System.Drawing.Size(83, 22); + this.õToolStripMenuItem.Text = "õ"; + this.õToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); + // + // õToolStripMenuItem1 + // + this.õToolStripMenuItem1.Name = "õToolStripMenuItem1"; + this.õToolStripMenuItem1.Size = new System.Drawing.Size(83, 22); + this.õToolStripMenuItem1.Text = "Õ"; + this.õToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); + // + // áToolStripMenuItem2 + // + this.áToolStripMenuItem2.Name = "áToolStripMenuItem2"; + this.áToolStripMenuItem2.Size = new System.Drawing.Size(83, 22); + this.áToolStripMenuItem2.Text = "á"; + this.áToolStripMenuItem2.Click += new System.EventHandler(this.InsertLetter); + // + // áToolStripMenuItem3 + // + this.áToolStripMenuItem3.Name = "áToolStripMenuItem3"; + this.áToolStripMenuItem3.Size = new System.Drawing.Size(83, 22); + this.áToolStripMenuItem3.Text = "Á"; + this.áToolStripMenuItem3.Click += new System.EventHandler(this.InsertLetter); + // + // éToolStripMenuItem4 + // + this.éToolStripMenuItem4.Name = "éToolStripMenuItem4"; + this.éToolStripMenuItem4.Size = new System.Drawing.Size(83, 22); + this.éToolStripMenuItem4.Text = "é"; + this.éToolStripMenuItem4.Click += new System.EventHandler(this.InsertLetter); + // + // éToolStripMenuItem5 + // + this.éToolStripMenuItem5.Name = "éToolStripMenuItem5"; + this.éToolStripMenuItem5.Size = new System.Drawing.Size(83, 22); + this.éToolStripMenuItem5.Text = "É"; + this.éToolStripMenuItem5.Click += new System.EventHandler(this.InsertLetter); + // + // íToolStripMenuItem2 + // + this.íToolStripMenuItem2.Name = "íToolStripMenuItem2"; + this.íToolStripMenuItem2.Size = new System.Drawing.Size(83, 22); + this.íToolStripMenuItem2.Text = "í"; + this.íToolStripMenuItem2.Click += new System.EventHandler(this.InsertLetter); + // + // íToolStripMenuItem3 + // + this.íToolStripMenuItem3.Name = "íToolStripMenuItem3"; + this.íToolStripMenuItem3.Size = new System.Drawing.Size(83, 22); + this.íToolStripMenuItem3.Text = "Í"; + this.íToolStripMenuItem3.Click += new System.EventHandler(this.InsertLetter); + // + // óToolStripMenuItem2 + // + this.óToolStripMenuItem2.Name = "óToolStripMenuItem2"; + this.óToolStripMenuItem2.Size = new System.Drawing.Size(83, 22); + this.óToolStripMenuItem2.Text = "ó"; + this.óToolStripMenuItem2.Click += new System.EventHandler(this.InsertLetter); + // + // óToolStripMenuItem3 + // + this.óToolStripMenuItem3.Name = "óToolStripMenuItem3"; + this.óToolStripMenuItem3.Size = new System.Drawing.Size(83, 22); + this.óToolStripMenuItem3.Text = "Ó"; + this.óToolStripMenuItem3.Click += new System.EventHandler(this.InsertLetter); + // + // úToolStripMenuItem2 + // + this.úToolStripMenuItem2.Name = "úToolStripMenuItem2"; + this.úToolStripMenuItem2.Size = new System.Drawing.Size(83, 22); + this.úToolStripMenuItem2.Text = "ú"; + this.úToolStripMenuItem2.Click += new System.EventHandler(this.InsertLetter); + // + // úToolStripMenuItem3 + // + this.úToolStripMenuItem3.Name = "úToolStripMenuItem3"; + this.úToolStripMenuItem3.Size = new System.Drawing.Size(83, 22); + this.úToolStripMenuItem3.Text = "Ú"; + this.úToolStripMenuItem3.Click += new System.EventHandler(this.InsertLetter); + // + // âToolStripMenuItem + // + this.âToolStripMenuItem.Name = "âToolStripMenuItem"; + this.âToolStripMenuItem.Size = new System.Drawing.Size(83, 22); + this.âToolStripMenuItem.Text = "â"; + this.âToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); + // + // âToolStripMenuItem1 + // + this.âToolStripMenuItem1.Name = "âToolStripMenuItem1"; + this.âToolStripMenuItem1.Size = new System.Drawing.Size(83, 22); + this.âToolStripMenuItem1.Text = "Â"; + this.âToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); + // + // êToolStripMenuItem + // + this.êToolStripMenuItem.Name = "êToolStripMenuItem"; + this.êToolStripMenuItem.Size = new System.Drawing.Size(83, 22); + this.êToolStripMenuItem.Text = "ê"; + this.êToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); + // + // êToolStripMenuItem1 + // + this.êToolStripMenuItem1.Name = "êToolStripMenuItem1"; + this.êToolStripMenuItem1.Size = new System.Drawing.Size(83, 22); + this.êToolStripMenuItem1.Text = "Ê"; + this.êToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); + // + // ôToolStripMenuItem1 + // + this.ôToolStripMenuItem1.Name = "ôToolStripMenuItem1"; + this.ôToolStripMenuItem1.Size = new System.Drawing.Size(83, 22); + this.ôToolStripMenuItem1.Text = "ô"; + this.ôToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); + // + // ôToolStripMenuItem + // + this.ôToolStripMenuItem.Name = "ôToolStripMenuItem"; + this.ôToolStripMenuItem.Size = new System.Drawing.Size(83, 22); + this.ôToolStripMenuItem.Text = "Ô"; + this.ôToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); + // + // àToolStripMenuItem2 + // + this.àToolStripMenuItem2.Name = "àToolStripMenuItem2"; + this.àToolStripMenuItem2.Size = new System.Drawing.Size(83, 22); + this.àToolStripMenuItem2.Text = "à"; + this.àToolStripMenuItem2.Click += new System.EventHandler(this.InsertLetter); + // + // àToolStripMenuItem3 + // + this.àToolStripMenuItem3.Name = "àToolStripMenuItem3"; + this.àToolStripMenuItem3.Size = new System.Drawing.Size(83, 22); + this.àToolStripMenuItem3.Text = "À"; + this.àToolStripMenuItem3.Click += new System.EventHandler(this.InsertLetter); + // + // çToolStripMenuItem2 + // + this.çToolStripMenuItem2.Name = "çToolStripMenuItem2"; + this.çToolStripMenuItem2.Size = new System.Drawing.Size(83, 22); + this.çToolStripMenuItem2.Text = "ç"; + this.çToolStripMenuItem2.Click += new System.EventHandler(this.InsertLetter); + // + // çToolStripMenuItem3 + // + this.çToolStripMenuItem3.Name = "çToolStripMenuItem3"; + this.çToolStripMenuItem3.Size = new System.Drawing.Size(83, 22); + this.çToolStripMenuItem3.Text = "Ç"; + this.çToolStripMenuItem3.Click += new System.EventHandler(this.InsertLetter); + // + // spanishToolStripMenuItem + // + this.spanishToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.áToolStripMenuItem, + this.áToolStripMenuItem1, + this.éToolStripMenuItem, + this.éToolStripMenuItem1, + this.toolStripMenuItem1, + this.toolStripMenuItem6, + this.toolStripMenuItem4, + this.toolStripMenuItem7, + this.toolStripMenuItem5, + this.toolStripMenuItem8, + this.toolStripMenuItem9, + this.toolStripMenuItem10, + this.ñToolStripMenuItem, + this.ñToolStripMenuItem1, + this.toolStripMenuItem2, + this.toolStripMenuItem3}); + this.spanishToolStripMenuItem.Name = "spanishToolStripMenuItem"; + this.spanishToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.spanishToolStripMenuItem.Text = "Spanish"; + // + // áToolStripMenuItem + // + this.áToolStripMenuItem.Name = "áToolStripMenuItem"; + this.áToolStripMenuItem.Size = new System.Drawing.Size(83, 22); + this.áToolStripMenuItem.Text = "á"; + this.áToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); + // + // áToolStripMenuItem1 + // + this.áToolStripMenuItem1.Name = "áToolStripMenuItem1"; + this.áToolStripMenuItem1.Size = new System.Drawing.Size(83, 22); + this.áToolStripMenuItem1.Text = "Á"; + this.áToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); + // + // éToolStripMenuItem + // + this.éToolStripMenuItem.Name = "éToolStripMenuItem"; + this.éToolStripMenuItem.Size = new System.Drawing.Size(83, 22); + this.éToolStripMenuItem.Text = "é"; + this.éToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); + // + // éToolStripMenuItem1 + // + this.éToolStripMenuItem1.Name = "éToolStripMenuItem1"; + this.éToolStripMenuItem1.Size = new System.Drawing.Size(83, 22); + this.éToolStripMenuItem1.Text = "É"; + this.éToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); + // + // toolStripMenuItem1 + // + this.toolStripMenuItem1.Name = "toolStripMenuItem1"; + this.toolStripMenuItem1.Size = new System.Drawing.Size(83, 22); + this.toolStripMenuItem1.Text = "í"; + this.toolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); + // + // toolStripMenuItem6 + // + this.toolStripMenuItem6.Name = "toolStripMenuItem6"; + this.toolStripMenuItem6.Size = new System.Drawing.Size(83, 22); + this.toolStripMenuItem6.Text = "Í"; + this.toolStripMenuItem6.Click += new System.EventHandler(this.InsertLetter); + // + // toolStripMenuItem4 + // + this.toolStripMenuItem4.Name = "toolStripMenuItem4"; + this.toolStripMenuItem4.Size = new System.Drawing.Size(83, 22); + this.toolStripMenuItem4.Text = "ó"; + this.toolStripMenuItem4.Click += new System.EventHandler(this.InsertLetter); + // + // toolStripMenuItem7 + // + this.toolStripMenuItem7.Name = "toolStripMenuItem7"; + this.toolStripMenuItem7.Size = new System.Drawing.Size(83, 22); + this.toolStripMenuItem7.Text = "Ó"; + this.toolStripMenuItem7.Click += new System.EventHandler(this.InsertLetter); + // + // toolStripMenuItem5 + // + this.toolStripMenuItem5.Name = "toolStripMenuItem5"; + this.toolStripMenuItem5.Size = new System.Drawing.Size(83, 22); + this.toolStripMenuItem5.Text = "ú"; + this.toolStripMenuItem5.Click += new System.EventHandler(this.InsertLetter); + // + // toolStripMenuItem8 + // + this.toolStripMenuItem8.Name = "toolStripMenuItem8"; + this.toolStripMenuItem8.Size = new System.Drawing.Size(83, 22); + this.toolStripMenuItem8.Text = "Ú"; + this.toolStripMenuItem8.Click += new System.EventHandler(this.InsertLetter); + // + // toolStripMenuItem9 + // + this.toolStripMenuItem9.Name = "toolStripMenuItem9"; + this.toolStripMenuItem9.Size = new System.Drawing.Size(83, 22); + this.toolStripMenuItem9.Text = "ü"; + this.toolStripMenuItem9.Click += new System.EventHandler(this.InsertLetter); + // + // toolStripMenuItem10 + // + this.toolStripMenuItem10.Name = "toolStripMenuItem10"; + this.toolStripMenuItem10.Size = new System.Drawing.Size(83, 22); + this.toolStripMenuItem10.Text = "Ü"; + this.toolStripMenuItem10.Click += new System.EventHandler(this.InsertLetter); + // + // ñToolStripMenuItem + // + this.ñToolStripMenuItem.Name = "ñToolStripMenuItem"; + this.ñToolStripMenuItem.Size = new System.Drawing.Size(83, 22); + this.ñToolStripMenuItem.Text = "ñ"; + this.ñToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); + // + // ñToolStripMenuItem1 + // + this.ñToolStripMenuItem1.Name = "ñToolStripMenuItem1"; + this.ñToolStripMenuItem1.Size = new System.Drawing.Size(83, 22); + this.ñToolStripMenuItem1.Text = "Ñ"; + this.ñToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); + // + // toolStripMenuItem2 + // + this.toolStripMenuItem2.Name = "toolStripMenuItem2"; + this.toolStripMenuItem2.Size = new System.Drawing.Size(83, 22); + this.toolStripMenuItem2.Text = "¿"; + this.toolStripMenuItem2.Click += new System.EventHandler(this.InsertLetter); + // + // toolStripMenuItem3 + // + this.toolStripMenuItem3.Name = "toolStripMenuItem3"; + this.toolStripMenuItem3.Size = new System.Drawing.Size(83, 22); + this.toolStripMenuItem3.Text = "¡"; + this.toolStripMenuItem3.Click += new System.EventHandler(this.InsertLetter); + // + // toolStripMenuItemMusicSymbol1 + // + this.toolStripMenuItemMusicSymbol1.Name = "toolStripMenuItemMusicSymbol1"; + this.toolStripMenuItemMusicSymbol1.Size = new System.Drawing.Size(152, 22); + this.toolStripMenuItemMusicSymbol1.Text = "♪"; + this.toolStripMenuItemMusicSymbol1.Click += new System.EventHandler(this.toolStripMenuItemMusicSymbol1_Click); + // + // toolStripMenuItemMusicSymbol2 + // + this.toolStripMenuItemMusicSymbol2.Name = "toolStripMenuItemMusicSymbol2"; + this.toolStripMenuItemMusicSymbol2.Size = new System.Drawing.Size(152, 22); + this.toolStripMenuItemMusicSymbol2.Text = "♫"; + this.toolStripMenuItemMusicSymbol2.Click += new System.EventHandler(this.toolStripMenuItemMusicSymbol2_Click); + // // buttonOK // this.buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); @@ -470,682 +1148,6 @@ this.labelItalicOn.TabIndex = 34; this.labelItalicOn.Text = "Italic"; // - // contextMenuStripLetters - // - this.contextMenuStripLetters.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.latinToolStripMenuItem, - this.germanToolStripMenuItem, - this.nordicToolStripMenuItem, - this.portugueseToolStripMenuItem, - this.spanishToolStripMenuItem, - this.toolStripMenuItemMusicSymbol1, - this.toolStripMenuItemMusicSymbol2}); - this.contextMenuStripLetters.Name = "contextMenuStripLetters"; - this.contextMenuStripLetters.Size = new System.Drawing.Size(135, 158); - // - // latinToolStripMenuItem - // - this.latinToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.àToolStripMenuItem1, - this.àToolStripMenuItem, - this.éToolStripMenuItem3, - this.éToolStripMenuItem2, - this.èToolStripMenuItem1, - this.èToolStripMenuItem, - this.íToolStripMenuItem1, - this.íToolStripMenuItem, - this.ïToolStripMenuItem1, - this.ïToolStripMenuItem, - this.óToolStripMenuItem1, - this.óToolStripMenuItem, - this.òToolStripMenuItem, - this.òToolStripMenuItem1, - this.úToolStripMenuItem1, - this.úToolStripMenuItem, - this.üToolStripMenuItem2, - this.üToolStripMenuItem3, - this.çToolStripMenuItem1, - this.çToolStripMenuItem}); - this.latinToolStripMenuItem.Name = "latinToolStripMenuItem"; - this.latinToolStripMenuItem.Size = new System.Drawing.Size(134, 22); - this.latinToolStripMenuItem.Text = "Catalan"; - // - // àToolStripMenuItem1 - // - this.àToolStripMenuItem1.Name = "àToolStripMenuItem1"; - this.àToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); - this.àToolStripMenuItem1.Text = "à"; - this.àToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); - // - // àToolStripMenuItem - // - this.àToolStripMenuItem.Name = "àToolStripMenuItem"; - this.àToolStripMenuItem.Size = new System.Drawing.Size(152, 22); - this.àToolStripMenuItem.Text = "À"; - this.àToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); - // - // éToolStripMenuItem3 - // - this.éToolStripMenuItem3.Name = "éToolStripMenuItem3"; - this.éToolStripMenuItem3.Size = new System.Drawing.Size(152, 22); - this.éToolStripMenuItem3.Text = "é"; - this.éToolStripMenuItem3.Click += new System.EventHandler(this.InsertLetter); - // - // éToolStripMenuItem2 - // - this.éToolStripMenuItem2.Name = "éToolStripMenuItem2"; - this.éToolStripMenuItem2.Size = new System.Drawing.Size(152, 22); - this.éToolStripMenuItem2.Text = "É"; - this.éToolStripMenuItem2.Click += new System.EventHandler(this.InsertLetter); - // - // èToolStripMenuItem1 - // - this.èToolStripMenuItem1.Name = "èToolStripMenuItem1"; - this.èToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); - this.èToolStripMenuItem1.Text = "è"; - this.èToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); - // - // èToolStripMenuItem - // - this.èToolStripMenuItem.Name = "èToolStripMenuItem"; - this.èToolStripMenuItem.Size = new System.Drawing.Size(152, 22); - this.èToolStripMenuItem.Text = "È"; - this.èToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); - // - // íToolStripMenuItem1 - // - this.íToolStripMenuItem1.Name = "íToolStripMenuItem1"; - this.íToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); - this.íToolStripMenuItem1.Text = "í"; - this.íToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); - // - // íToolStripMenuItem - // - this.íToolStripMenuItem.Name = "íToolStripMenuItem"; - this.íToolStripMenuItem.Size = new System.Drawing.Size(152, 22); - this.íToolStripMenuItem.Text = "Í"; - this.íToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); - // - // ïToolStripMenuItem1 - // - this.ïToolStripMenuItem1.Name = "ïToolStripMenuItem1"; - this.ïToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); - this.ïToolStripMenuItem1.Text = "ï"; - this.ïToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); - // - // ïToolStripMenuItem - // - this.ïToolStripMenuItem.Name = "ïToolStripMenuItem"; - this.ïToolStripMenuItem.Size = new System.Drawing.Size(152, 22); - this.ïToolStripMenuItem.Text = "Ï"; - this.ïToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); - // - // óToolStripMenuItem1 - // - this.óToolStripMenuItem1.Name = "óToolStripMenuItem1"; - this.óToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); - this.óToolStripMenuItem1.Text = "ó"; - this.óToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); - // - // óToolStripMenuItem - // - this.óToolStripMenuItem.Name = "óToolStripMenuItem"; - this.óToolStripMenuItem.Size = new System.Drawing.Size(152, 22); - this.óToolStripMenuItem.Text = "Ó"; - this.óToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); - // - // òToolStripMenuItem - // - this.òToolStripMenuItem.Name = "òToolStripMenuItem"; - this.òToolStripMenuItem.Size = new System.Drawing.Size(152, 22); - this.òToolStripMenuItem.Text = "ò"; - this.òToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); - // - // òToolStripMenuItem1 - // - this.òToolStripMenuItem1.Name = "òToolStripMenuItem1"; - this.òToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); - this.òToolStripMenuItem1.Text = "Ò"; - this.òToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); - // - // úToolStripMenuItem1 - // - this.úToolStripMenuItem1.Name = "úToolStripMenuItem1"; - this.úToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); - this.úToolStripMenuItem1.Text = "ú"; - this.úToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); - // - // úToolStripMenuItem - // - this.úToolStripMenuItem.Name = "úToolStripMenuItem"; - this.úToolStripMenuItem.Size = new System.Drawing.Size(152, 22); - this.úToolStripMenuItem.Text = "Ú"; - this.úToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); - // - // üToolStripMenuItem2 - // - this.üToolStripMenuItem2.Name = "üToolStripMenuItem2"; - this.üToolStripMenuItem2.Size = new System.Drawing.Size(152, 22); - this.üToolStripMenuItem2.Text = "ü"; - this.üToolStripMenuItem2.Click += new System.EventHandler(this.InsertLetter); - // - // üToolStripMenuItem3 - // - this.üToolStripMenuItem3.Name = "üToolStripMenuItem3"; - this.üToolStripMenuItem3.Size = new System.Drawing.Size(152, 22); - this.üToolStripMenuItem3.Text = "Ü"; - this.üToolStripMenuItem3.Click += new System.EventHandler(this.InsertLetter); - // - // çToolStripMenuItem1 - // - this.çToolStripMenuItem1.Name = "çToolStripMenuItem1"; - this.çToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); - this.çToolStripMenuItem1.Text = "ç"; - this.çToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); - // - // çToolStripMenuItem - // - this.çToolStripMenuItem.Name = "çToolStripMenuItem"; - this.çToolStripMenuItem.Size = new System.Drawing.Size(152, 22); - this.çToolStripMenuItem.Text = "Ç"; - this.çToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); - // - // germanToolStripMenuItem - // - this.germanToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.äToolStripMenuItem2, - this.äToolStripMenuItem3, - this.öToolStripMenuItem2, - this.öToolStripMenuItem3, - this.üToolStripMenuItem, - this.üToolStripMenuItem1, - this.ßToolStripMenuItem}); - this.germanToolStripMenuItem.Name = "germanToolStripMenuItem"; - this.germanToolStripMenuItem.Size = new System.Drawing.Size(134, 22); - this.germanToolStripMenuItem.Text = "German"; - // - // äToolStripMenuItem2 - // - this.äToolStripMenuItem2.Name = "äToolStripMenuItem2"; - this.äToolStripMenuItem2.Size = new System.Drawing.Size(152, 22); - this.äToolStripMenuItem2.Text = "ä"; - this.äToolStripMenuItem2.Click += new System.EventHandler(this.InsertLetter); - // - // äToolStripMenuItem3 - // - this.äToolStripMenuItem3.Name = "äToolStripMenuItem3"; - this.äToolStripMenuItem3.Size = new System.Drawing.Size(152, 22); - this.äToolStripMenuItem3.Text = "Ä"; - this.äToolStripMenuItem3.Click += new System.EventHandler(this.InsertLetter); - // - // öToolStripMenuItem2 - // - this.öToolStripMenuItem2.Name = "öToolStripMenuItem2"; - this.öToolStripMenuItem2.Size = new System.Drawing.Size(152, 22); - this.öToolStripMenuItem2.Text = "ö"; - this.öToolStripMenuItem2.Click += new System.EventHandler(this.InsertLetter); - // - // öToolStripMenuItem3 - // - this.öToolStripMenuItem3.Name = "öToolStripMenuItem3"; - this.öToolStripMenuItem3.Size = new System.Drawing.Size(152, 22); - this.öToolStripMenuItem3.Text = "Ö"; - this.öToolStripMenuItem3.Click += new System.EventHandler(this.InsertLetter); - // - // üToolStripMenuItem - // - this.üToolStripMenuItem.Name = "üToolStripMenuItem"; - this.üToolStripMenuItem.Size = new System.Drawing.Size(152, 22); - this.üToolStripMenuItem.Text = "ü"; - this.üToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); - // - // üToolStripMenuItem1 - // - this.üToolStripMenuItem1.Name = "üToolStripMenuItem1"; - this.üToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); - this.üToolStripMenuItem1.Text = "Ü"; - this.üToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); - // - // ßToolStripMenuItem - // - this.ßToolStripMenuItem.Name = "ßToolStripMenuItem"; - this.ßToolStripMenuItem.Size = new System.Drawing.Size(152, 22); - this.ßToolStripMenuItem.Text = "ß"; - this.ßToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); - // - // nordicToolStripMenuItem - // - this.nordicToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.aeToolStripMenuItem1, - this.AeToolStripMenuItem2, - this.øToolStripMenuItem, - this.øToolStripMenuItem1, - this.åToolStripMenuItem, - this.åToolStripMenuItem1, - this.äToolStripMenuItem, - this.äToolStripMenuItem1, - this.öToolStripMenuItem, - this.öToolStripMenuItem1}); - this.nordicToolStripMenuItem.Name = "nordicToolStripMenuItem"; - this.nordicToolStripMenuItem.Size = new System.Drawing.Size(134, 22); - this.nordicToolStripMenuItem.Text = "Nordic"; - // - // aeToolStripMenuItem1 - // - this.aeToolStripMenuItem1.Name = "aeToolStripMenuItem1"; - this.aeToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); - this.aeToolStripMenuItem1.Text = "æ"; - this.aeToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); - // - // AeToolStripMenuItem2 - // - this.AeToolStripMenuItem2.Name = "AeToolStripMenuItem2"; - this.AeToolStripMenuItem2.Size = new System.Drawing.Size(152, 22); - this.AeToolStripMenuItem2.Text = "Æ"; - this.AeToolStripMenuItem2.Click += new System.EventHandler(this.InsertLetter); - // - // øToolStripMenuItem - // - this.øToolStripMenuItem.Name = "øToolStripMenuItem"; - this.øToolStripMenuItem.Size = new System.Drawing.Size(152, 22); - this.øToolStripMenuItem.Text = "ø"; - this.øToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); - // - // øToolStripMenuItem1 - // - this.øToolStripMenuItem1.Name = "øToolStripMenuItem1"; - this.øToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); - this.øToolStripMenuItem1.Text = "Ø"; - this.øToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); - // - // åToolStripMenuItem - // - this.åToolStripMenuItem.Name = "åToolStripMenuItem"; - this.åToolStripMenuItem.Size = new System.Drawing.Size(152, 22); - this.åToolStripMenuItem.Text = "å"; - this.åToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); - // - // åToolStripMenuItem1 - // - this.åToolStripMenuItem1.Name = "åToolStripMenuItem1"; - this.åToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); - this.åToolStripMenuItem1.Text = "Å"; - this.åToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); - // - // äToolStripMenuItem - // - this.äToolStripMenuItem.Name = "äToolStripMenuItem"; - this.äToolStripMenuItem.Size = new System.Drawing.Size(152, 22); - this.äToolStripMenuItem.Text = "ä"; - this.äToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); - // - // äToolStripMenuItem1 - // - this.äToolStripMenuItem1.Name = "äToolStripMenuItem1"; - this.äToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); - this.äToolStripMenuItem1.Text = "Ä"; - this.äToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); - // - // öToolStripMenuItem - // - this.öToolStripMenuItem.Name = "öToolStripMenuItem"; - this.öToolStripMenuItem.Size = new System.Drawing.Size(152, 22); - this.öToolStripMenuItem.Text = "ö"; - this.öToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); - // - // öToolStripMenuItem1 - // - this.öToolStripMenuItem1.Name = "öToolStripMenuItem1"; - this.öToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); - this.öToolStripMenuItem1.Text = "Ö"; - this.öToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); - // - // portugueseToolStripMenuItem - // - this.portugueseToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.ãToolStripMenuItem, - this.ãToolStripMenuItem1, - this.õToolStripMenuItem, - this.õToolStripMenuItem1, - this.áToolStripMenuItem2, - this.áToolStripMenuItem3, - this.éToolStripMenuItem4, - this.éToolStripMenuItem5, - this.íToolStripMenuItem2, - this.íToolStripMenuItem3, - this.óToolStripMenuItem2, - this.óToolStripMenuItem3, - this.úToolStripMenuItem2, - this.úToolStripMenuItem3, - this.âToolStripMenuItem, - this.âToolStripMenuItem1, - this.êToolStripMenuItem, - this.êToolStripMenuItem1, - this.ôToolStripMenuItem1, - this.ôToolStripMenuItem, - this.àToolStripMenuItem2, - this.àToolStripMenuItem3, - this.çToolStripMenuItem2, - this.çToolStripMenuItem3}); - this.portugueseToolStripMenuItem.Name = "portugueseToolStripMenuItem"; - this.portugueseToolStripMenuItem.Size = new System.Drawing.Size(134, 22); - this.portugueseToolStripMenuItem.Text = "Portuguese"; - // - // ãToolStripMenuItem - // - this.ãToolStripMenuItem.Name = "ãToolStripMenuItem"; - this.ãToolStripMenuItem.Size = new System.Drawing.Size(152, 22); - this.ãToolStripMenuItem.Text = "ã"; - this.ãToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); - // - // ãToolStripMenuItem1 - // - this.ãToolStripMenuItem1.Name = "ãToolStripMenuItem1"; - this.ãToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); - this.ãToolStripMenuItem1.Text = "Ã"; - this.ãToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); - // - // õToolStripMenuItem - // - this.õToolStripMenuItem.Name = "õToolStripMenuItem"; - this.õToolStripMenuItem.Size = new System.Drawing.Size(152, 22); - this.õToolStripMenuItem.Text = "õ"; - this.õToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); - // - // õToolStripMenuItem1 - // - this.õToolStripMenuItem1.Name = "õToolStripMenuItem1"; - this.õToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); - this.õToolStripMenuItem1.Text = "Õ"; - this.õToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); - // - // áToolStripMenuItem2 - // - this.áToolStripMenuItem2.Name = "áToolStripMenuItem2"; - this.áToolStripMenuItem2.Size = new System.Drawing.Size(152, 22); - this.áToolStripMenuItem2.Text = "á"; - this.áToolStripMenuItem2.Click += new System.EventHandler(this.InsertLetter); - // - // áToolStripMenuItem3 - // - this.áToolStripMenuItem3.Name = "áToolStripMenuItem3"; - this.áToolStripMenuItem3.Size = new System.Drawing.Size(152, 22); - this.áToolStripMenuItem3.Text = "Á"; - this.áToolStripMenuItem3.Click += new System.EventHandler(this.InsertLetter); - // - // éToolStripMenuItem4 - // - this.éToolStripMenuItem4.Name = "éToolStripMenuItem4"; - this.éToolStripMenuItem4.Size = new System.Drawing.Size(152, 22); - this.éToolStripMenuItem4.Text = "é"; - this.éToolStripMenuItem4.Click += new System.EventHandler(this.InsertLetter); - // - // éToolStripMenuItem5 - // - this.éToolStripMenuItem5.Name = "éToolStripMenuItem5"; - this.éToolStripMenuItem5.Size = new System.Drawing.Size(152, 22); - this.éToolStripMenuItem5.Text = "É"; - this.éToolStripMenuItem5.Click += new System.EventHandler(this.InsertLetter); - // - // íToolStripMenuItem2 - // - this.íToolStripMenuItem2.Name = "íToolStripMenuItem2"; - this.íToolStripMenuItem2.Size = new System.Drawing.Size(152, 22); - this.íToolStripMenuItem2.Text = "í"; - this.íToolStripMenuItem2.Click += new System.EventHandler(this.InsertLetter); - // - // íToolStripMenuItem3 - // - this.íToolStripMenuItem3.Name = "íToolStripMenuItem3"; - this.íToolStripMenuItem3.Size = new System.Drawing.Size(152, 22); - this.íToolStripMenuItem3.Text = "Í"; - this.íToolStripMenuItem3.Click += new System.EventHandler(this.InsertLetter); - // - // óToolStripMenuItem2 - // - this.óToolStripMenuItem2.Name = "óToolStripMenuItem2"; - this.óToolStripMenuItem2.Size = new System.Drawing.Size(152, 22); - this.óToolStripMenuItem2.Text = "ó"; - this.óToolStripMenuItem2.Click += new System.EventHandler(this.InsertLetter); - // - // óToolStripMenuItem3 - // - this.óToolStripMenuItem3.Name = "óToolStripMenuItem3"; - this.óToolStripMenuItem3.Size = new System.Drawing.Size(152, 22); - this.óToolStripMenuItem3.Text = "Ó"; - this.óToolStripMenuItem3.Click += new System.EventHandler(this.InsertLetter); - // - // úToolStripMenuItem2 - // - this.úToolStripMenuItem2.Name = "úToolStripMenuItem2"; - this.úToolStripMenuItem2.Size = new System.Drawing.Size(152, 22); - this.úToolStripMenuItem2.Text = "ú"; - this.úToolStripMenuItem2.Click += new System.EventHandler(this.InsertLetter); - // - // úToolStripMenuItem3 - // - this.úToolStripMenuItem3.Name = "úToolStripMenuItem3"; - this.úToolStripMenuItem3.Size = new System.Drawing.Size(152, 22); - this.úToolStripMenuItem3.Text = "Ú"; - this.úToolStripMenuItem3.Click += new System.EventHandler(this.InsertLetter); - // - // âToolStripMenuItem - // - this.âToolStripMenuItem.Name = "âToolStripMenuItem"; - this.âToolStripMenuItem.Size = new System.Drawing.Size(152, 22); - this.âToolStripMenuItem.Text = "â"; - this.âToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); - // - // âToolStripMenuItem1 - // - this.âToolStripMenuItem1.Name = "âToolStripMenuItem1"; - this.âToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); - this.âToolStripMenuItem1.Text = "Â"; - this.âToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); - // - // êToolStripMenuItem - // - this.êToolStripMenuItem.Name = "êToolStripMenuItem"; - this.êToolStripMenuItem.Size = new System.Drawing.Size(152, 22); - this.êToolStripMenuItem.Text = "ê"; - this.êToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); - // - // êToolStripMenuItem1 - // - this.êToolStripMenuItem1.Name = "êToolStripMenuItem1"; - this.êToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); - this.êToolStripMenuItem1.Text = "Ê"; - this.êToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); - // - // ôToolStripMenuItem1 - // - this.ôToolStripMenuItem1.Name = "ôToolStripMenuItem1"; - this.ôToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); - this.ôToolStripMenuItem1.Text = "ô"; - this.ôToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); - // - // ôToolStripMenuItem - // - this.ôToolStripMenuItem.Name = "ôToolStripMenuItem"; - this.ôToolStripMenuItem.Size = new System.Drawing.Size(152, 22); - this.ôToolStripMenuItem.Text = "Ô"; - this.ôToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); - // - // àToolStripMenuItem2 - // - this.àToolStripMenuItem2.Name = "àToolStripMenuItem2"; - this.àToolStripMenuItem2.Size = new System.Drawing.Size(152, 22); - this.àToolStripMenuItem2.Text = "à"; - this.àToolStripMenuItem2.Click += new System.EventHandler(this.InsertLetter); - // - // àToolStripMenuItem3 - // - this.àToolStripMenuItem3.Name = "àToolStripMenuItem3"; - this.àToolStripMenuItem3.Size = new System.Drawing.Size(152, 22); - this.àToolStripMenuItem3.Text = "À"; - this.àToolStripMenuItem3.Click += new System.EventHandler(this.InsertLetter); - // - // çToolStripMenuItem2 - // - this.çToolStripMenuItem2.Name = "çToolStripMenuItem2"; - this.çToolStripMenuItem2.Size = new System.Drawing.Size(152, 22); - this.çToolStripMenuItem2.Text = "ç"; - this.çToolStripMenuItem2.Click += new System.EventHandler(this.InsertLetter); - // - // çToolStripMenuItem3 - // - this.çToolStripMenuItem3.Name = "çToolStripMenuItem3"; - this.çToolStripMenuItem3.Size = new System.Drawing.Size(152, 22); - this.çToolStripMenuItem3.Text = "Ç"; - this.çToolStripMenuItem3.Click += new System.EventHandler(this.InsertLetter); - // - // spanishToolStripMenuItem - // - this.spanishToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.áToolStripMenuItem, - this.áToolStripMenuItem1, - this.éToolStripMenuItem, - this.éToolStripMenuItem1, - this.toolStripMenuItem1, - this.toolStripMenuItem6, - this.toolStripMenuItem4, - this.toolStripMenuItem7, - this.toolStripMenuItem5, - this.toolStripMenuItem8, - this.toolStripMenuItem9, - this.toolStripMenuItem10, - this.ñToolStripMenuItem, - this.ñToolStripMenuItem1, - this.toolStripMenuItem2, - this.toolStripMenuItem3}); - this.spanishToolStripMenuItem.Name = "spanishToolStripMenuItem"; - this.spanishToolStripMenuItem.Size = new System.Drawing.Size(134, 22); - this.spanishToolStripMenuItem.Text = "Spanish"; - // - // áToolStripMenuItem - // - this.áToolStripMenuItem.Name = "áToolStripMenuItem"; - this.áToolStripMenuItem.Size = new System.Drawing.Size(152, 22); - this.áToolStripMenuItem.Text = "á"; - this.áToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); - // - // áToolStripMenuItem1 - // - this.áToolStripMenuItem1.Name = "áToolStripMenuItem1"; - this.áToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); - this.áToolStripMenuItem1.Text = "Á"; - this.áToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); - // - // éToolStripMenuItem - // - this.éToolStripMenuItem.Name = "éToolStripMenuItem"; - this.éToolStripMenuItem.Size = new System.Drawing.Size(152, 22); - this.éToolStripMenuItem.Text = "é"; - this.éToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); - // - // éToolStripMenuItem1 - // - this.éToolStripMenuItem1.Name = "éToolStripMenuItem1"; - this.éToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); - this.éToolStripMenuItem1.Text = "É"; - this.éToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); - // - // toolStripMenuItem1 - // - this.toolStripMenuItem1.Name = "toolStripMenuItem1"; - this.toolStripMenuItem1.Size = new System.Drawing.Size(152, 22); - this.toolStripMenuItem1.Text = "í"; - this.toolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); - // - // toolStripMenuItem6 - // - this.toolStripMenuItem6.Name = "toolStripMenuItem6"; - this.toolStripMenuItem6.Size = new System.Drawing.Size(152, 22); - this.toolStripMenuItem6.Text = "Í"; - this.toolStripMenuItem6.Click += new System.EventHandler(this.InsertLetter); - // - // toolStripMenuItem4 - // - this.toolStripMenuItem4.Name = "toolStripMenuItem4"; - this.toolStripMenuItem4.Size = new System.Drawing.Size(152, 22); - this.toolStripMenuItem4.Text = "ó"; - this.toolStripMenuItem4.Click += new System.EventHandler(this.InsertLetter); - // - // toolStripMenuItem7 - // - this.toolStripMenuItem7.Name = "toolStripMenuItem7"; - this.toolStripMenuItem7.Size = new System.Drawing.Size(152, 22); - this.toolStripMenuItem7.Text = "Ó"; - this.toolStripMenuItem7.Click += new System.EventHandler(this.InsertLetter); - // - // toolStripMenuItem5 - // - this.toolStripMenuItem5.Name = "toolStripMenuItem5"; - this.toolStripMenuItem5.Size = new System.Drawing.Size(152, 22); - this.toolStripMenuItem5.Text = "ú"; - this.toolStripMenuItem5.Click += new System.EventHandler(this.InsertLetter); - // - // toolStripMenuItem8 - // - this.toolStripMenuItem8.Name = "toolStripMenuItem8"; - this.toolStripMenuItem8.Size = new System.Drawing.Size(152, 22); - this.toolStripMenuItem8.Text = "Ú"; - this.toolStripMenuItem8.Click += new System.EventHandler(this.InsertLetter); - // - // toolStripMenuItem9 - // - this.toolStripMenuItem9.Name = "toolStripMenuItem9"; - this.toolStripMenuItem9.Size = new System.Drawing.Size(152, 22); - this.toolStripMenuItem9.Text = "ü"; - this.toolStripMenuItem9.Click += new System.EventHandler(this.InsertLetter); - // - // toolStripMenuItem10 - // - this.toolStripMenuItem10.Name = "toolStripMenuItem10"; - this.toolStripMenuItem10.Size = new System.Drawing.Size(152, 22); - this.toolStripMenuItem10.Text = "Ü"; - this.toolStripMenuItem10.Click += new System.EventHandler(this.InsertLetter); - // - // ñToolStripMenuItem - // - this.ñToolStripMenuItem.Name = "ñToolStripMenuItem"; - this.ñToolStripMenuItem.Size = new System.Drawing.Size(152, 22); - this.ñToolStripMenuItem.Text = "ñ"; - this.ñToolStripMenuItem.Click += new System.EventHandler(this.InsertLetter); - // - // ñToolStripMenuItem1 - // - this.ñToolStripMenuItem1.Name = "ñToolStripMenuItem1"; - this.ñToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); - this.ñToolStripMenuItem1.Text = "Ñ"; - this.ñToolStripMenuItem1.Click += new System.EventHandler(this.InsertLetter); - // - // toolStripMenuItem2 - // - this.toolStripMenuItem2.Name = "toolStripMenuItem2"; - this.toolStripMenuItem2.Size = new System.Drawing.Size(152, 22); - this.toolStripMenuItem2.Text = "¿"; - this.toolStripMenuItem2.Click += new System.EventHandler(this.InsertLetter); - // - // toolStripMenuItem3 - // - this.toolStripMenuItem3.Name = "toolStripMenuItem3"; - this.toolStripMenuItem3.Size = new System.Drawing.Size(152, 22); - this.toolStripMenuItem3.Text = "¡"; - this.toolStripMenuItem3.Click += new System.EventHandler(this.InsertLetter); - // - // toolStripMenuItemMusicSymbol1 - // - this.toolStripMenuItemMusicSymbol1.Name = "toolStripMenuItemMusicSymbol1"; - this.toolStripMenuItemMusicSymbol1.Size = new System.Drawing.Size(134, 22); - this.toolStripMenuItemMusicSymbol1.Text = "♪"; - // - // toolStripMenuItemMusicSymbol2 - // - this.toolStripMenuItemMusicSymbol2.Name = "toolStripMenuItemMusicSymbol2"; - this.toolStripMenuItemMusicSymbol2.Size = new System.Drawing.Size(134, 22); - this.toolStripMenuItemMusicSymbol2.Text = "♫"; - // // VobSubOcrNOcrCharacter // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -1167,6 +1169,7 @@ this.Text = "VobSubOcrNOcrCharacter"; this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.VobSubOcrNOcrCharacter_KeyDown); ((System.ComponentModel.ISupportInitialize)(this.pictureBoxCharacter)).EndInit(); + this.contextMenuStripLetters.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pictureBoxSubtitleImage)).EndInit(); this.groupBoxNewInput.ResumeLayout(false); this.groupBoxNewInput.PerformLayout(); @@ -1174,7 +1177,6 @@ this.groupBox2.PerformLayout(); this.contextMenuStripLinesBackground.ResumeLayout(false); this.contextMenuLinesForeground.ResumeLayout(false); - this.contextMenuStripLetters.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); diff --git a/src/Forms/VobSubOcrNOcrCharacter.cs b/src/Forms/VobSubOcrNOcrCharacter.cs index 4371c8855..fb455ed78 100644 --- a/src/Forms/VobSubOcrNOcrCharacter.cs +++ b/src/Forms/VobSubOcrNOcrCharacter.cs @@ -737,5 +737,15 @@ namespace Nikse.SubtitleEdit.Forms textBoxCharacters.SelectedText = (sender as ToolStripMenuItem).Text; } + private void toolStripMenuItemMusicSymbol1_Click(object sender, EventArgs e) + { + textBoxCharacters.SelectedText = (sender as ToolStripMenuItem).Text; + } + + private void toolStripMenuItemMusicSymbol2_Click(object sender, EventArgs e) + { + textBoxCharacters.SelectedText = (sender as ToolStripMenuItem).Text; + } + } } \ No newline at end of file diff --git a/src/Logic/NikseBitmapImageSplitter.cs b/src/Logic/NikseBitmapImageSplitter.cs index 07552ee97..c714a2450 100644 --- a/src/Logic/NikseBitmapImageSplitter.cs +++ b/src/Logic/NikseBitmapImageSplitter.cs @@ -719,9 +719,12 @@ namespace Nikse.SubtitleEdit.Logic { right = false; bool left = false; + int leftCount = 0; + int rightCount = 0; clean = true; var points = new List(); int y = 0; + int maxSlide = bmp.Height / 4; while (y < bmp.Height) { if (bmp.GetAlpha(x, y) > 100) @@ -754,7 +757,6 @@ namespace Nikse.SubtitleEdit.Logic if (bmp.GetAlpha(x - 1, y) > 0) { x++; //(requires search for min/max x in points - right = true; } else { @@ -788,7 +790,13 @@ namespace Nikse.SubtitleEdit.Logic return null; } - if (left && right) + if (left) + leftCount++; + + if (right) + rightCount++; + + if (leftCount > maxSlide || rightCount > maxSlide) return null; } else