mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-12-11 12:51:20 +00:00
6c1dbc0bf3
"Find Any Texture or Flat", "Find Sector Flat" and "Find Sidedef Texture" options now support "*" (match any number of characters) and "?" (match any single character) wildcards. "Find Any Texture or Flat" is now available any game configuration (previously it was disabled when "MixTexturesFlats" game configuration option was disabled, now only "Replace" functionality is disabled). "Find Thing Flags" and "Find Linedef Flags" can now replace flags. Added "Find Sidedef Flags" and "Find Sector Flags" search options.
308 lines
No EOL
13 KiB
C#
308 lines
No EOL
13 KiB
C#
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();
|
|
this.findinput = new CodeImp.DoomBuilder.Controls.AutoSelectTextbox();
|
|
this.browsefind = new System.Windows.Forms.Button();
|
|
this.withinselection = new System.Windows.Forms.CheckBox();
|
|
this.browsereplace = new System.Windows.Forms.Button();
|
|
this.replaceinput = new CodeImp.DoomBuilder.Controls.AutoSelectTextbox();
|
|
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;
|
|
this.searchtypes.TabIndex = 0;
|
|
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);
|
|
this.findinput.TabIndex = 1;
|
|
this.findinput.TextChanged += new System.EventHandler(this.findinput_TextChanged);
|
|
//
|
|
// 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;
|
|
this.browsefind.Location = new System.Drawing.Point(212, 46);
|
|
this.browsefind.Name = "browsefind";
|
|
this.browsefind.Size = new System.Drawing.Size(28, 25);
|
|
this.browsefind.TabIndex = 2;
|
|
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);
|
|
this.withinselection.TabIndex = 3;
|
|
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;
|
|
this.browsereplace.Location = new System.Drawing.Point(203, 23);
|
|
this.browsereplace.Name = "browsereplace";
|
|
this.browsereplace.Size = new System.Drawing.Size(28, 25);
|
|
this.browsereplace.TabIndex = 1;
|
|
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);
|
|
this.replaceinput.TabIndex = 0;
|
|
//
|
|
// findbutton
|
|
//
|
|
this.findbutton.Enabled = false;
|
|
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
|
|
//
|
|
this.resultslist.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| 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;
|
|
this.resultslist.Size = new System.Drawing.Size(341, 212);
|
|
this.resultslist.TabIndex = 0;
|
|
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);
|
|
this.resultspanel.Location = new System.Drawing.Point(-1, 188);
|
|
this.resultspanel.Name = "resultspanel";
|
|
this.resultspanel.Size = new System.Drawing.Size(362, 285);
|
|
this.resultspanel.TabIndex = 6;
|
|
this.resultspanel.Visible = false;
|
|
//
|
|
// deletebutton
|
|
//
|
|
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);
|
|
this.deletebutton.Name = "deletebutton";
|
|
this.deletebutton.Size = new System.Drawing.Size(109, 25);
|
|
this.deletebutton.TabIndex = 2;
|
|
this.deletebutton.Text = "Delete Selection";
|
|
this.deletebutton.UseVisualStyleBackColor = true;
|
|
this.deletebutton.Click += new System.EventHandler(this.deletebutton_Click);
|
|
//
|
|
// editbutton
|
|
//
|
|
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);
|
|
this.editbutton.Name = "editbutton";
|
|
this.editbutton.Size = new System.Drawing.Size(109, 25);
|
|
this.editbutton.TabIndex = 1;
|
|
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";
|
|
this.groupreplace.Size = new System.Drawing.Size(256, 64);
|
|
this.groupreplace.TabIndex = 5;
|
|
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);
|
|
this.doreplace.TabIndex = 4;
|
|
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.FixedDialog;
|
|
this.KeyPreview = true;
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "FindReplaceForm";
|
|
this.Opacity = 1;
|
|
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;
|
|
private CodeImp.DoomBuilder.Controls.AutoSelectTextbox findinput;
|
|
private System.Windows.Forms.Button browsefind;
|
|
private System.Windows.Forms.CheckBox withinselection;
|
|
private System.Windows.Forms.Button browsereplace;
|
|
private CodeImp.DoomBuilder.Controls.AutoSelectTextbox replaceinput;
|
|
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;
|
|
}
|
|
} |