comparison 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
comparison
equal deleted inserted replaced
3:96f0b028176d 4:3142e52cbe69
26 /// Required method for Designer support - do not modify 26 /// Required method for Designer support - do not modify
27 /// the contents of this method with the code editor. 27 /// the contents of this method with the code editor.
28 /// </summary> 28 /// </summary>
29 private void InitializeComponent() 29 private void InitializeComponent()
30 { 30 {
31 this.components = new System.ComponentModel.Container();
31 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);
34 this.ServerContextMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
35 this.DeleteServerMenuItem = new System.Windows.Forms.ToolStripMenuItem();
36 this.SettingsButton = new System.Windows.Forms.Button();
32 this.NewServerButton = new System.Windows.Forms.Button(); 37 this.NewServerButton = new System.Windows.Forms.Button();
38 this.ToggleEnableServerMenuItem = new System.Windows.Forms.ToolStripMenuItem();
39 this.ServerContextMenu.SuspendLayout();
33 this.SuspendLayout(); 40 this.SuspendLayout();
34 // 41 //
35 // ServerPanel 42 // ServerPanel
36 // 43 //
44 this.ServerPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
45 | System.Windows.Forms.AnchorStyles.Left)
46 | System.Windows.Forms.AnchorStyles.Right)));
37 this.ServerPanel.Location = new System.Drawing.Point(12, 12); 47 this.ServerPanel.Location = new System.Drawing.Point(12, 12);
38 this.ServerPanel.Name = "ServerPanel"; 48 this.ServerPanel.Name = "ServerPanel";
39 this.ServerPanel.Size = new System.Drawing.Size(560, 308); 49 this.ServerPanel.Size = new System.Drawing.Size(767, 391);
40 this.ServerPanel.TabIndex = 0; 50 this.ServerPanel.TabIndex = 0;
51 //
52 // NotifyIcon
53 //
54 this.NotifyIcon.Text = "Server Monitor";
55 this.NotifyIcon.Visible = true;
56 this.NotifyIcon.BalloonTipClicked += new System.EventHandler(this.NotifyIcon_BalloonTipClicked);
57 //
58 // ServerContextMenu
59 //
60 this.ServerContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
61 this.ToggleEnableServerMenuItem,
62 this.DeleteServerMenuItem});
63 this.ServerContextMenu.Name = "ServerContextMenu";
64 this.ServerContextMenu.Size = new System.Drawing.Size(181, 70);
65 this.ServerContextMenu.Opening += new System.ComponentModel.CancelEventHandler(this.ServerContextMenu_Opening);
66 this.ServerContextMenu.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.ServerContextMenu_ItemClicked);
67 //
68 // DeleteServerMenuItem
69 //
70 this.DeleteServerMenuItem.Name = "DeleteServerMenuItem";
71 this.DeleteServerMenuItem.Size = new System.Drawing.Size(180, 22);
72 this.DeleteServerMenuItem.Text = "Delete server";
73 //
74 // SettingsButton
75 //
76 this.SettingsButton.Image = global::ServerMonitorApp.Properties.Resources.settings;
77 this.SettingsButton.Location = new System.Drawing.Point(264, 409);
78 this.SettingsButton.Name = "SettingsButton";
79 this.SettingsButton.Size = new System.Drawing.Size(92, 29);
80 this.SettingsButton.TabIndex = 1;
81 this.SettingsButton.Text = "Settings";
82 this.SettingsButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
83 this.SettingsButton.UseVisualStyleBackColor = true;
84 this.SettingsButton.Click += new System.EventHandler(this.SettingsButton_Click);
41 // 85 //
42 // NewServerButton 86 // NewServerButton
43 // 87 //
44 this.NewServerButton.Image = global::ServerMonitorApp.Properties.Resources.add; 88 this.NewServerButton.Image = global::ServerMonitorApp.Properties.Resources.add;
45 this.NewServerButton.Location = new System.Drawing.Point(12, 409); 89 this.NewServerButton.Location = new System.Drawing.Point(12, 409);
49 this.NewServerButton.Text = "New server"; 93 this.NewServerButton.Text = "New server";
50 this.NewServerButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; 94 this.NewServerButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
51 this.NewServerButton.UseVisualStyleBackColor = true; 95 this.NewServerButton.UseVisualStyleBackColor = true;
52 this.NewServerButton.Click += new System.EventHandler(this.NewServerButton_Click); 96 this.NewServerButton.Click += new System.EventHandler(this.NewServerButton_Click);
53 // 97 //
98 // ToggleEnableServerMenuItem
99 //
100 this.ToggleEnableServerMenuItem.Name = "ToggleEnableServerMenuItem";
101 this.ToggleEnableServerMenuItem.Size = new System.Drawing.Size(180, 22);
102 this.ToggleEnableServerMenuItem.Text = "Disable";
103 //
54 // ServerSummaryForm 104 // ServerSummaryForm
55 // 105 //
56 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 106 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
57 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 107 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
58 this.ClientSize = new System.Drawing.Size(800, 450); 108 this.ClientSize = new System.Drawing.Size(800, 450);
109 this.Controls.Add(this.SettingsButton);
59 this.Controls.Add(this.NewServerButton); 110 this.Controls.Add(this.NewServerButton);
60 this.Controls.Add(this.ServerPanel); 111 this.Controls.Add(this.ServerPanel);
61 this.Name = "ServerSummaryForm"; 112 this.Name = "ServerSummaryForm";
62 this.Text = "Form1"; 113 this.Text = "Form1";
114 this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ServerSummaryForm_FormClosing);
63 this.Load += new System.EventHandler(this.ServerSummaryForm_Load); 115 this.Load += new System.EventHandler(this.ServerSummaryForm_Load);
116 this.ServerContextMenu.ResumeLayout(false);
64 this.ResumeLayout(false); 117 this.ResumeLayout(false);
65 118
66 } 119 }
67 120
68 #endregion 121 #endregion
69 122
70 private System.Windows.Forms.FlowLayoutPanel ServerPanel; 123 private System.Windows.Forms.FlowLayoutPanel ServerPanel;
71 private System.Windows.Forms.Button NewServerButton; 124 private System.Windows.Forms.Button NewServerButton;
125 private System.Windows.Forms.NotifyIcon NotifyIcon;
126 private System.Windows.Forms.Button SettingsButton;
127 private System.Windows.Forms.ContextMenuStrip ServerContextMenu;
128 private System.Windows.Forms.ToolStripMenuItem DeleteServerMenuItem;
129 private System.Windows.Forms.ToolStripMenuItem ToggleEnableServerMenuItem;
72 } 130 }
73 } 131 }
74 132