Enable .NET Core system aware DPI mode
Fix Exit button in window menu Cleanup
This commit is contained in:
52
ntfysh_client/Form1.Designer.cs
generated
52
ntfysh_client/Form1.Designer.cs
generated
@@ -53,9 +53,10 @@ namespace ntfysh_client
|
||||
// subscribeNewTopic
|
||||
//
|
||||
this.subscribeNewTopic.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.subscribeNewTopic.Location = new System.Drawing.Point(236, 50);
|
||||
this.subscribeNewTopic.Location = new System.Drawing.Point(275, 58);
|
||||
this.subscribeNewTopic.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||
this.subscribeNewTopic.Name = "subscribeNewTopic";
|
||||
this.subscribeNewTopic.Size = new System.Drawing.Size(105, 23);
|
||||
this.subscribeNewTopic.Size = new System.Drawing.Size(122, 27);
|
||||
this.subscribeNewTopic.TabIndex = 2;
|
||||
this.subscribeNewTopic.Text = "Add";
|
||||
this.subscribeNewTopic.UseVisualStyleBackColor = true;
|
||||
@@ -65,9 +66,10 @@ namespace ntfysh_client
|
||||
//
|
||||
this.removeSelectedTopics.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.removeSelectedTopics.Enabled = false;
|
||||
this.removeSelectedTopics.Location = new System.Drawing.Point(236, 79);
|
||||
this.removeSelectedTopics.Location = new System.Drawing.Point(275, 91);
|
||||
this.removeSelectedTopics.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||
this.removeSelectedTopics.Name = "removeSelectedTopics";
|
||||
this.removeSelectedTopics.Size = new System.Drawing.Size(105, 23);
|
||||
this.removeSelectedTopics.Size = new System.Drawing.Size(122, 27);
|
||||
this.removeSelectedTopics.TabIndex = 0;
|
||||
this.removeSelectedTopics.Text = "Remove selected";
|
||||
this.removeSelectedTopics.UseVisualStyleBackColor = true;
|
||||
@@ -75,12 +77,15 @@ namespace ntfysh_client
|
||||
//
|
||||
// notificationTopics
|
||||
//
|
||||
this.notificationTopics.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.notificationTopics.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.notificationTopics.FormattingEnabled = true;
|
||||
this.notificationTopics.Location = new System.Drawing.Point(12, 50);
|
||||
this.notificationTopics.ItemHeight = 15;
|
||||
this.notificationTopics.Location = new System.Drawing.Point(14, 58);
|
||||
this.notificationTopics.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||
this.notificationTopics.Name = "notificationTopics";
|
||||
this.notificationTopics.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended;
|
||||
this.notificationTopics.Size = new System.Drawing.Size(145, 173);
|
||||
this.notificationTopics.Size = new System.Drawing.Size(168, 199);
|
||||
this.notificationTopics.TabIndex = 3;
|
||||
this.notificationTopics.Click += new System.EventHandler(this.notificationTopics_Click);
|
||||
this.notificationTopics.SelectedValueChanged += new System.EventHandler(this.notificationTopics_SelectedValueChanged);
|
||||
@@ -95,7 +100,9 @@ namespace ntfysh_client
|
||||
//
|
||||
// trayContextMenu
|
||||
//
|
||||
this.trayContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.showControlWindowToolStripMenuItem, this.exitToolStripMenuItem });
|
||||
this.trayContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.showControlWindowToolStripMenuItem,
|
||||
this.exitToolStripMenuItem});
|
||||
this.trayContextMenu.Name = "trayContextMenu";
|
||||
this.trayContextMenu.Size = new System.Drawing.Size(190, 48);
|
||||
//
|
||||
@@ -118,16 +125,20 @@ namespace ntfysh_client
|
||||
// menuStrip1
|
||||
//
|
||||
this.menuStrip1.BackColor = System.Drawing.Color.White;
|
||||
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, this.helpToolStripMenuItem });
|
||||
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.fileToolStripMenuItem,
|
||||
this.helpToolStripMenuItem});
|
||||
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
||||
this.menuStrip1.Name = "menuStrip1";
|
||||
this.menuStrip1.Size = new System.Drawing.Size(353, 24);
|
||||
this.menuStrip1.Padding = new System.Windows.Forms.Padding(7, 2, 0, 2);
|
||||
this.menuStrip1.Size = new System.Drawing.Size(412, 24);
|
||||
this.menuStrip1.TabIndex = 4;
|
||||
this.menuStrip1.Text = "menuStrip1";
|
||||
//
|
||||
// fileToolStripMenuItem
|
||||
//
|
||||
this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.exitToolStripMenuItem1 });
|
||||
this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.exitToolStripMenuItem1});
|
||||
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
|
||||
this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
|
||||
this.fileToolStripMenuItem.Text = "File";
|
||||
@@ -136,12 +147,16 @@ namespace ntfysh_client
|
||||
//
|
||||
this.exitToolStripMenuItem1.Image = ((System.Drawing.Image)(resources.GetObject("exitToolStripMenuItem1.Image")));
|
||||
this.exitToolStripMenuItem1.Name = "exitToolStripMenuItem1";
|
||||
this.exitToolStripMenuItem1.Size = new System.Drawing.Size(93, 22);
|
||||
this.exitToolStripMenuItem1.Size = new System.Drawing.Size(180, 22);
|
||||
this.exitToolStripMenuItem1.Text = "Exit";
|
||||
this.exitToolStripMenuItem1.Click += new System.EventHandler(this.exitToolStripMenuItem1_Click);
|
||||
//
|
||||
// helpToolStripMenuItem
|
||||
//
|
||||
this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.ntfyshWebsiteToolStripMenuItem, this.toolStripMenuItem1, this.aboutToolStripMenuItem });
|
||||
this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.ntfyshWebsiteToolStripMenuItem,
|
||||
this.toolStripMenuItem1,
|
||||
this.aboutToolStripMenuItem});
|
||||
this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
|
||||
this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
|
||||
this.helpToolStripMenuItem.Text = "Help";
|
||||
@@ -170,18 +185,19 @@ namespace ntfysh_client
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(12, 34);
|
||||
this.label1.Location = new System.Drawing.Point(14, 39);
|
||||
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(145, 13);
|
||||
this.label1.Size = new System.Drawing.Size(164, 15);
|
||||
this.label1.TabIndex = 1;
|
||||
this.label1.Text = "Subscribed notification topics";
|
||||
//
|
||||
// Form1
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.White;
|
||||
this.ClientSize = new System.Drawing.Size(353, 236);
|
||||
this.ClientSize = new System.Drawing.Size(412, 272);
|
||||
this.Controls.Add(this.menuStrip1);
|
||||
this.Controls.Add(this.notificationTopics);
|
||||
this.Controls.Add(this.removeSelectedTopics);
|
||||
@@ -191,6 +207,7 @@ namespace ntfysh_client
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.KeyPreview = true;
|
||||
this.MainMenuStrip = this.menuStrip1;
|
||||
this.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "Form1";
|
||||
@@ -204,6 +221,7 @@ namespace ntfysh_client
|
||||
this.menuStrip1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
Reference in New Issue
Block a user