diff options
Diffstat (limited to 'spedytor/Form1.Designer.cs')
-rw-r--r-- | spedytor/Form1.Designer.cs | 33 |
1 files changed, 32 insertions, 1 deletions
diff --git a/spedytor/Form1.Designer.cs b/spedytor/Form1.Designer.cs index a0f77e3..7671d79 100644 --- a/spedytor/Form1.Designer.cs +++ b/spedytor/Form1.Designer.cs @@ -43,7 +43,11 @@ this.bToggleLog = new System.Windows.Forms.Button(); this.tbLog = new System.Windows.Forms.TextBox(); this.tLogger = new System.Windows.Forms.Timer(this.components); + this.notifyIcon = new System.Windows.Forms.NotifyIcon(this.components); + this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); + this.closeMenuItem = new System.Windows.Forms.ToolStripMenuItem(); ((System.ComponentModel.ISupportInitialize)(this.nInterval)).BeginInit(); + this.contextMenuStrip.SuspendLayout(); this.SuspendLayout(); // // lChooseDatabase @@ -183,6 +187,28 @@ this.tLogger.Enabled = true; this.tLogger.Tick += new System.EventHandler(this.tLogger_Tick); // + // notifyIcon + // + this.notifyIcon.BalloonTipIcon = System.Windows.Forms.ToolTipIcon.Info; + this.notifyIcon.ContextMenuStrip = this.contextMenuStrip; + this.notifyIcon.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon.Icon"))); + this.notifyIcon.Text = "Spedytor"; + this.notifyIcon.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.notifyIcon1_MouseDoubleClick); + // + // contextMenuStrip + // + this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.closeMenuItem}); + this.contextMenuStrip.Name = "contextMenuStrip"; + this.contextMenuStrip.Size = new System.Drawing.Size(118, 26); + // + // closeMenuItem + // + this.closeMenuItem.Name = "closeMenuItem"; + this.closeMenuItem.Size = new System.Drawing.Size(117, 22); + this.closeMenuItem.Text = "Zamknij"; + this.closeMenuItem.Click += new System.EventHandler(this.closeMenuItem_Click); + // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -204,9 +230,11 @@ this.MinimizeBox = false; this.Name = "Form1"; this.Text = "Spedytor"; - this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Form1_FormClosed); + this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing); this.Load += new System.EventHandler(this.Form1_Load); + this.Resize += new System.EventHandler(this.Form1_Resize); ((System.ComponentModel.ISupportInitialize)(this.nInterval)).EndInit(); + this.contextMenuStrip.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); @@ -227,6 +255,9 @@ private System.Windows.Forms.Button bToggleLog; private System.Windows.Forms.TextBox tbLog; private System.Windows.Forms.Timer tLogger; + private System.Windows.Forms.NotifyIcon notifyIcon; + private System.Windows.Forms.ContextMenuStrip contextMenuStrip; + private System.Windows.Forms.ToolStripMenuItem closeMenuItem; } } |