Mercurial > servermonitor
comparison ServerMonitor/Forms/ServerSummaryForm.Designer.cs @ 8:052aa62cb42a
Single instance. Add autorun option. Add icons. General enhancements.
author | Brad Greco <brad@bgreco.net> |
---|---|
date | Sat, 09 Mar 2019 20:14:03 -0500 |
parents | 3142e52cbe69 |
children | 9e77c0dccb66 |
comparison
equal
deleted
inserted
replaced
7:8486ab7d2357 | 8:052aa62cb42a |
---|---|
30 { | 30 { |
31 this.components = new System.ComponentModel.Container(); | 31 this.components = new System.ComponentModel.Container(); |
32 this.ServerPanel = new System.Windows.Forms.FlowLayoutPanel(); | 32 this.ServerPanel = new System.Windows.Forms.FlowLayoutPanel(); |
33 this.NotifyIcon = new System.Windows.Forms.NotifyIcon(this.components); | 33 this.NotifyIcon = new System.Windows.Forms.NotifyIcon(this.components); |
34 this.ServerContextMenu = new System.Windows.Forms.ContextMenuStrip(this.components); | 34 this.ServerContextMenu = new System.Windows.Forms.ContextMenuStrip(this.components); |
35 this.ToggleEnableServerMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | |
35 this.DeleteServerMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | 36 this.DeleteServerMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
36 this.SettingsButton = new System.Windows.Forms.Button(); | 37 this.SettingsButton = new System.Windows.Forms.Button(); |
37 this.NewServerButton = new System.Windows.Forms.Button(); | 38 this.NewServerButton = new System.Windows.Forms.Button(); |
38 this.ToggleEnableServerMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | 39 this.NotificationIconMenu = new System.Windows.Forms.ContextMenuStrip(this.components); |
40 this.ShowServerMonitorMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | |
41 this.ExitMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | |
39 this.ServerContextMenu.SuspendLayout(); | 42 this.ServerContextMenu.SuspendLayout(); |
43 this.NotificationIconMenu.SuspendLayout(); | |
40 this.SuspendLayout(); | 44 this.SuspendLayout(); |
41 // | 45 // |
42 // ServerPanel | 46 // ServerPanel |
43 // | 47 // |
44 this.ServerPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | 48 this.ServerPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
45 | System.Windows.Forms.AnchorStyles.Left) | 49 | System.Windows.Forms.AnchorStyles.Left) |
46 | System.Windows.Forms.AnchorStyles.Right))); | 50 | System.Windows.Forms.AnchorStyles.Right))); |
51 this.ServerPanel.AutoScroll = true; | |
47 this.ServerPanel.Location = new System.Drawing.Point(12, 12); | 52 this.ServerPanel.Location = new System.Drawing.Point(12, 12); |
48 this.ServerPanel.Name = "ServerPanel"; | 53 this.ServerPanel.Name = "ServerPanel"; |
49 this.ServerPanel.Size = new System.Drawing.Size(767, 391); | 54 this.ServerPanel.Size = new System.Drawing.Size(648, 336); |
50 this.ServerPanel.TabIndex = 0; | 55 this.ServerPanel.TabIndex = 0; |
51 // | 56 // |
52 // NotifyIcon | 57 // NotifyIcon |
53 // | 58 // |
59 this.NotifyIcon.ContextMenuStrip = this.NotificationIconMenu; | |
54 this.NotifyIcon.Text = "Server Monitor"; | 60 this.NotifyIcon.Text = "Server Monitor"; |
55 this.NotifyIcon.Visible = true; | 61 this.NotifyIcon.Visible = true; |
56 this.NotifyIcon.BalloonTipClicked += new System.EventHandler(this.NotifyIcon_BalloonTipClicked); | 62 this.NotifyIcon.BalloonTipClicked += new System.EventHandler(this.NotifyIcon_BalloonTipClicked); |
63 this.NotifyIcon.MouseClick += new System.Windows.Forms.MouseEventHandler(this.NotifyIcon_MouseClick); | |
57 // | 64 // |
58 // ServerContextMenu | 65 // ServerContextMenu |
59 // | 66 // |
60 this.ServerContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | 67 this.ServerContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
61 this.ToggleEnableServerMenuItem, | 68 this.ToggleEnableServerMenuItem, |
62 this.DeleteServerMenuItem}); | 69 this.DeleteServerMenuItem}); |
63 this.ServerContextMenu.Name = "ServerContextMenu"; | 70 this.ServerContextMenu.Name = "ServerContextMenu"; |
64 this.ServerContextMenu.Size = new System.Drawing.Size(181, 70); | 71 this.ServerContextMenu.Size = new System.Drawing.Size(142, 48); |
65 this.ServerContextMenu.Opening += new System.ComponentModel.CancelEventHandler(this.ServerContextMenu_Opening); | 72 this.ServerContextMenu.Opening += new System.ComponentModel.CancelEventHandler(this.ServerContextMenu_Opening); |
66 this.ServerContextMenu.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.ServerContextMenu_ItemClicked); | 73 this.ServerContextMenu.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.ServerContextMenu_ItemClicked); |
74 // | |
75 // ToggleEnableServerMenuItem | |
76 // | |
77 this.ToggleEnableServerMenuItem.Name = "ToggleEnableServerMenuItem"; | |
78 this.ToggleEnableServerMenuItem.Size = new System.Drawing.Size(141, 22); | |
79 this.ToggleEnableServerMenuItem.Text = "Disable"; | |
67 // | 80 // |
68 // DeleteServerMenuItem | 81 // DeleteServerMenuItem |
69 // | 82 // |
70 this.DeleteServerMenuItem.Name = "DeleteServerMenuItem"; | 83 this.DeleteServerMenuItem.Name = "DeleteServerMenuItem"; |
71 this.DeleteServerMenuItem.Size = new System.Drawing.Size(180, 22); | 84 this.DeleteServerMenuItem.Size = new System.Drawing.Size(141, 22); |
72 this.DeleteServerMenuItem.Text = "Delete server"; | 85 this.DeleteServerMenuItem.Text = "Delete server"; |
73 // | 86 // |
74 // SettingsButton | 87 // SettingsButton |
75 // | 88 // |
89 this.SettingsButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); | |
76 this.SettingsButton.Image = global::ServerMonitorApp.Properties.Resources.settings; | 90 this.SettingsButton.Image = global::ServerMonitorApp.Properties.Resources.settings; |
77 this.SettingsButton.Location = new System.Drawing.Point(264, 409); | 91 this.SettingsButton.Location = new System.Drawing.Point(568, 354); |
78 this.SettingsButton.Name = "SettingsButton"; | 92 this.SettingsButton.Name = "SettingsButton"; |
79 this.SettingsButton.Size = new System.Drawing.Size(92, 29); | 93 this.SettingsButton.Size = new System.Drawing.Size(92, 29); |
80 this.SettingsButton.TabIndex = 1; | 94 this.SettingsButton.TabIndex = 1; |
81 this.SettingsButton.Text = "Settings"; | 95 this.SettingsButton.Text = "&Settings"; |
82 this.SettingsButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; | 96 this.SettingsButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; |
83 this.SettingsButton.UseVisualStyleBackColor = true; | 97 this.SettingsButton.UseVisualStyleBackColor = true; |
84 this.SettingsButton.Click += new System.EventHandler(this.SettingsButton_Click); | 98 this.SettingsButton.Click += new System.EventHandler(this.SettingsButton_Click); |
85 // | 99 // |
86 // NewServerButton | 100 // NewServerButton |
87 // | 101 // |
102 this.NewServerButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); | |
88 this.NewServerButton.Image = global::ServerMonitorApp.Properties.Resources.add; | 103 this.NewServerButton.Image = global::ServerMonitorApp.Properties.Resources.add; |
89 this.NewServerButton.Location = new System.Drawing.Point(12, 409); | 104 this.NewServerButton.Location = new System.Drawing.Point(12, 354); |
90 this.NewServerButton.Name = "NewServerButton"; | 105 this.NewServerButton.Name = "NewServerButton"; |
91 this.NewServerButton.Size = new System.Drawing.Size(96, 29); | 106 this.NewServerButton.Size = new System.Drawing.Size(96, 29); |
92 this.NewServerButton.TabIndex = 0; | 107 this.NewServerButton.TabIndex = 0; |
93 this.NewServerButton.Text = "New server"; | 108 this.NewServerButton.Text = "&New server"; |
94 this.NewServerButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; | 109 this.NewServerButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; |
95 this.NewServerButton.UseVisualStyleBackColor = true; | 110 this.NewServerButton.UseVisualStyleBackColor = true; |
96 this.NewServerButton.Click += new System.EventHandler(this.NewServerButton_Click); | 111 this.NewServerButton.Click += new System.EventHandler(this.NewServerButton_Click); |
97 // | 112 // |
98 // ToggleEnableServerMenuItem | 113 // NotificationIconMenu |
99 // | 114 // |
100 this.ToggleEnableServerMenuItem.Name = "ToggleEnableServerMenuItem"; | 115 this.NotificationIconMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
101 this.ToggleEnableServerMenuItem.Size = new System.Drawing.Size(180, 22); | 116 this.ShowServerMonitorMenuItem, |
102 this.ToggleEnableServerMenuItem.Text = "Disable"; | 117 this.ExitMenuItem}); |
118 this.NotificationIconMenu.Name = "NotificationIconMenu"; | |
119 this.NotificationIconMenu.Size = new System.Drawing.Size(181, 70); | |
120 this.NotificationIconMenu.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.NotificationIconMenu_ItemClicked); | |
121 // | |
122 // ShowServerMonitorMenuItem | |
123 // | |
124 this.ShowServerMonitorMenuItem.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold); | |
125 this.ShowServerMonitorMenuItem.Name = "ShowServerMonitorMenuItem"; | |
126 this.ShowServerMonitorMenuItem.Size = new System.Drawing.Size(180, 22); | |
127 this.ShowServerMonitorMenuItem.Text = "Server Monitor"; | |
128 // | |
129 // ExitMenuItem | |
130 // | |
131 this.ExitMenuItem.Name = "ExitMenuItem"; | |
132 this.ExitMenuItem.Size = new System.Drawing.Size(180, 22); | |
133 this.ExitMenuItem.Text = "Exit"; | |
103 // | 134 // |
104 // ServerSummaryForm | 135 // ServerSummaryForm |
105 // | 136 // |
106 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); | 137 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); |
107 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | 138 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
108 this.ClientSize = new System.Drawing.Size(800, 450); | 139 this.ClientSize = new System.Drawing.Size(672, 395); |
109 this.Controls.Add(this.SettingsButton); | 140 this.Controls.Add(this.SettingsButton); |
110 this.Controls.Add(this.NewServerButton); | 141 this.Controls.Add(this.NewServerButton); |
111 this.Controls.Add(this.ServerPanel); | 142 this.Controls.Add(this.ServerPanel); |
143 this.MinimumSize = new System.Drawing.Size(240, 300); | |
112 this.Name = "ServerSummaryForm"; | 144 this.Name = "ServerSummaryForm"; |
113 this.Text = "Form1"; | 145 this.Text = "Server Monitor"; |
114 this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ServerSummaryForm_FormClosing); | 146 this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ServerSummaryForm_FormClosing); |
115 this.Load += new System.EventHandler(this.ServerSummaryForm_Load); | 147 this.Load += new System.EventHandler(this.ServerSummaryForm_Load); |
148 this.ResizeEnd += new System.EventHandler(this.ServerSummaryForm_ResizeEnd); | |
116 this.ServerContextMenu.ResumeLayout(false); | 149 this.ServerContextMenu.ResumeLayout(false); |
150 this.NotificationIconMenu.ResumeLayout(false); | |
117 this.ResumeLayout(false); | 151 this.ResumeLayout(false); |
118 | 152 |
119 } | 153 } |
120 | 154 |
121 #endregion | 155 #endregion |
125 private System.Windows.Forms.NotifyIcon NotifyIcon; | 159 private System.Windows.Forms.NotifyIcon NotifyIcon; |
126 private System.Windows.Forms.Button SettingsButton; | 160 private System.Windows.Forms.Button SettingsButton; |
127 private System.Windows.Forms.ContextMenuStrip ServerContextMenu; | 161 private System.Windows.Forms.ContextMenuStrip ServerContextMenu; |
128 private System.Windows.Forms.ToolStripMenuItem DeleteServerMenuItem; | 162 private System.Windows.Forms.ToolStripMenuItem DeleteServerMenuItem; |
129 private System.Windows.Forms.ToolStripMenuItem ToggleEnableServerMenuItem; | 163 private System.Windows.Forms.ToolStripMenuItem ToggleEnableServerMenuItem; |
164 private System.Windows.Forms.ContextMenuStrip NotificationIconMenu; | |
165 private System.Windows.Forms.ToolStripMenuItem ShowServerMonitorMenuItem; | |
166 private System.Windows.Forms.ToolStripMenuItem ExitMenuItem; | |
130 } | 167 } |
131 } | 168 } |
132 | 169 |