2022-07-11 17:52:15 +00:00
|
|
|
|
namespace UI_WinForms.Components
|
|
|
|
|
{
|
|
|
|
|
partial class TextElements
|
|
|
|
|
{
|
|
|
|
|
/// <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 Component 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();
|
|
|
|
|
this.tableLayout = new System.Windows.Forms.TableLayoutPanel();
|
|
|
|
|
this.flowLayoutToolbar = new System.Windows.Forms.FlowLayoutPanel();
|
|
|
|
|
this.buttonAdd = new System.Windows.Forms.Button();
|
|
|
|
|
this.buttonRemove = new System.Windows.Forms.Button();
|
|
|
|
|
this.buttonRename = new System.Windows.Forms.Button();
|
|
|
|
|
this.textBoxFilter = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.labelFilter = new System.Windows.Forms.Label();
|
2022-07-12 19:05:50 +00:00
|
|
|
|
this.labelSectionPath = new System.Windows.Forms.Label();
|
2022-07-17 14:01:11 +00:00
|
|
|
|
this.listTextElements = new System.Windows.Forms.ListView();
|
2022-07-17 18:47:17 +00:00
|
|
|
|
this.column = new System.Windows.Forms.ColumnHeader();
|
2022-07-17 10:56:06 +00:00
|
|
|
|
this.toolTip = new System.Windows.Forms.ToolTip(this.components);
|
2022-09-17 17:23:11 +00:00
|
|
|
|
this.buttonChangeMultiLine = new System.Windows.Forms.Button();
|
2022-07-11 17:52:15 +00:00
|
|
|
|
this.tableLayout.SuspendLayout();
|
|
|
|
|
this.flowLayoutToolbar.SuspendLayout();
|
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// tableLayout
|
|
|
|
|
//
|
|
|
|
|
this.tableLayout.ColumnCount = 3;
|
|
|
|
|
this.tableLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 66F));
|
|
|
|
|
this.tableLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F));
|
|
|
|
|
this.tableLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
|
|
|
|
this.tableLayout.Controls.Add(this.flowLayoutToolbar, 0, 0);
|
2022-07-12 19:05:50 +00:00
|
|
|
|
this.tableLayout.Controls.Add(this.textBoxFilter, 2, 2);
|
|
|
|
|
this.tableLayout.Controls.Add(this.labelFilter, 1, 2);
|
|
|
|
|
this.tableLayout.Controls.Add(this.labelSectionPath, 1, 0);
|
2022-07-17 14:01:11 +00:00
|
|
|
|
this.tableLayout.Controls.Add(this.listTextElements, 1, 1);
|
2022-07-11 17:52:15 +00:00
|
|
|
|
this.tableLayout.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
this.tableLayout.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
this.tableLayout.Name = "tableLayout";
|
2022-07-12 19:05:50 +00:00
|
|
|
|
this.tableLayout.RowCount = 3;
|
|
|
|
|
this.tableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 40F));
|
2022-07-12 18:02:47 +00:00
|
|
|
|
this.tableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
|
|
|
|
this.tableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 40F));
|
2022-09-17 17:23:11 +00:00
|
|
|
|
this.tableLayout.Size = new System.Drawing.Size(706, 302);
|
2022-07-11 17:52:15 +00:00
|
|
|
|
this.tableLayout.TabIndex = 0;
|
|
|
|
|
//
|
|
|
|
|
// flowLayoutToolbar
|
|
|
|
|
//
|
|
|
|
|
this.flowLayoutToolbar.Controls.Add(this.buttonAdd);
|
|
|
|
|
this.flowLayoutToolbar.Controls.Add(this.buttonRemove);
|
|
|
|
|
this.flowLayoutToolbar.Controls.Add(this.buttonRename);
|
2022-09-17 17:23:11 +00:00
|
|
|
|
this.flowLayoutToolbar.Controls.Add(this.buttonChangeMultiLine);
|
2022-07-11 17:52:15 +00:00
|
|
|
|
this.flowLayoutToolbar.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
this.flowLayoutToolbar.FlowDirection = System.Windows.Forms.FlowDirection.BottomUp;
|
|
|
|
|
this.flowLayoutToolbar.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
this.flowLayoutToolbar.Margin = new System.Windows.Forms.Padding(0);
|
|
|
|
|
this.flowLayoutToolbar.Name = "flowLayoutToolbar";
|
2022-07-12 19:05:50 +00:00
|
|
|
|
this.tableLayout.SetRowSpan(this.flowLayoutToolbar, 3);
|
2022-09-17 17:23:11 +00:00
|
|
|
|
this.flowLayoutToolbar.Size = new System.Drawing.Size(66, 302);
|
2022-07-11 17:52:15 +00:00
|
|
|
|
this.flowLayoutToolbar.TabIndex = 0;
|
|
|
|
|
//
|
|
|
|
|
// buttonAdd
|
|
|
|
|
//
|
2022-07-12 18:20:17 +00:00
|
|
|
|
this.buttonAdd.Enabled = false;
|
2022-07-11 17:52:15 +00:00
|
|
|
|
this.buttonAdd.FlatAppearance.BorderSize = 0;
|
|
|
|
|
this.buttonAdd.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
|
|
|
this.buttonAdd.Image = global::UI_WinForms.Resources.Icons.icons8_add_tag_512;
|
2022-09-17 17:23:11 +00:00
|
|
|
|
this.buttonAdd.Location = new System.Drawing.Point(3, 239);
|
2022-07-11 17:52:15 +00:00
|
|
|
|
this.buttonAdd.Name = "buttonAdd";
|
|
|
|
|
this.buttonAdd.Size = new System.Drawing.Size(60, 60);
|
|
|
|
|
this.buttonAdd.TabIndex = 0;
|
|
|
|
|
this.toolTip.SetToolTip(this.buttonAdd, "Add text element to selected section");
|
|
|
|
|
this.buttonAdd.UseVisualStyleBackColor = true;
|
2022-07-17 10:56:06 +00:00
|
|
|
|
this.buttonAdd.Click += new System.EventHandler(this.buttonAdd_Click);
|
2022-07-11 17:52:15 +00:00
|
|
|
|
//
|
|
|
|
|
// buttonRemove
|
|
|
|
|
//
|
2022-07-12 18:20:17 +00:00
|
|
|
|
this.buttonRemove.Enabled = false;
|
2022-07-11 17:52:15 +00:00
|
|
|
|
this.buttonRemove.FlatAppearance.BorderSize = 0;
|
|
|
|
|
this.buttonRemove.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
|
|
|
this.buttonRemove.Image = global::UI_WinForms.Resources.Icons.icons8_remove_tag_512;
|
2022-09-17 17:23:11 +00:00
|
|
|
|
this.buttonRemove.Location = new System.Drawing.Point(3, 173);
|
2022-07-11 17:52:15 +00:00
|
|
|
|
this.buttonRemove.Name = "buttonRemove";
|
|
|
|
|
this.buttonRemove.Size = new System.Drawing.Size(60, 60);
|
|
|
|
|
this.buttonRemove.TabIndex = 2;
|
|
|
|
|
this.toolTip.SetToolTip(this.buttonRemove, "Delete this text element");
|
|
|
|
|
this.buttonRemove.UseVisualStyleBackColor = true;
|
2022-07-17 10:56:06 +00:00
|
|
|
|
this.buttonRemove.Click += new System.EventHandler(this.buttonRemove_Click);
|
2022-07-11 17:52:15 +00:00
|
|
|
|
//
|
|
|
|
|
// buttonRename
|
|
|
|
|
//
|
2022-07-12 18:20:17 +00:00
|
|
|
|
this.buttonRename.Enabled = false;
|
2022-07-11 17:52:15 +00:00
|
|
|
|
this.buttonRename.FlatAppearance.BorderSize = 0;
|
|
|
|
|
this.buttonRename.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
|
|
|
this.buttonRename.Image = global::UI_WinForms.Resources.Icons.icons8_rename_512;
|
2022-09-17 17:23:11 +00:00
|
|
|
|
this.buttonRename.Location = new System.Drawing.Point(3, 107);
|
2022-07-11 17:52:15 +00:00
|
|
|
|
this.buttonRename.Name = "buttonRename";
|
|
|
|
|
this.buttonRename.Size = new System.Drawing.Size(60, 60);
|
|
|
|
|
this.buttonRename.TabIndex = 1;
|
|
|
|
|
this.toolTip.SetToolTip(this.buttonRename, "Rename this text element");
|
|
|
|
|
this.buttonRename.UseVisualStyleBackColor = true;
|
2022-07-17 10:56:06 +00:00
|
|
|
|
this.buttonRename.Click += new System.EventHandler(this.buttonRename_Click);
|
2022-07-11 17:52:15 +00:00
|
|
|
|
//
|
|
|
|
|
// textBoxFilter
|
|
|
|
|
//
|
|
|
|
|
this.textBoxFilter.Dock = System.Windows.Forms.DockStyle.Fill;
|
2022-09-17 17:23:11 +00:00
|
|
|
|
this.textBoxFilter.Location = new System.Drawing.Point(149, 265);
|
2022-07-11 17:52:15 +00:00
|
|
|
|
this.textBoxFilter.Name = "textBoxFilter";
|
|
|
|
|
this.textBoxFilter.Size = new System.Drawing.Size(554, 34);
|
|
|
|
|
this.textBoxFilter.TabIndex = 2;
|
|
|
|
|
this.textBoxFilter.WordWrap = false;
|
2022-07-21 19:14:32 +00:00
|
|
|
|
this.textBoxFilter.KeyUp += new System.Windows.Forms.KeyEventHandler(this.textBoxFilter_KeyUp);
|
2022-07-11 17:52:15 +00:00
|
|
|
|
//
|
|
|
|
|
// labelFilter
|
|
|
|
|
//
|
|
|
|
|
this.labelFilter.AutoSize = true;
|
|
|
|
|
this.labelFilter.Dock = System.Windows.Forms.DockStyle.Fill;
|
2022-09-17 17:23:11 +00:00
|
|
|
|
this.labelFilter.Location = new System.Drawing.Point(69, 262);
|
2022-07-11 17:52:15 +00:00
|
|
|
|
this.labelFilter.Name = "labelFilter";
|
|
|
|
|
this.labelFilter.Size = new System.Drawing.Size(74, 40);
|
|
|
|
|
this.labelFilter.TabIndex = 3;
|
|
|
|
|
this.labelFilter.Text = "Filter:";
|
|
|
|
|
this.labelFilter.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
|
|
|
|
//
|
2022-07-12 19:05:50 +00:00
|
|
|
|
// labelSectionPath
|
|
|
|
|
//
|
|
|
|
|
this.labelSectionPath.AutoSize = true;
|
|
|
|
|
this.tableLayout.SetColumnSpan(this.labelSectionPath, 2);
|
|
|
|
|
this.labelSectionPath.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
this.labelSectionPath.Location = new System.Drawing.Point(69, 0);
|
|
|
|
|
this.labelSectionPath.Name = "labelSectionPath";
|
|
|
|
|
this.labelSectionPath.Size = new System.Drawing.Size(634, 40);
|
|
|
|
|
this.labelSectionPath.TabIndex = 4;
|
|
|
|
|
this.labelSectionPath.Text = "Path";
|
|
|
|
|
this.labelSectionPath.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
|
|
|
this.toolTip.SetToolTip(this.labelSectionPath, "The path of the currently selected section");
|
|
|
|
|
//
|
2022-07-17 14:01:11 +00:00
|
|
|
|
// listTextElements
|
|
|
|
|
//
|
2022-07-17 18:47:17 +00:00
|
|
|
|
this.listTextElements.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
|
|
|
|
this.column});
|
2022-07-17 14:01:11 +00:00
|
|
|
|
this.tableLayout.SetColumnSpan(this.listTextElements, 2);
|
|
|
|
|
this.listTextElements.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
this.listTextElements.FullRowSelect = true;
|
|
|
|
|
this.listTextElements.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
|
|
|
|
|
this.listTextElements.Location = new System.Drawing.Point(69, 43);
|
|
|
|
|
this.listTextElements.MultiSelect = false;
|
|
|
|
|
this.listTextElements.Name = "listTextElements";
|
2022-09-17 17:23:11 +00:00
|
|
|
|
this.listTextElements.Size = new System.Drawing.Size(634, 216);
|
2022-07-17 14:01:11 +00:00
|
|
|
|
this.listTextElements.TabIndex = 5;
|
|
|
|
|
this.listTextElements.UseCompatibleStateImageBehavior = false;
|
2022-07-21 19:02:22 +00:00
|
|
|
|
this.listTextElements.View = System.Windows.Forms.View.SmallIcon;
|
2022-07-20 18:51:12 +00:00
|
|
|
|
this.listTextElements.ItemSelectionChanged += new System.Windows.Forms.ListViewItemSelectionChangedEventHandler(this.listTextElements_ItemSelectionChanged);
|
2022-07-17 18:47:17 +00:00
|
|
|
|
//
|
|
|
|
|
// column
|
|
|
|
|
//
|
|
|
|
|
this.column.Width = 194;
|
2022-07-17 14:01:11 +00:00
|
|
|
|
//
|
2022-07-17 10:56:06 +00:00
|
|
|
|
// toolTip
|
|
|
|
|
//
|
|
|
|
|
this.toolTip.AutoPopDelay = 30000;
|
|
|
|
|
this.toolTip.InitialDelay = 500;
|
|
|
|
|
this.toolTip.ReshowDelay = 100;
|
|
|
|
|
this.toolTip.ToolTipIcon = System.Windows.Forms.ToolTipIcon.Info;
|
|
|
|
|
this.toolTip.ToolTipTitle = "Help";
|
|
|
|
|
//
|
2022-09-17 17:23:11 +00:00
|
|
|
|
// buttonChangeMultiLine
|
|
|
|
|
//
|
|
|
|
|
this.buttonChangeMultiLine.Enabled = false;
|
|
|
|
|
this.buttonChangeMultiLine.FlatAppearance.BorderSize = 0;
|
|
|
|
|
this.buttonChangeMultiLine.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
|
|
|
this.buttonChangeMultiLine.Image = global::UI_WinForms.Resources.Icons.icons8_align_text_left_512;
|
|
|
|
|
this.buttonChangeMultiLine.Location = new System.Drawing.Point(3, 41);
|
|
|
|
|
this.buttonChangeMultiLine.Name = "buttonChangeMultiLine";
|
|
|
|
|
this.buttonChangeMultiLine.Size = new System.Drawing.Size(60, 60);
|
|
|
|
|
this.buttonChangeMultiLine.TabIndex = 3;
|
|
|
|
|
this.toolTip.SetToolTip(this.buttonChangeMultiLine, "Toggles the selected element\'s multi-line state");
|
|
|
|
|
this.buttonChangeMultiLine.UseVisualStyleBackColor = true;
|
|
|
|
|
this.buttonChangeMultiLine.Click += new System.EventHandler(this.buttonChangeMultiLine_Click);
|
|
|
|
|
//
|
2022-07-11 17:52:15 +00:00
|
|
|
|
// TextElements
|
|
|
|
|
//
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(120F, 120F);
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
|
|
|
this.Controls.Add(this.tableLayout);
|
|
|
|
|
this.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
|
|
|
|
this.Name = "TextElements";
|
2022-09-17 17:23:11 +00:00
|
|
|
|
this.Size = new System.Drawing.Size(706, 302);
|
2022-07-11 17:52:15 +00:00
|
|
|
|
this.tableLayout.ResumeLayout(false);
|
|
|
|
|
this.tableLayout.PerformLayout();
|
|
|
|
|
this.flowLayoutToolbar.ResumeLayout(false);
|
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private TableLayoutPanel tableLayout;
|
|
|
|
|
private FlowLayoutPanel flowLayoutToolbar;
|
|
|
|
|
private Button buttonAdd;
|
|
|
|
|
private Button buttonRename;
|
|
|
|
|
private Button buttonRemove;
|
|
|
|
|
private ToolTip toolTip;
|
|
|
|
|
private TextBox textBoxFilter;
|
|
|
|
|
private Label labelFilter;
|
2022-07-12 19:05:50 +00:00
|
|
|
|
private Label labelSectionPath;
|
2022-07-17 14:01:11 +00:00
|
|
|
|
private ListView listTextElements;
|
2022-07-17 18:47:17 +00:00
|
|
|
|
private ColumnHeader column;
|
2022-09-17 17:23:11 +00:00
|
|
|
|
private Button buttonChangeMultiLine;
|
2022-07-11 17:52:15 +00:00
|
|
|
|
}
|
|
|
|
|
}
|