diff ServerMonitor/Forms/ServerSummaryForm.Designer.cs @ 4:3142e52cbe69

Lots more progress
author Brad Greco <brad@bgreco.net>
date Sun, 10 Feb 2019 20:51:26 -0500
parents 3e1a2131f897
children 052aa62cb42a
line wrap: on
line diff
--- a/ServerMonitor/Forms/ServerSummaryForm.Designer.cs	Fri Jan 11 22:34:18 2019 -0500
+++ b/ServerMonitor/Forms/ServerSummaryForm.Designer.cs	Sun Feb 10 20:51:26 2019 -0500
@@ -28,17 +28,61 @@
         /// </summary>
         private void InitializeComponent()
         {
+            this.components = new System.ComponentModel.Container();
             this.ServerPanel = new System.Windows.Forms.FlowLayoutPanel();
+            this.NotifyIcon = new System.Windows.Forms.NotifyIcon(this.components);
+            this.ServerContextMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
+            this.DeleteServerMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+            this.SettingsButton = new System.Windows.Forms.Button();
             this.NewServerButton = new System.Windows.Forms.Button();
+            this.ToggleEnableServerMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+            this.ServerContextMenu.SuspendLayout();
             this.SuspendLayout();
             // 
             // ServerPanel
             // 
+            this.ServerPanel.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.ServerPanel.Location = new System.Drawing.Point(12, 12);
             this.ServerPanel.Name = "ServerPanel";
-            this.ServerPanel.Size = new System.Drawing.Size(560, 308);
+            this.ServerPanel.Size = new System.Drawing.Size(767, 391);
             this.ServerPanel.TabIndex = 0;
             // 
+            // NotifyIcon
+            // 
+            this.NotifyIcon.Text = "Server Monitor";
+            this.NotifyIcon.Visible = true;
+            this.NotifyIcon.BalloonTipClicked += new System.EventHandler(this.NotifyIcon_BalloonTipClicked);
+            // 
+            // ServerContextMenu
+            // 
+            this.ServerContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+            this.ToggleEnableServerMenuItem,
+            this.DeleteServerMenuItem});
+            this.ServerContextMenu.Name = "ServerContextMenu";
+            this.ServerContextMenu.Size = new System.Drawing.Size(181, 70);
+            this.ServerContextMenu.Opening += new System.ComponentModel.CancelEventHandler(this.ServerContextMenu_Opening);
+            this.ServerContextMenu.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.ServerContextMenu_ItemClicked);
+            // 
+            // DeleteServerMenuItem
+            // 
+            this.DeleteServerMenuItem.Name = "DeleteServerMenuItem";
+            this.DeleteServerMenuItem.Size = new System.Drawing.Size(180, 22);
+            this.DeleteServerMenuItem.Text = "Delete server";
+            // 
+            // SettingsButton
+            // 
+            this.SettingsButton.Image = global::ServerMonitorApp.Properties.Resources.settings;
+            this.SettingsButton.Location = new System.Drawing.Point(264, 409);
+            this.SettingsButton.Name = "SettingsButton";
+            this.SettingsButton.Size = new System.Drawing.Size(92, 29);
+            this.SettingsButton.TabIndex = 1;
+            this.SettingsButton.Text = "Settings";
+            this.SettingsButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
+            this.SettingsButton.UseVisualStyleBackColor = true;
+            this.SettingsButton.Click += new System.EventHandler(this.SettingsButton_Click);
+            // 
             // NewServerButton
             // 
             this.NewServerButton.Image = global::ServerMonitorApp.Properties.Resources.add;
@@ -51,16 +95,25 @@
             this.NewServerButton.UseVisualStyleBackColor = true;
             this.NewServerButton.Click += new System.EventHandler(this.NewServerButton_Click);
             // 
+            // ToggleEnableServerMenuItem
+            // 
+            this.ToggleEnableServerMenuItem.Name = "ToggleEnableServerMenuItem";
+            this.ToggleEnableServerMenuItem.Size = new System.Drawing.Size(180, 22);
+            this.ToggleEnableServerMenuItem.Text = "Disable";
+            // 
             // ServerSummaryForm
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
             this.ClientSize = new System.Drawing.Size(800, 450);
+            this.Controls.Add(this.SettingsButton);
             this.Controls.Add(this.NewServerButton);
             this.Controls.Add(this.ServerPanel);
             this.Name = "ServerSummaryForm";
             this.Text = "Form1";
+            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ServerSummaryForm_FormClosing);
             this.Load += new System.EventHandler(this.ServerSummaryForm_Load);
+            this.ServerContextMenu.ResumeLayout(false);
             this.ResumeLayout(false);
 
         }
@@ -69,6 +122,11 @@
 
         private System.Windows.Forms.FlowLayoutPanel ServerPanel;
         private System.Windows.Forms.Button NewServerButton;
+        private System.Windows.Forms.NotifyIcon NotifyIcon;
+        private System.Windows.Forms.Button SettingsButton;
+        private System.Windows.Forms.ContextMenuStrip ServerContextMenu;
+        private System.Windows.Forms.ToolStripMenuItem DeleteServerMenuItem;
+        private System.Windows.Forms.ToolStripMenuItem ToggleEnableServerMenuItem;
     }
 }