2009-04-19 18:07:22 +00:00
|
|
|
namespace CodeImp.DoomBuilder.BuilderModes
|
|
|
|
{
|
|
|
|
partial class FindReplaceForm
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Required designer variable.
|
|
|
|
/// </summary>
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Clean up any resources being used.
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
|
|
protected override void Dispose(bool disposing)
|
|
|
|
{
|
|
|
|
if(disposing && (components != null))
|
|
|
|
{
|
|
|
|
components.Dispose();
|
|
|
|
}
|
|
|
|
base.Dispose(disposing);
|
|
|
|
}
|
|
|
|
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Required method for Designer support - do not modify
|
|
|
|
/// the contents of this method with the code editor.
|
|
|
|
/// </summary>
|
|
|
|
private void InitializeComponent()
|
|
|
|
{
|
|
|
|
System.Windows.Forms.Label label1;
|
|
|
|
System.Windows.Forms.Label label2;
|
|
|
|
this.replacelabel = new System.Windows.Forms.Label();
|
|
|
|
this.searchtypes = new System.Windows.Forms.ComboBox();
|
2013-09-24 10:26:35 +00:00
|
|
|
this.findinput = new CodeImp.DoomBuilder.Controls.AutoSelectTextbox();
|
2009-04-19 18:07:22 +00:00
|
|
|
this.browsefind = new System.Windows.Forms.Button();
|
|
|
|
this.withinselection = new System.Windows.Forms.CheckBox();
|
|
|
|
this.browsereplace = new System.Windows.Forms.Button();
|
2013-09-24 10:26:35 +00:00
|
|
|
this.replaceinput = new CodeImp.DoomBuilder.Controls.AutoSelectTextbox();
|
2009-04-19 18:07:22 +00:00
|
|
|
this.findbutton = new System.Windows.Forms.Button();
|
|
|
|
this.closebutton = new System.Windows.Forms.Button();
|
|
|
|
this.resultslist = new System.Windows.Forms.ListBox();
|
|
|
|
this.resultscount = new System.Windows.Forms.Label();
|
|
|
|
this.resultspanel = new System.Windows.Forms.Panel();
|
|
|
|
this.deletebutton = new System.Windows.Forms.Button();
|
|
|
|
this.editbutton = new System.Windows.Forms.Button();
|
|
|
|
this.groupreplace = new System.Windows.Forms.GroupBox();
|
|
|
|
this.doreplace = new System.Windows.Forms.CheckBox();
|
|
|
|
label1 = new System.Windows.Forms.Label();
|
|
|
|
label2 = new System.Windows.Forms.Label();
|
|
|
|
this.resultspanel.SuspendLayout();
|
|
|
|
this.groupreplace.SuspendLayout();
|
|
|
|
this.SuspendLayout();
|
|
|
|
//
|
|
|
|
// label1
|
|
|
|
//
|
|
|
|
label1.AutoSize = true;
|
|
|
|
label1.Location = new System.Drawing.Point(25, 15);
|
|
|
|
label1.Name = "label1";
|
|
|
|
label1.Size = new System.Drawing.Size(69, 14);
|
|
|
|
label1.TabIndex = 0;
|
|
|
|
label1.Text = "Search type:";
|
|
|
|
//
|
|
|
|
// label2
|
|
|
|
//
|
|
|
|
label2.AutoSize = true;
|
|
|
|
label2.Location = new System.Drawing.Point(36, 51);
|
|
|
|
label2.Name = "label2";
|
|
|
|
label2.Size = new System.Drawing.Size(58, 14);
|
|
|
|
label2.TabIndex = 2;
|
|
|
|
label2.Text = "Find what:";
|
|
|
|
//
|
|
|
|
// replacelabel
|
|
|
|
//
|
|
|
|
this.replacelabel.AutoSize = true;
|
|
|
|
this.replacelabel.Location = new System.Drawing.Point(12, 28);
|
|
|
|
this.replacelabel.Name = "replacelabel";
|
|
|
|
this.replacelabel.Size = new System.Drawing.Size(73, 14);
|
|
|
|
this.replacelabel.TabIndex = 6;
|
|
|
|
this.replacelabel.Text = "Replace with:";
|
|
|
|
//
|
|
|
|
// searchtypes
|
|
|
|
//
|
|
|
|
this.searchtypes.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
|
|
this.searchtypes.FormattingEnabled = true;
|
|
|
|
this.searchtypes.Location = new System.Drawing.Point(100, 12);
|
|
|
|
this.searchtypes.Name = "searchtypes";
|
|
|
|
this.searchtypes.Size = new System.Drawing.Size(139, 22);
|
|
|
|
this.searchtypes.Sorted = true;
|
2009-04-26 19:53:36 +00:00
|
|
|
this.searchtypes.TabIndex = 0;
|
2009-04-19 18:07:22 +00:00
|
|
|
this.searchtypes.SelectedIndexChanged += new System.EventHandler(this.searchtypes_SelectedIndexChanged);
|
|
|
|
//
|
|
|
|
// findinput
|
|
|
|
//
|
|
|
|
this.findinput.Location = new System.Drawing.Point(100, 48);
|
|
|
|
this.findinput.Name = "findinput";
|
|
|
|
this.findinput.Size = new System.Drawing.Size(106, 20);
|
2009-04-26 19:53:36 +00:00
|
|
|
this.findinput.TabIndex = 1;
|
2009-04-19 18:07:22 +00:00
|
|
|
//
|
|
|
|
// browsefind
|
|
|
|
//
|
|
|
|
this.browsefind.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
|
|
this.browsefind.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.treeview;
|
2010-09-01 14:36:31 +00:00
|
|
|
this.browsefind.Location = new System.Drawing.Point(212, 46);
|
2009-04-19 18:07:22 +00:00
|
|
|
this.browsefind.Name = "browsefind";
|
|
|
|
this.browsefind.Padding = new System.Windows.Forms.Padding(0, 0, 1, 3);
|
2010-09-01 14:36:31 +00:00
|
|
|
this.browsefind.Size = new System.Drawing.Size(28, 25);
|
2009-04-26 19:53:36 +00:00
|
|
|
this.browsefind.TabIndex = 2;
|
2009-04-19 18:07:22 +00:00
|
|
|
this.browsefind.UseVisualStyleBackColor = true;
|
|
|
|
this.browsefind.Click += new System.EventHandler(this.browsefind_Click);
|
|
|
|
//
|
|
|
|
// withinselection
|
|
|
|
//
|
|
|
|
this.withinselection.AutoSize = true;
|
|
|
|
this.withinselection.Location = new System.Drawing.Point(100, 75);
|
|
|
|
this.withinselection.Name = "withinselection";
|
|
|
|
this.withinselection.Size = new System.Drawing.Size(139, 18);
|
2009-04-26 19:53:36 +00:00
|
|
|
this.withinselection.TabIndex = 3;
|
2009-04-19 18:07:22 +00:00
|
|
|
this.withinselection.Text = "Within current selection";
|
|
|
|
this.withinselection.UseVisualStyleBackColor = true;
|
|
|
|
//
|
|
|
|
// browsereplace
|
|
|
|
//
|
|
|
|
this.browsereplace.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
|
|
this.browsereplace.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.treeview;
|
2010-09-01 14:36:31 +00:00
|
|
|
this.browsereplace.Location = new System.Drawing.Point(203, 23);
|
2009-04-19 18:07:22 +00:00
|
|
|
this.browsereplace.Name = "browsereplace";
|
|
|
|
this.browsereplace.Padding = new System.Windows.Forms.Padding(0, 0, 1, 3);
|
2010-09-01 14:36:31 +00:00
|
|
|
this.browsereplace.Size = new System.Drawing.Size(28, 25);
|
2009-04-26 19:53:36 +00:00
|
|
|
this.browsereplace.TabIndex = 1;
|
2009-04-19 18:07:22 +00:00
|
|
|
this.browsereplace.UseVisualStyleBackColor = true;
|
|
|
|
this.browsereplace.Click += new System.EventHandler(this.browsereplace_Click);
|
|
|
|
//
|
|
|
|
// replaceinput
|
|
|
|
//
|
|
|
|
this.replaceinput.Location = new System.Drawing.Point(91, 25);
|
|
|
|
this.replaceinput.Name = "replaceinput";
|
|
|
|
this.replaceinput.Size = new System.Drawing.Size(106, 20);
|
2009-04-26 19:53:36 +00:00
|
|
|
this.replaceinput.TabIndex = 0;
|
2009-04-19 18:07:22 +00:00
|
|
|
//
|
|
|
|
// findbutton
|
|
|
|
//
|
|
|
|
this.findbutton.Location = new System.Drawing.Point(273, 12);
|
|
|
|
this.findbutton.Name = "findbutton";
|
|
|
|
this.findbutton.Size = new System.Drawing.Size(74, 25);
|
|
|
|
this.findbutton.TabIndex = 7;
|
|
|
|
this.findbutton.Text = "Find";
|
|
|
|
this.findbutton.UseVisualStyleBackColor = true;
|
|
|
|
this.findbutton.Click += new System.EventHandler(this.findbutton_Click);
|
|
|
|
//
|
|
|
|
// closebutton
|
|
|
|
//
|
|
|
|
this.closebutton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
|
|
this.closebutton.Location = new System.Drawing.Point(273, 43);
|
|
|
|
this.closebutton.Name = "closebutton";
|
|
|
|
this.closebutton.Size = new System.Drawing.Size(74, 25);
|
|
|
|
this.closebutton.TabIndex = 8;
|
|
|
|
this.closebutton.Text = "Close";
|
|
|
|
this.closebutton.UseVisualStyleBackColor = true;
|
|
|
|
this.closebutton.Click += new System.EventHandler(this.closebutton_Click);
|
|
|
|
//
|
|
|
|
// resultslist
|
|
|
|
//
|
2009-05-09 12:14:10 +00:00
|
|
|
this.resultslist.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
2009-04-19 18:07:22 +00:00
|
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
this.resultslist.FormattingEnabled = true;
|
|
|
|
this.resultslist.IntegralHeight = false;
|
|
|
|
this.resultslist.ItemHeight = 14;
|
|
|
|
this.resultslist.Location = new System.Drawing.Point(9, 31);
|
|
|
|
this.resultslist.Margin = new System.Windows.Forms.Padding(1);
|
|
|
|
this.resultslist.Name = "resultslist";
|
|
|
|
this.resultslist.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended;
|
2009-05-09 12:14:10 +00:00
|
|
|
this.resultslist.Size = new System.Drawing.Size(341, 212);
|
2009-04-26 19:53:36 +00:00
|
|
|
this.resultslist.TabIndex = 0;
|
2009-04-19 18:07:22 +00:00
|
|
|
this.resultslist.MouseUp += new System.Windows.Forms.MouseEventHandler(this.resultslist_MouseUp);
|
|
|
|
this.resultslist.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.resultslist_MouseDoubleClick);
|
|
|
|
this.resultslist.SelectedIndexChanged += new System.EventHandler(this.resultslist_SelectedIndexChanged);
|
|
|
|
//
|
|
|
|
// resultscount
|
|
|
|
//
|
|
|
|
this.resultscount.AutoSize = true;
|
|
|
|
this.resultscount.Location = new System.Drawing.Point(8, 11);
|
|
|
|
this.resultscount.Name = "resultscount";
|
|
|
|
this.resultscount.Size = new System.Drawing.Size(158, 14);
|
|
|
|
this.resultscount.TabIndex = 10;
|
|
|
|
this.resultscount.Text = "1000 items have been replaced";
|
|
|
|
//
|
|
|
|
// resultspanel
|
|
|
|
//
|
|
|
|
this.resultspanel.Controls.Add(this.deletebutton);
|
|
|
|
this.resultspanel.Controls.Add(this.editbutton);
|
|
|
|
this.resultspanel.Controls.Add(this.resultscount);
|
|
|
|
this.resultspanel.Controls.Add(this.resultslist);
|
2009-05-09 12:14:10 +00:00
|
|
|
this.resultspanel.Location = new System.Drawing.Point(-1, 188);
|
2009-04-19 18:07:22 +00:00
|
|
|
this.resultspanel.Name = "resultspanel";
|
2009-05-09 12:14:10 +00:00
|
|
|
this.resultspanel.Size = new System.Drawing.Size(362, 285);
|
2009-04-26 19:53:36 +00:00
|
|
|
this.resultspanel.TabIndex = 6;
|
2009-04-19 18:07:22 +00:00
|
|
|
this.resultspanel.Visible = false;
|
|
|
|
//
|
|
|
|
// deletebutton
|
|
|
|
//
|
2009-05-09 12:14:10 +00:00
|
|
|
this.deletebutton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
|
|
this.deletebutton.Location = new System.Drawing.Point(131, 250);
|
2009-04-19 18:07:22 +00:00
|
|
|
this.deletebutton.Name = "deletebutton";
|
|
|
|
this.deletebutton.Size = new System.Drawing.Size(109, 25);
|
2009-04-26 19:53:36 +00:00
|
|
|
this.deletebutton.TabIndex = 2;
|
2009-04-19 18:07:22 +00:00
|
|
|
this.deletebutton.Text = "Delete Selection";
|
|
|
|
this.deletebutton.UseVisualStyleBackColor = true;
|
|
|
|
this.deletebutton.Click += new System.EventHandler(this.deletebutton_Click);
|
|
|
|
//
|
|
|
|
// editbutton
|
|
|
|
//
|
2009-05-09 12:14:10 +00:00
|
|
|
this.editbutton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
|
|
this.editbutton.Location = new System.Drawing.Point(9, 250);
|
2009-04-19 18:07:22 +00:00
|
|
|
this.editbutton.Name = "editbutton";
|
|
|
|
this.editbutton.Size = new System.Drawing.Size(109, 25);
|
2009-04-26 19:53:36 +00:00
|
|
|
this.editbutton.TabIndex = 1;
|
2009-04-19 18:07:22 +00:00
|
|
|
this.editbutton.Text = "Edit Selection";
|
|
|
|
this.editbutton.UseVisualStyleBackColor = true;
|
|
|
|
this.editbutton.Click += new System.EventHandler(this.editbutton_Click);
|
|
|
|
//
|
|
|
|
// groupreplace
|
|
|
|
//
|
|
|
|
this.groupreplace.Controls.Add(this.replaceinput);
|
|
|
|
this.groupreplace.Controls.Add(this.browsereplace);
|
|
|
|
this.groupreplace.Controls.Add(this.replacelabel);
|
|
|
|
this.groupreplace.Enabled = false;
|
|
|
|
this.groupreplace.Location = new System.Drawing.Point(9, 108);
|
|
|
|
this.groupreplace.Name = "groupreplace";
|
2009-05-09 12:14:10 +00:00
|
|
|
this.groupreplace.Size = new System.Drawing.Size(256, 64);
|
2009-04-26 19:53:36 +00:00
|
|
|
this.groupreplace.TabIndex = 5;
|
2009-04-19 18:07:22 +00:00
|
|
|
this.groupreplace.TabStop = false;
|
|
|
|
this.groupreplace.Text = " ";
|
|
|
|
//
|
|
|
|
// doreplace
|
|
|
|
//
|
|
|
|
this.doreplace.AutoSize = true;
|
|
|
|
this.doreplace.Location = new System.Drawing.Point(24, 105);
|
|
|
|
this.doreplace.Name = "doreplace";
|
|
|
|
this.doreplace.Size = new System.Drawing.Size(65, 18);
|
2009-04-26 19:53:36 +00:00
|
|
|
this.doreplace.TabIndex = 4;
|
2009-04-19 18:07:22 +00:00
|
|
|
this.doreplace.Text = "Replace";
|
|
|
|
this.doreplace.UseVisualStyleBackColor = true;
|
|
|
|
this.doreplace.CheckedChanged += new System.EventHandler(this.doreplace_CheckedChanged);
|
|
|
|
//
|
|
|
|
// FindReplaceForm
|
|
|
|
//
|
|
|
|
this.AcceptButton = this.findbutton;
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
|
|
this.CancelButton = this.closebutton;
|
|
|
|
this.ClientSize = new System.Drawing.Size(358, 472);
|
|
|
|
this.Controls.Add(this.doreplace);
|
|
|
|
this.Controls.Add(this.groupreplace);
|
|
|
|
this.Controls.Add(this.closebutton);
|
|
|
|
this.Controls.Add(this.findbutton);
|
|
|
|
this.Controls.Add(this.withinselection);
|
|
|
|
this.Controls.Add(this.browsefind);
|
|
|
|
this.Controls.Add(this.findinput);
|
|
|
|
this.Controls.Add(label2);
|
|
|
|
this.Controls.Add(this.searchtypes);
|
|
|
|
this.Controls.Add(label1);
|
|
|
|
this.Controls.Add(this.resultspanel);
|
|
|
|
this.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
|
|
|
this.KeyPreview = true;
|
|
|
|
this.MaximizeBox = false;
|
|
|
|
this.MinimizeBox = false;
|
|
|
|
this.Name = "FindReplaceForm";
|
|
|
|
this.Opacity = 0;
|
|
|
|
this.ShowIcon = false;
|
|
|
|
this.ShowInTaskbar = false;
|
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
|
|
|
|
this.Text = "Find and Replace";
|
|
|
|
this.KeyUp += new System.Windows.Forms.KeyEventHandler(this.FindReplaceForm_KeyUp);
|
|
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FindReplaceForm_FormClosing);
|
|
|
|
this.HelpRequested += new System.Windows.Forms.HelpEventHandler(this.FindReplaceForm_HelpRequested);
|
|
|
|
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.FindReplaceForm_KeyDown);
|
|
|
|
this.resultspanel.ResumeLayout(false);
|
|
|
|
this.resultspanel.PerformLayout();
|
|
|
|
this.groupreplace.ResumeLayout(false);
|
|
|
|
this.groupreplace.PerformLayout();
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
this.PerformLayout();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
private System.Windows.Forms.ComboBox searchtypes;
|
2013-09-24 10:26:35 +00:00
|
|
|
private CodeImp.DoomBuilder.Controls.AutoSelectTextbox findinput;
|
2009-04-19 18:07:22 +00:00
|
|
|
private System.Windows.Forms.Button browsefind;
|
|
|
|
private System.Windows.Forms.CheckBox withinselection;
|
|
|
|
private System.Windows.Forms.Button browsereplace;
|
2013-09-24 10:26:35 +00:00
|
|
|
private CodeImp.DoomBuilder.Controls.AutoSelectTextbox replaceinput;
|
2009-04-19 18:07:22 +00:00
|
|
|
private System.Windows.Forms.Button findbutton;
|
|
|
|
private System.Windows.Forms.Button closebutton;
|
|
|
|
private System.Windows.Forms.ListBox resultslist;
|
|
|
|
private System.Windows.Forms.Label resultscount;
|
|
|
|
private System.Windows.Forms.Panel resultspanel;
|
|
|
|
private System.Windows.Forms.GroupBox groupreplace;
|
|
|
|
private System.Windows.Forms.CheckBox doreplace;
|
|
|
|
private System.Windows.Forms.Button editbutton;
|
|
|
|
private System.Windows.Forms.Button deletebutton;
|
|
|
|
private System.Windows.Forms.Label replacelabel;
|
|
|
|
}
|
|
|
|
}
|