2020-03-28 12:42:32 +13:00
|
|
|
|
namespace SystemTrayMenu.UserInterface
|
2019-07-05 05:04:14 +12:00
|
|
|
|
{
|
|
|
|
|
partial class Menu
|
|
|
|
|
{
|
|
|
|
|
/// <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();
|
|
|
|
|
}
|
2020-04-01 07:42:49 +13:00
|
|
|
|
fading.Dispose();
|
2019-07-05 05:04:14 +12:00
|
|
|
|
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()
|
|
|
|
|
{
|
2020-05-14 05:14:51 +12:00
|
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
2020-05-24 12:40:44 +12:00
|
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
2019-07-05 05:04:14 +12:00
|
|
|
|
this.tableLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
|
2020-05-24 11:52:42 +12:00
|
|
|
|
this.labelTitle = new SystemTrayMenu.UserInterface.LabelNoCopy();
|
2020-05-24 12:40:44 +12:00
|
|
|
|
this.ColumnText = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.ColumnIcon = new System.Windows.Forms.DataGridViewImageColumn();
|
|
|
|
|
this.dgv = new System.Windows.Forms.DataGridView();
|
2020-05-06 12:39:38 +12:00
|
|
|
|
this.pictureBoxSearch = new System.Windows.Forms.PictureBox();
|
2020-05-24 12:40:44 +12:00
|
|
|
|
this.textBoxSearch = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.tableLayoutPanelSearch = new System.Windows.Forms.TableLayoutPanel();
|
2019-07-05 05:04:14 +12:00
|
|
|
|
this.tableLayoutPanel.SuspendLayout();
|
2020-05-24 12:40:44 +12:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dgv)).BeginInit();
|
2020-05-06 12:39:38 +12:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBoxSearch)).BeginInit();
|
2020-05-24 12:40:44 +12:00
|
|
|
|
this.tableLayoutPanelSearch.SuspendLayout();
|
2019-07-05 05:04:14 +12:00
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
//
|
2020-05-24 12:40:44 +12:00
|
|
|
|
// tableLayoutPanel
|
|
|
|
|
//
|
|
|
|
|
this.tableLayoutPanel.AutoScroll = true;
|
|
|
|
|
this.tableLayoutPanel.AutoSize = true;
|
|
|
|
|
this.tableLayoutPanel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
|
|
|
|
this.tableLayoutPanel.ColumnCount = 1;
|
|
|
|
|
this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
|
|
|
|
this.tableLayoutPanel.Controls.Add(this.labelTitle, 0, 0);
|
|
|
|
|
this.tableLayoutPanel.Controls.Add(this.dgv, 0, 1);
|
|
|
|
|
this.tableLayoutPanel.Controls.Add(this.tableLayoutPanelSearch, 0, 2);
|
|
|
|
|
this.tableLayoutPanel.Location = new System.Drawing.Point(1, 1);
|
|
|
|
|
this.tableLayoutPanel.Margin = new System.Windows.Forms.Padding(0);
|
|
|
|
|
this.tableLayoutPanel.Name = "tableLayoutPanel";
|
|
|
|
|
this.tableLayoutPanel.RowCount = 3;
|
|
|
|
|
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
|
|
|
|
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
|
|
|
|
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
|
|
|
|
this.tableLayoutPanel.Size = new System.Drawing.Size(83, 182);
|
|
|
|
|
this.tableLayoutPanel.TabIndex = 3;
|
2020-07-07 02:46:47 +12:00
|
|
|
|
this.tableLayoutPanel.MouseWheel += new System.Windows.Forms.MouseEventHandler(this.DgvMouseWheel);
|
2020-05-24 12:40:44 +12:00
|
|
|
|
//
|
|
|
|
|
// labelTitle
|
|
|
|
|
//
|
|
|
|
|
this.labelTitle.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
|
this.labelTitle.AutoEllipsis = true;
|
|
|
|
|
this.labelTitle.AutoSize = true;
|
|
|
|
|
this.labelTitle.BackColor = System.Drawing.Color.Azure;
|
|
|
|
|
this.labelTitle.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
|
|
|
this.labelTitle.ForeColor = System.Drawing.Color.Black;
|
|
|
|
|
this.labelTitle.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
this.labelTitle.Margin = new System.Windows.Forms.Padding(0);
|
|
|
|
|
this.labelTitle.Name = "labelTitle";
|
|
|
|
|
this.labelTitle.Padding = new System.Windows.Forms.Padding(3, 0, 0, 1);
|
|
|
|
|
this.labelTitle.Size = new System.Drawing.Size(83, 14);
|
|
|
|
|
this.labelTitle.TabIndex = 2;
|
|
|
|
|
this.labelTitle.Text = "STM";
|
|
|
|
|
this.labelTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
|
|
|
this.labelTitle.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.LabelTitle_MouseDoubleClick);
|
|
|
|
|
this.labelTitle.MouseEnter += new System.EventHandler(this.LabelTitle_MouseEnter);
|
|
|
|
|
this.labelTitle.MouseLeave += new System.EventHandler(this.LabelTitle_MouseLeave);
|
2020-07-07 02:46:47 +12:00
|
|
|
|
this.labelTitle.MouseWheel += new System.Windows.Forms.MouseEventHandler(this.DgvMouseWheel);
|
2020-05-24 12:40:44 +12:00
|
|
|
|
//
|
|
|
|
|
// ColumnText
|
|
|
|
|
//
|
|
|
|
|
this.ColumnText.DataPropertyName = "ColumnText";
|
|
|
|
|
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
|
|
|
dataGridViewCellStyle2.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0);
|
|
|
|
|
this.ColumnText.DefaultCellStyle = dataGridViewCellStyle2;
|
|
|
|
|
this.ColumnText.Frozen = true;
|
|
|
|
|
this.ColumnText.HeaderText = "ColumnText";
|
|
|
|
|
this.ColumnText.MaxInputLength = 40;
|
|
|
|
|
this.ColumnText.Name = "ColumnText";
|
|
|
|
|
this.ColumnText.ReadOnly = true;
|
|
|
|
|
this.ColumnText.Resizable = System.Windows.Forms.DataGridViewTriState.False;
|
|
|
|
|
this.ColumnText.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic;
|
|
|
|
|
this.ColumnText.Width = 50;
|
|
|
|
|
//
|
|
|
|
|
// ColumnIcon
|
|
|
|
|
//
|
|
|
|
|
this.ColumnIcon.DataPropertyName = "ColumnIcon";
|
|
|
|
|
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
|
|
|
dataGridViewCellStyle1.NullValue = "System.Drawing.Icon";
|
|
|
|
|
dataGridViewCellStyle1.Padding = new System.Windows.Forms.Padding(3, 2, 6, 2);
|
|
|
|
|
this.ColumnIcon.DefaultCellStyle = dataGridViewCellStyle1;
|
|
|
|
|
this.ColumnIcon.Frozen = true;
|
|
|
|
|
this.ColumnIcon.HeaderText = "ColumnIcon";
|
|
|
|
|
this.ColumnIcon.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Zoom;
|
|
|
|
|
this.ColumnIcon.Name = "ColumnIcon";
|
|
|
|
|
this.ColumnIcon.ReadOnly = true;
|
|
|
|
|
this.ColumnIcon.Resizable = System.Windows.Forms.DataGridViewTriState.False;
|
|
|
|
|
this.ColumnIcon.Width = 25;
|
|
|
|
|
//
|
2019-07-05 05:04:14 +12:00
|
|
|
|
// dgv
|
|
|
|
|
//
|
|
|
|
|
this.dgv.AllowUserToAddRows = false;
|
|
|
|
|
this.dgv.AllowUserToDeleteRows = false;
|
|
|
|
|
this.dgv.AllowUserToResizeColumns = false;
|
|
|
|
|
this.dgv.AllowUserToResizeRows = false;
|
2020-05-24 11:52:42 +12:00
|
|
|
|
this.dgv.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
2019-07-05 05:04:14 +12:00
|
|
|
|
this.dgv.BackgroundColor = System.Drawing.Color.White;
|
|
|
|
|
this.dgv.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
|
|
|
this.dgv.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None;
|
|
|
|
|
this.dgv.ClipboardCopyMode = System.Windows.Forms.DataGridViewClipboardCopyMode.Disable;
|
|
|
|
|
this.dgv.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
|
|
|
|
|
this.dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
|
|
|
|
this.dgv.ColumnHeadersVisible = false;
|
|
|
|
|
this.dgv.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
|
|
this.ColumnIcon,
|
|
|
|
|
this.ColumnText});
|
|
|
|
|
this.dgv.Location = new System.Drawing.Point(0, 14);
|
|
|
|
|
this.dgv.Margin = new System.Windows.Forms.Padding(0);
|
|
|
|
|
this.dgv.Name = "dgv";
|
|
|
|
|
this.dgv.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
|
|
|
|
|
this.dgv.RowHeadersVisible = false;
|
|
|
|
|
this.dgv.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
|
2020-05-14 05:14:51 +12:00
|
|
|
|
dataGridViewCellStyle3.Font = new System.Drawing.Font("Segoe UI", 7F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(0)));
|
|
|
|
|
this.dgv.RowsDefaultCellStyle = dataGridViewCellStyle3;
|
2019-07-05 05:04:14 +12:00
|
|
|
|
this.dgv.RowTemplate.DefaultCellStyle.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
|
|
|
this.dgv.RowTemplate.Height = 20;
|
|
|
|
|
this.dgv.RowTemplate.ReadOnly = true;
|
|
|
|
|
this.dgv.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
|
|
|
|
this.dgv.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
|
|
|
this.dgv.ShowCellErrors = false;
|
|
|
|
|
this.dgv.ShowCellToolTips = false;
|
|
|
|
|
this.dgv.ShowEditingIcon = false;
|
|
|
|
|
this.dgv.ShowRowErrors = false;
|
2020-05-24 12:40:44 +12:00
|
|
|
|
this.dgv.Size = new System.Drawing.Size(83, 145);
|
2019-07-05 05:04:14 +12:00
|
|
|
|
this.dgv.TabIndex = 4;
|
2020-07-07 02:46:47 +12:00
|
|
|
|
this.dgv.MouseWheel += new System.Windows.Forms.MouseEventHandler(this.DgvMouseWheel);
|
2019-07-05 05:04:14 +12:00
|
|
|
|
//
|
2020-05-24 12:40:44 +12:00
|
|
|
|
// pictureBoxSearch
|
2019-07-05 05:04:14 +12:00
|
|
|
|
//
|
2020-05-24 12:40:44 +12:00
|
|
|
|
this.pictureBoxSearch.BackColor = System.Drawing.Color.White;
|
|
|
|
|
this.pictureBoxSearch.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
|
|
|
|
this.pictureBoxSearch.Location = new System.Drawing.Point(3, 3);
|
|
|
|
|
this.pictureBoxSearch.Name = "pictureBoxSearch";
|
|
|
|
|
this.pictureBoxSearch.Size = new System.Drawing.Size(16, 16);
|
|
|
|
|
this.pictureBoxSearch.TabIndex = 1;
|
|
|
|
|
this.pictureBoxSearch.TabStop = false;
|
2019-07-05 05:04:14 +12:00
|
|
|
|
//
|
2020-05-24 12:40:44 +12:00
|
|
|
|
// textBoxSearch
|
2020-05-24 11:52:42 +12:00
|
|
|
|
//
|
2020-05-24 12:40:44 +12:00
|
|
|
|
this.textBoxSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
|
this.textBoxSearch.BackColor = System.Drawing.Color.White;
|
|
|
|
|
this.textBoxSearch.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
|
|
|
this.textBoxSearch.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold);
|
|
|
|
|
this.textBoxSearch.Location = new System.Drawing.Point(25, 4);
|
|
|
|
|
this.textBoxSearch.Margin = new System.Windows.Forms.Padding(3, 4, 3, 2);
|
2020-06-21 03:38:21 +12:00
|
|
|
|
this.textBoxSearch.MaxLength = 37;
|
2020-05-24 12:40:44 +12:00
|
|
|
|
this.textBoxSearch.Name = "textBoxSearch";
|
|
|
|
|
this.textBoxSearch.ShortcutsEnabled = false;
|
|
|
|
|
this.textBoxSearch.Size = new System.Drawing.Size(55, 15);
|
|
|
|
|
this.textBoxSearch.TabIndex = 0;
|
2020-07-07 02:46:47 +12:00
|
|
|
|
this.textBoxSearch.TextChanged += new System.EventHandler(this.TextBoxSearch_TextChanged);
|
2020-05-24 11:52:42 +12:00
|
|
|
|
//
|
2020-05-06 12:39:38 +12:00
|
|
|
|
// tableLayoutPanelSearch
|
|
|
|
|
//
|
|
|
|
|
this.tableLayoutPanelSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
|
this.tableLayoutPanelSearch.AutoSize = true;
|
|
|
|
|
this.tableLayoutPanelSearch.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
|
|
|
|
this.tableLayoutPanelSearch.BackColor = System.Drawing.Color.White;
|
|
|
|
|
this.tableLayoutPanelSearch.ColumnCount = 2;
|
|
|
|
|
this.tableLayoutPanelSearch.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
|
|
|
|
this.tableLayoutPanelSearch.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
|
|
|
|
this.tableLayoutPanelSearch.Controls.Add(this.textBoxSearch, 1, 0);
|
|
|
|
|
this.tableLayoutPanelSearch.Controls.Add(this.pictureBoxSearch, 0, 0);
|
|
|
|
|
this.tableLayoutPanelSearch.Location = new System.Drawing.Point(0, 160);
|
|
|
|
|
this.tableLayoutPanelSearch.Margin = new System.Windows.Forms.Padding(0, 1, 0, 0);
|
|
|
|
|
this.tableLayoutPanelSearch.Name = "tableLayoutPanelSearch";
|
|
|
|
|
this.tableLayoutPanelSearch.RowCount = 1;
|
|
|
|
|
this.tableLayoutPanelSearch.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
2020-05-24 12:40:44 +12:00
|
|
|
|
this.tableLayoutPanelSearch.Size = new System.Drawing.Size(83, 22);
|
2020-05-06 12:39:38 +12:00
|
|
|
|
this.tableLayoutPanelSearch.TabIndex = 5;
|
|
|
|
|
//
|
2019-07-05 05:04:14 +12:00
|
|
|
|
// Menu
|
|
|
|
|
//
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
|
|
|
this.AutoSize = true;
|
|
|
|
|
this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
|
|
|
|
this.BackColor = System.Drawing.Color.Black;
|
2020-05-06 12:39:38 +12:00
|
|
|
|
this.ClientSize = new System.Drawing.Size(331, 360);
|
2019-07-05 05:04:14 +12:00
|
|
|
|
this.Controls.Add(this.tableLayoutPanel);
|
|
|
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
|
|
|
|
this.Name = "Menu";
|
|
|
|
|
this.Opacity = 0.01D;
|
|
|
|
|
this.Padding = new System.Windows.Forms.Padding(1);
|
|
|
|
|
this.ShowInTaskbar = false;
|
|
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
|
|
|
|
|
this.Text = "SystemTrayMenu";
|
|
|
|
|
this.TopMost = true;
|
|
|
|
|
this.tableLayoutPanel.ResumeLayout(false);
|
|
|
|
|
this.tableLayoutPanel.PerformLayout();
|
2020-05-24 12:40:44 +12:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dgv)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBoxSearch)).EndInit();
|
2020-05-06 12:39:38 +12:00
|
|
|
|
this.tableLayoutPanelSearch.ResumeLayout(false);
|
|
|
|
|
this.tableLayoutPanelSearch.PerformLayout();
|
2019-07-05 05:04:14 +12:00
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
this.PerformLayout();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
2020-05-06 12:39:38 +12:00
|
|
|
|
private SystemTrayMenu.UserInterface.LabelNoCopy labelTitle;
|
2019-07-05 05:04:14 +12:00
|
|
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel;
|
2020-05-24 12:40:44 +12:00
|
|
|
|
private System.Windows.Forms.DataGridView dgv;
|
|
|
|
|
private System.Windows.Forms.DataGridViewImageColumn ColumnIcon;
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn ColumnText;
|
2020-05-06 12:39:38 +12:00
|
|
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanelSearch;
|
|
|
|
|
private System.Windows.Forms.TextBox textBoxSearch;
|
|
|
|
|
private System.Windows.Forms.PictureBox pictureBoxSearch;
|
2019-07-05 05:04:14 +12:00
|
|
|
|
}
|
|
|
|
|
}
|