public ReplaceForm(AdvRichTextBox mm) { InitializeComponent(); Fmok = mm; var componentResourceManager = new ComponentResourceManager(typeof(FmMain)); Icon = (Icon)componentResourceManager.GetObject("minico.Icon"); StartPosition = FormStartPosition.Manual; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this._mnuPop = new System.Windows.Forms.ContextMenuStrip(this.components); this._addIgnoreActionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this._addHideActionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this._addPopupActionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this._addHighlightActionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this._blueToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this._cyanToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this._limeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this._magentaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this._orangeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this._redToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this._yellowToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this._addHighlightmatchActionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this._blueToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this._cyanToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this._limeToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this._magentaToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this._orangeToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this._redToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this._yellowToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this._toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this._findToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this._showHiddenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this._saveToFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this._progress = new System.Windows.Forms.ProgressBar(); this._saveFileDialog1 = new System.Windows.Forms.SaveFileDialog(); this.Txt = new AdvRichTextBox(); this._mnuPop.SuspendLayout(); this.SuspendLayout(); // // mnuPop // this._mnuPop.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this._addIgnoreActionToolStripMenuItem, this._addHideActionToolStripMenuItem, this._addPopupActionToolStripMenuItem, this._addHighlightActionToolStripMenuItem, this._addHighlightmatchActionToolStripMenuItem, this._toolStripSeparator1, this._findToolStripMenuItem, this._showHiddenToolStripMenuItem, this._saveToFileToolStripMenuItem }); this._mnuPop.Name = "_mnuPop"; this._mnuPop.Size = new System.Drawing.Size(223, 186); this._mnuPop.Opening += new System.ComponentModel.CancelEventHandler(this.mnuPop_Opening); // // addIgnoreActionToolStripMenuItem // this._addIgnoreActionToolStripMenuItem.Name = "addIgnoreActionToolStripMenuItem"; this._addIgnoreActionToolStripMenuItem.Size = new System.Drawing.Size(222, 22); this._addIgnoreActionToolStripMenuItem.Text = "Add &Ignore action"; this._addIgnoreActionToolStripMenuItem.Click += new System.EventHandler(this.addIgnoreActionToolStripMenuItem_Click); // // addHideActionToolStripMenuItem // this._addHideActionToolStripMenuItem.Name = "addHideActionToolStripMenuItem"; this._addHideActionToolStripMenuItem.Size = new System.Drawing.Size(222, 22); this._addHideActionToolStripMenuItem.Text = "Add Hide action"; this._addHideActionToolStripMenuItem.Click += new System.EventHandler(this.addHideActionToolStripMenuItem_Click); // // addPopupActionToolStripMenuItem // this._addPopupActionToolStripMenuItem.Name = "addPopupActionToolStripMenuItem"; this._addPopupActionToolStripMenuItem.Size = new System.Drawing.Size(222, 22); this._addPopupActionToolStripMenuItem.Text = "Add &Popup action"; this._addPopupActionToolStripMenuItem.Click += new System.EventHandler(this.addPopupActionToolStripMenuItem_Click); // // addHighlightActionToolStripMenuItem // this._addHighlightActionToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this._blueToolStripMenuItem, this._cyanToolStripMenuItem, this._limeToolStripMenuItem, this._magentaToolStripMenuItem, this._orangeToolStripMenuItem, this._redToolStripMenuItem, this._yellowToolStripMenuItem }); this._addHighlightActionToolStripMenuItem.Name = "addHighlightActionToolStripMenuItem"; this._addHighlightActionToolStripMenuItem.Size = new System.Drawing.Size(222, 22); this._addHighlightActionToolStripMenuItem.Text = "Add &Highlight action"; // // blueToolStripMenuItem // this._blueToolStripMenuItem.Name = "blueToolStripMenuItem"; this._blueToolStripMenuItem.Size = new System.Drawing.Size(121, 22); this._blueToolStripMenuItem.Text = "&Blue"; this._blueToolStripMenuItem.Click += new System.EventHandler(this.colorHighlightToolStripMenuItem_Click); // // cyanToolStripMenuItem // this._cyanToolStripMenuItem.Name = "cyanToolStripMenuItem"; this._cyanToolStripMenuItem.Size = new System.Drawing.Size(121, 22); this._cyanToolStripMenuItem.Text = "&Cyan"; this._cyanToolStripMenuItem.Click += new System.EventHandler(this.colorHighlightToolStripMenuItem_Click); // // limeToolStripMenuItem // this._limeToolStripMenuItem.Name = "limeToolStripMenuItem"; this._limeToolStripMenuItem.Size = new System.Drawing.Size(121, 22); this._limeToolStripMenuItem.Text = "&Lime"; this._limeToolStripMenuItem.Click += new System.EventHandler(this.colorHighlightToolStripMenuItem_Click); // // magentaToolStripMenuItem // this._magentaToolStripMenuItem.Name = "magentaToolStripMenuItem"; this._magentaToolStripMenuItem.Size = new System.Drawing.Size(121, 22); this._magentaToolStripMenuItem.Text = "&Magenta"; this._magentaToolStripMenuItem.Click += new System.EventHandler(this.colorHighlightToolStripMenuItem_Click); // // orangeToolStripMenuItem // this._orangeToolStripMenuItem.Name = "orangeToolStripMenuItem"; this._orangeToolStripMenuItem.Size = new System.Drawing.Size(121, 22); this._orangeToolStripMenuItem.Text = "&Orange"; this._orangeToolStripMenuItem.Click += new System.EventHandler(this.colorHighlightToolStripMenuItem_Click); // // redToolStripMenuItem // this._redToolStripMenuItem.Name = "redToolStripMenuItem"; this._redToolStripMenuItem.Size = new System.Drawing.Size(121, 22); this._redToolStripMenuItem.Text = "&Red"; this._redToolStripMenuItem.Click += new System.EventHandler(this.colorHighlightToolStripMenuItem_Click); // // yellowToolStripMenuItem // this._yellowToolStripMenuItem.Name = "yellowToolStripMenuItem"; this._yellowToolStripMenuItem.Size = new System.Drawing.Size(121, 22); this._yellowToolStripMenuItem.Text = "&Yellow"; this._yellowToolStripMenuItem.Click += new System.EventHandler(this.colorHighlightToolStripMenuItem_Click); // // addHighlightmatchActionToolStripMenuItem // this._addHighlightmatchActionToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem [] { this._blueToolStripMenuItem1, this._cyanToolStripMenuItem1, this._limeToolStripMenuItem1, this._magentaToolStripMenuItem1, this._orangeToolStripMenuItem1, this._redToolStripMenuItem1, this._yellowToolStripMenuItem1 }); this._addHighlightmatchActionToolStripMenuItem.Name = "addHighlightmatchActionToolStripMenuItem"; this._addHighlightmatchActionToolStripMenuItem.Size = new System.Drawing.Size(222, 22); this._addHighlightmatchActionToolStripMenuItem.Text = "Add Highlight &match action"; // // blueToolStripMenuItem1 // this._blueToolStripMenuItem1.Name = "blueToolStripMenuItem1"; this._blueToolStripMenuItem1.Size = new System.Drawing.Size(121, 22); this._blueToolStripMenuItem1.Text = "&Blue"; this._blueToolStripMenuItem1.Click += new System.EventHandler(this.colorHighlightMatchToolStripMenuItem_Click); // // cyanToolStripMenuItem1 // this._cyanToolStripMenuItem1.Name = "cyanToolStripMenuItem1"; this._cyanToolStripMenuItem1.Size = new System.Drawing.Size(121, 22); this._cyanToolStripMenuItem1.Text = "&Cyan"; this._cyanToolStripMenuItem1.Click += new System.EventHandler(this.colorHighlightMatchToolStripMenuItem_Click); // // limeToolStripMenuItem1 // this._limeToolStripMenuItem1.Name = "limeToolStripMenuItem1"; this._limeToolStripMenuItem1.Size = new System.Drawing.Size(121, 22); this._limeToolStripMenuItem1.Text = "&Lime"; this._limeToolStripMenuItem1.Click += new System.EventHandler(this.colorHighlightMatchToolStripMenuItem_Click); // // magentaToolStripMenuItem1 // this._magentaToolStripMenuItem1.Name = "magentaToolStripMenuItem1"; this._magentaToolStripMenuItem1.Size = new System.Drawing.Size(121, 22); this._magentaToolStripMenuItem1.Text = "&Magenta"; this._magentaToolStripMenuItem1.Click += new System.EventHandler(this.colorHighlightMatchToolStripMenuItem_Click); // // orangeToolStripMenuItem1 // this._orangeToolStripMenuItem1.Name = "orangeToolStripMenuItem1"; this._orangeToolStripMenuItem1.Size = new System.Drawing.Size(121, 22); this._orangeToolStripMenuItem1.Text = "&Orange"; this._orangeToolStripMenuItem1.Click += new System.EventHandler(this.colorHighlightMatchToolStripMenuItem_Click); // // redToolStripMenuItem1 // this._redToolStripMenuItem1.Name = "redToolStripMenuItem1"; this._redToolStripMenuItem1.Size = new System.Drawing.Size(121, 22); this._redToolStripMenuItem1.Text = "&Red"; this._redToolStripMenuItem1.Click += new System.EventHandler(this.colorHighlightMatchToolStripMenuItem_Click); // // yellowToolStripMenuItem1 // this._yellowToolStripMenuItem1.Name = "yellowToolStripMenuItem1"; this._yellowToolStripMenuItem1.Size = new System.Drawing.Size(121, 22); this._yellowToolStripMenuItem1.Text = "&Yellow"; this._yellowToolStripMenuItem1.Click += new System.EventHandler(this.colorHighlightMatchToolStripMenuItem_Click); // // toolStripSeparator1 // this._toolStripSeparator1.Name = "toolStripSeparator1"; this._toolStripSeparator1.Size = new System.Drawing.Size(219, 6); // // findToolStripMenuItem // this._findToolStripMenuItem.Name = "findToolStripMenuItem"; this._findToolStripMenuItem.Size = new System.Drawing.Size(222, 22); this._findToolStripMenuItem.Text = "&Find"; this._findToolStripMenuItem.Click += new System.EventHandler(this.findToolStripMenuItem_Click); // // showHiddenToolStripMenuItem // this._showHiddenToolStripMenuItem.Enabled = false; this._showHiddenToolStripMenuItem.Name = "showHiddenToolStripMenuItem"; this._showHiddenToolStripMenuItem.Size = new System.Drawing.Size(222, 22); this._showHiddenToolStripMenuItem.Text = "Show hidden"; // // saveToFileToolStripMenuItem // this._saveToFileToolStripMenuItem.Name = "saveToFileToolStripMenuItem"; this._saveToFileToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S))); this._saveToFileToolStripMenuItem.Size = new System.Drawing.Size(222, 22); this._saveToFileToolStripMenuItem.Text = "Save to file ..."; this._saveToFileToolStripMenuItem.Click += new System.EventHandler(this.saveToFileToolStripMenuItem_Click); // // progress // this._progress.BackColor = System.Drawing.Color.Black; this._progress.Dock = System.Windows.Forms.DockStyle.Top; this._progress.Location = new System.Drawing.Point(0, 0); this._progress.Maximum = 400; this._progress.Name = "_progress"; this._progress.Size = new System.Drawing.Size(372, 23); this._progress.TabIndex = 1; this._progress.Visible = false; // // saveFileDialog1 // this._saveFileDialog1.Filter = "Text files (*.txt)|*.txt|Rich text files (*.rtf)|*.rtf"; // // txt // this.Txt.BackColor = System.Drawing.Color.Black; this.Txt.ContextMenuStrip = this._mnuPop; this.Txt.Dock = System.Windows.Forms.DockStyle.Fill; this.Txt.Font = new System.Drawing.Font("Courier New", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Txt.ForeColor = System.Drawing.Color.Lime; this.Txt.HideSelection = false; this.Txt.Location = new System.Drawing.Point(0, 0); this.Txt.Name = "Txt"; this.Txt.SelectionAlignment = TextAlign.Left; this.Txt.Size = new System.Drawing.Size(372, 273); this.Txt.TabIndex = 0; this.Txt.Text = ""; this.Txt.WordWrap = false; this.Txt.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txt_KeyUp); // // textViewer // this.BackColor = System.Drawing.Color.Black; this.Controls.Add(this._progress); this.Controls.Add(this.Txt); this.Name = "TextViewer"; this.Size = new System.Drawing.Size(372, 273); this._mnuPop.ResumeLayout(false); this.ResumeLayout(false); }