mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-26 22:01:45 +00:00
287 lines
No EOL
12 KiB
C#
Executable file
287 lines
No EOL
12 KiB
C#
Executable file
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()
|
|
{
|
|
this.components = new System.ComponentModel.Container();
|
|
System.Windows.Forms.Label label1;
|
|
this.labelfind = 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.doreplace = new System.Windows.Forms.CheckBox();
|
|
this.tooltip = new System.Windows.Forms.ToolTip(this.components);
|
|
label1 = new System.Windows.Forms.Label();
|
|
this.resultspanel.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new System.Drawing.Point(36, 15);
|
|
label1.Name = "label1";
|
|
label1.Size = new System.Drawing.Size(67, 13);
|
|
label1.TabIndex = 0;
|
|
label1.Text = "Search type:";
|
|
//
|
|
// labelfind
|
|
//
|
|
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:";
|
|
//
|
|
// searchtypes
|
|
//
|
|
this.searchtypes.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.searchtypes.FormattingEnabled = true;
|
|
this.searchtypes.Location = new System.Drawing.Point(109, 12);
|
|
this.searchtypes.MaxDropDownItems = 40;
|
|
this.searchtypes.Name = "searchtypes";
|
|
this.searchtypes.Size = new System.Drawing.Size(156, 21);
|
|
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(109, 48);
|
|
this.findinput.Name = "findinput";
|
|
this.findinput.Size = new System.Drawing.Size(122, 20);
|
|
this.findinput.TabIndex = 1;
|
|
this.findinput.TextChanged += new System.EventHandler(this.findinput_TextChanged);
|
|
//
|
|
// browsefind
|
|
//
|
|
this.browsefind.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.treeview;
|
|
this.browsefind.Location = new System.Drawing.Point(237, 45);
|
|
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(109, 76);
|
|
this.withinselection.Name = "withinselection";
|
|
this.withinselection.Size = new System.Drawing.Size(137, 17);
|
|
this.withinselection.TabIndex = 3;
|
|
this.withinselection.Text = "Within current selection";
|
|
this.withinselection.UseVisualStyleBackColor = true;
|
|
//
|
|
// browsereplace
|
|
//
|
|
this.browsereplace.Enabled = false;
|
|
this.browsereplace.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.treeview;
|
|
this.browsereplace.Location = new System.Drawing.Point(237, 97);
|
|
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.Enabled = false;
|
|
this.replaceinput.Location = new System.Drawing.Point(109, 100);
|
|
this.replaceinput.Name = "replaceinput";
|
|
this.replaceinput.Size = new System.Drawing.Size(122, 20);
|
|
this.replaceinput.TabIndex = 0;
|
|
//
|
|
// findbutton
|
|
//
|
|
this.findbutton.Enabled = false;
|
|
this.findbutton.Location = new System.Drawing.Point(273, 10);
|
|
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, 39);
|
|
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.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(156, 13);
|
|
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, 133);
|
|
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);
|
|
//
|
|
// doreplace
|
|
//
|
|
this.doreplace.AutoSize = true;
|
|
this.doreplace.Location = new System.Drawing.Point(12, 102);
|
|
this.doreplace.Name = "doreplace";
|
|
this.doreplace.Size = new System.Drawing.Size(91, 17);
|
|
this.doreplace.TabIndex = 4;
|
|
this.doreplace.Text = "Replace with:";
|
|
this.doreplace.UseVisualStyleBackColor = true;
|
|
this.doreplace.CheckedChanged += new System.EventHandler(this.doreplace_CheckedChanged);
|
|
//
|
|
// tooltip
|
|
//
|
|
this.tooltip.AutoPopDelay = 10000;
|
|
this.tooltip.InitialDelay = 100;
|
|
this.tooltip.ReshowDelay = 100;
|
|
//
|
|
// 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, 417);
|
|
this.Controls.Add(this.browsereplace);
|
|
this.Controls.Add(this.replaceinput);
|
|
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);
|
|
this.Controls.Add(this.labelfind);
|
|
this.Controls.Add(this.searchtypes);
|
|
this.Controls.Add(label1);
|
|
this.Controls.Add(this.resultspanel);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|
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.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.CheckBox doreplace;
|
|
private System.Windows.Forms.Button editbutton;
|
|
private System.Windows.Forms.Button deletebutton;
|
|
private System.Windows.Forms.ToolTip tooltip;
|
|
private System.Windows.Forms.Label labelfind;
|
|
}
|
|
} |