namespace PortCheck { partial class Form1 { /// /// Required designer variable. /// private System.ComponentModel.IContainer components = null; /// /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } // Очищаем NotifyIcon при закрытии формы через Dispose if (disposing && notifyIconMain != null) { CleanupNotifyIcon(); // Вызываем наш метод очистки } base.Dispose(disposing); } #region Windows Form Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.notifyIconMain = new System.Windows.Forms.NotifyIcon(this.components); this.contextMenuStripTray = new System.Windows.Forms.ContextMenuStrip(this.components); this.settingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.checkNowToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.timerUpdate = new System.Windows.Forms.Timer(this.components); this.contextMenuStripTray.SuspendLayout(); this.SuspendLayout(); // // notifyIconMain // this.notifyIconMain.ContextMenuStrip = this.contextMenuStripTray; this.notifyIconMain.Icon = ((System.Drawing.Icon)(resources.GetObject("Network_37044"))); this.notifyIconMain.Text = "Ethernet Speed Monitor"; this.notifyIconMain.Visible = true; this.notifyIconMain.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.notifyIconMain_MouseDoubleClick); // // contextMenuStripTray // this.contextMenuStripTray.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.settingsToolStripMenuItem, this.checkNowToolStripMenuItem, this.toolStripSeparator1, this.exitToolStripMenuItem}); this.contextMenuStripTray.Name = "contextMenuStripTray"; this.contextMenuStripTray.Size = new System.Drawing.Size(176, 76); // // settingsToolStripMenuItem // this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem"; this.settingsToolStripMenuItem.Size = new System.Drawing.Size(175, 22); this.settingsToolStripMenuItem.Text = "Настройки"; this.settingsToolStripMenuItem.Click += new System.EventHandler(this.settingsToolStripMenuItem_Click); // // checkNowToolStripMenuItem // this.checkNowToolStripMenuItem.Name = "checkNowToolStripMenuItem"; this.checkNowToolStripMenuItem.Size = new System.Drawing.Size(175, 22); this.checkNowToolStripMenuItem.Text = "Проверить сейчас"; this.checkNowToolStripMenuItem.Click += new System.EventHandler(this.checkNowToolStripMenuItem_Click); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(172, 6); // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.Size = new System.Drawing.Size(175, 22); this.exitToolStripMenuItem.Text = "Выход"; this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); // // timerUpdate // this.timerUpdate.Enabled = true; this.timerUpdate.Interval = 5000; this.timerUpdate.Tick += new System.EventHandler(this.timerUpdate_Tick); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(284, 161); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "Form1"; this.ShowInTaskbar = false; this.Text = "Ethernet Speed Monitor"; this.WindowState = System.Windows.Forms.FormWindowState.Minimized; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing); this.Load += new System.EventHandler(this.Form1_Load); this.contextMenuStripTray.ResumeLayout(false); this.ResumeLayout(false); } #endregion private System.Windows.Forms.NotifyIcon notifyIconMain; private System.Windows.Forms.ContextMenuStrip contextMenuStripTray; private System.Windows.Forms.ToolStripMenuItem settingsToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem; private System.Windows.Forms.Timer timerUpdate; private System.Windows.Forms.ToolStripMenuItem checkNowToolStripMenuItem; private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; } }