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()
|
|
|
|
{
|
2016-04-18 13:58:08 +00:00
|
|
|
this.components = new System.ComponentModel.Container();
|
2009-04-19 18:07:22 +00:00
|
|
|
System.Windows.Forms.Label label1;
|
2016-04-18 13:58:08 +00:00
|
|
|
this.labelfind = new System.Windows.Forms.Label();
|
2009-04-19 18:07:22 +00:00
|
|
|
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.doreplace = new System.Windows.Forms.CheckBox();
|
2016-04-18 13:58:08 +00:00
|
|
|
this.tooltip = new System.Windows.Forms.ToolTip(this.components);
|
2009-04-19 18:07:22 +00:00
|
|
|
label1 = new System.Windows.Forms.Label();
|
|
|
|
this.resultspanel.SuspendLayout();
|
|
|
|
this.SuspendLayout();
|
|
|
|
//
|
|
|
|
// label1
|
|
|
|
//
|
|
|
|
label1.AutoSize = true;
|
2015-04-04 22:11:36 +00:00
|
|
|
label1.Location = new System.Drawing.Point(36, 15);
|
2009-04-19 18:07:22 +00:00
|
|
|
label1.Name = "label1";
|
2015-01-06 11:49:06 +00:00
|
|
|
label1.Size = new System.Drawing.Size(67, 13);
|
2009-04-19 18:07:22 +00:00
|
|
|
label1.TabIndex = 0;
|
|
|
|
label1.Text = "Search type:";
|
|
|
|
//
|
2016-04-18 13:58:08 +00:00
|
|
|
// labelfind
|
2009-04-19 18:07:22 +00:00
|
|
|
//
|
2016-04-18 13:58:08 +00:00
|
|
|
this.labelfind.AutoSize = true;
|
|
|
|
this.labelfind.Location = new System.Drawing.Point(47, 51);
|
|
|
|
this.labelfind.Name = "labelfind";
|
|
|
|
this.labelfind.Size = new System.Drawing.Size(56, 13);
|
|
|
|
this.labelfind.TabIndex = 2;
|
|
|
|
this.labelfind.Text = "Find what:";
|
2009-04-19 18:07:22 +00:00
|
|
|
//
|
|
|
|
// searchtypes
|
|
|
|
//
|
|
|
|
this.searchtypes.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
|
|
this.searchtypes.FormattingEnabled = true;
|
2015-04-04 22:11:36 +00:00
|
|
|
this.searchtypes.Location = new System.Drawing.Point(109, 12);
|
2016-03-24 09:25:54 +00:00
|
|
|
this.searchtypes.MaxDropDownItems = 40;
|
2009-04-19 18:07:22 +00:00
|
|
|
this.searchtypes.Name = "searchtypes";
|
2015-04-04 22:11:36 +00:00
|
|
|
this.searchtypes.Size = new System.Drawing.Size(156, 21);
|
2009-04-19 18:07:22 +00:00
|
|
|
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
|
|
|
|
//
|
2015-04-04 22:11:36 +00:00
|
|
|
this.findinput.Location = new System.Drawing.Point(109, 48);
|
2009-04-19 18:07:22 +00:00
|
|
|
this.findinput.Name = "findinput";
|
2015-04-04 22:11:36 +00:00
|
|
|
this.findinput.Size = new System.Drawing.Size(122, 20);
|
2009-04-26 19:53:36 +00:00
|
|
|
this.findinput.TabIndex = 1;
|
2014-11-05 12:32:48 +00:00
|
|
|
this.findinput.TextChanged += new System.EventHandler(this.findinput_TextChanged);
|
2009-04-19 18:07:22 +00:00
|
|
|
//
|
|
|
|
// browsefind
|
|
|
|
//
|
|
|
|
this.browsefind.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.treeview;
|
2015-04-04 22:11:36 +00:00
|
|
|
this.browsefind.Location = new System.Drawing.Point(237, 45);
|
2009-04-19 18:07:22 +00:00
|
|
|
this.browsefind.Name = "browsefind";
|
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;
|
2015-04-04 22:11:36 +00:00
|
|
|
this.withinselection.Location = new System.Drawing.Point(109, 76);
|
2009-04-19 18:07:22 +00:00
|
|
|
this.withinselection.Name = "withinselection";
|
2015-01-06 11:49:06 +00:00
|
|
|
this.withinselection.Size = new System.Drawing.Size(137, 17);
|
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
|
|
|
|
//
|
2015-04-04 22:11:36 +00:00
|
|
|
this.browsereplace.Enabled = false;
|
2009-04-19 18:07:22 +00:00
|
|
|
this.browsereplace.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.treeview;
|
2015-04-04 22:11:36 +00:00
|
|
|
this.browsereplace.Location = new System.Drawing.Point(237, 97);
|
2009-04-19 18:07:22 +00:00
|
|
|
this.browsereplace.Name = "browsereplace";
|
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
|
|
|
|
//
|
2015-04-04 22:11:36 +00:00
|
|
|
this.replaceinput.Enabled = false;
|
|
|
|
this.replaceinput.Location = new System.Drawing.Point(109, 100);
|
2009-04-19 18:07:22 +00:00
|
|
|
this.replaceinput.Name = "replaceinput";
|
2015-04-04 22:11:36 +00:00
|
|
|
this.replaceinput.Size = new System.Drawing.Size(122, 20);
|
2009-04-26 19:53:36 +00:00
|
|
|
this.replaceinput.TabIndex = 0;
|
2009-04-19 18:07:22 +00:00
|
|
|
//
|
|
|
|
// findbutton
|
|
|
|
//
|
2014-11-05 12:32:48 +00:00
|
|
|
this.findbutton.Enabled = false;
|
2015-04-04 22:11:36 +00:00
|
|
|
this.findbutton.Location = new System.Drawing.Point(273, 10);
|
2009-04-19 18:07:22 +00:00
|
|
|
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;
|
2015-04-04 22:11:36 +00:00
|
|
|
this.closebutton.Location = new System.Drawing.Point(273, 39);
|
2009-04-19 18:07:22 +00:00
|
|
|
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.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";
|
2015-01-06 11:49:06 +00:00
|
|
|
this.resultscount.Size = new System.Drawing.Size(156, 13);
|
2009-04-19 18:07:22 +00:00
|
|
|
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);
|
2015-04-04 22:11:36 +00:00
|
|
|
this.resultspanel.Location = new System.Drawing.Point(-1, 133);
|
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);
|
|
|
|
//
|
|
|
|
// doreplace
|
|
|
|
//
|
|
|
|
this.doreplace.AutoSize = true;
|
2015-04-04 22:11:36 +00:00
|
|
|
this.doreplace.Location = new System.Drawing.Point(12, 102);
|
2009-04-19 18:07:22 +00:00
|
|
|
this.doreplace.Name = "doreplace";
|
2015-04-04 22:11:36 +00:00
|
|
|
this.doreplace.Size = new System.Drawing.Size(91, 17);
|
2009-04-26 19:53:36 +00:00
|
|
|
this.doreplace.TabIndex = 4;
|
2015-04-04 22:11:36 +00:00
|
|
|
this.doreplace.Text = "Replace with:";
|
2009-04-19 18:07:22 +00:00
|
|
|
this.doreplace.UseVisualStyleBackColor = true;
|
|
|
|
this.doreplace.CheckedChanged += new System.EventHandler(this.doreplace_CheckedChanged);
|
|
|
|
//
|
2016-04-18 13:58:08 +00:00
|
|
|
// tooltip
|
|
|
|
//
|
|
|
|
this.tooltip.AutoPopDelay = 10000;
|
|
|
|
this.tooltip.InitialDelay = 100;
|
|
|
|
this.tooltip.ReshowDelay = 100;
|
|
|
|
//
|
2009-04-19 18:07:22 +00:00
|
|
|
// FindReplaceForm
|
|
|
|
//
|
|
|
|
this.AcceptButton = this.findbutton;
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
|
|
this.CancelButton = this.closebutton;
|
2015-04-04 22:11:36 +00:00
|
|
|
this.ClientSize = new System.Drawing.Size(358, 417);
|
|
|
|
this.Controls.Add(this.browsereplace);
|
|
|
|
this.Controls.Add(this.replaceinput);
|
2009-04-19 18:07:22 +00:00
|
|
|
this.Controls.Add(this.doreplace);
|
|
|
|
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);
|
2016-04-18 13:58:08 +00:00
|
|
|
this.Controls.Add(this.labelfind);
|
2009-04-19 18:07:22 +00:00
|
|
|
this.Controls.Add(this.searchtypes);
|
|
|
|
this.Controls.Add(label1);
|
|
|
|
this.Controls.Add(this.resultspanel);
|
2014-10-17 12:50:26 +00:00
|
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
2009-04-19 18:07:22 +00:00
|
|
|
this.MaximizeBox = false;
|
|
|
|
this.MinimizeBox = false;
|
|
|
|
this.Name = "FindReplaceForm";
|
2015-04-04 22:11:36 +00:00
|
|
|
this.Opacity = 1;
|
2009-04-19 18:07:22 +00:00
|
|
|
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.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.CheckBox doreplace;
|
|
|
|
private System.Windows.Forms.Button editbutton;
|
|
|
|
private System.Windows.Forms.Button deletebutton;
|
2016-04-18 13:58:08 +00:00
|
|
|
private System.Windows.Forms.ToolTip tooltip;
|
|
|
|
private System.Windows.Forms.Label labelfind;
|
2009-04-19 18:07:22 +00:00
|
|
|
}
|
|
|
|
}
|