238 lines
13 KiB
C#
238 lines
13 KiB
C#
|
|
namespace ntfysh_client
|
|
{
|
|
partial class Form1
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.components = new System.ComponentModel.Container();
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
|
|
this.subscribeNewTopic = new System.Windows.Forms.Button();
|
|
this.removeSelectedTopics = new System.Windows.Forms.Button();
|
|
this.notificationTopics = new System.Windows.Forms.ListBox();
|
|
this.notifyIcon = new System.Windows.Forms.NotifyIcon(this.components);
|
|
this.trayContextMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
this.showControlWindowToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
|
this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.exitToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.ntfyshWebsiteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
|
|
this.trayContextMenu.SuspendLayout();
|
|
this.menuStrip1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// 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.Name = "subscribeNewTopic";
|
|
this.subscribeNewTopic.Size = new System.Drawing.Size(105, 23);
|
|
this.subscribeNewTopic.TabIndex = 2;
|
|
this.subscribeNewTopic.Text = "Add";
|
|
this.subscribeNewTopic.UseVisualStyleBackColor = true;
|
|
this.subscribeNewTopic.Click += new System.EventHandler(this.subscribeNewTopic_Click);
|
|
//
|
|
// removeSelectedTopics
|
|
//
|
|
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.Name = "removeSelectedTopics";
|
|
this.removeSelectedTopics.Size = new System.Drawing.Size(105, 23);
|
|
this.removeSelectedTopics.TabIndex = 0;
|
|
this.removeSelectedTopics.Text = "Remove selected";
|
|
this.removeSelectedTopics.UseVisualStyleBackColor = true;
|
|
this.removeSelectedTopics.Click += new System.EventHandler(this.removeSelectedTopics_Click);
|
|
//
|
|
// 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.FormattingEnabled = true;
|
|
this.notificationTopics.Location = new System.Drawing.Point(12, 50);
|
|
this.notificationTopics.Name = "notificationTopics";
|
|
this.notificationTopics.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended;
|
|
this.notificationTopics.Size = new System.Drawing.Size(145, 173);
|
|
this.notificationTopics.TabIndex = 3;
|
|
this.notificationTopics.Click += new System.EventHandler(this.notificationTopics_Click);
|
|
this.notificationTopics.SelectedValueChanged += new System.EventHandler(this.notificationTopics_SelectedValueChanged);
|
|
//
|
|
// notifyIcon
|
|
//
|
|
this.notifyIcon.ContextMenuStrip = this.trayContextMenu;
|
|
this.notifyIcon.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon.Icon")));
|
|
this.notifyIcon.Text = "ntfy.sh";
|
|
this.notifyIcon.Visible = true;
|
|
this.notifyIcon.Click += new System.EventHandler(this.notifyIcon_Click);
|
|
//
|
|
// trayContextMenu
|
|
//
|
|
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);
|
|
//
|
|
// showControlWindowToolStripMenuItem
|
|
//
|
|
this.showControlWindowToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("showControlWindowToolStripMenuItem.Image")));
|
|
this.showControlWindowToolStripMenuItem.Name = "showControlWindowToolStripMenuItem";
|
|
this.showControlWindowToolStripMenuItem.Size = new System.Drawing.Size(189, 22);
|
|
this.showControlWindowToolStripMenuItem.Text = "Show control window";
|
|
this.showControlWindowToolStripMenuItem.Click += new System.EventHandler(this.showControlWindowToolStripMenuItem_Click);
|
|
//
|
|
// exitToolStripMenuItem
|
|
//
|
|
this.exitToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("exitToolStripMenuItem.Image")));
|
|
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
|
|
this.exitToolStripMenuItem.Size = new System.Drawing.Size(189, 22);
|
|
this.exitToolStripMenuItem.Text = "Exit";
|
|
this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
|
|
//
|
|
// menuStrip1
|
|
//
|
|
this.menuStrip1.BackColor = System.Drawing.Color.White;
|
|
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.TabIndex = 4;
|
|
this.menuStrip1.Text = "menuStrip1";
|
|
//
|
|
// fileToolStripMenuItem
|
|
//
|
|
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";
|
|
//
|
|
// helpToolStripMenuItem
|
|
//
|
|
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";
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(12, 34);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(145, 13);
|
|
this.label1.TabIndex = 1;
|
|
this.label1.Text = "Subscribed notification topics";
|
|
//
|
|
// exitToolStripMenuItem1
|
|
//
|
|
this.exitToolStripMenuItem1.Image = ((System.Drawing.Image)(resources.GetObject("exitToolStripMenuItem1.Image")));
|
|
this.exitToolStripMenuItem1.Name = "exitToolStripMenuItem1";
|
|
this.exitToolStripMenuItem1.Size = new System.Drawing.Size(180, 22);
|
|
this.exitToolStripMenuItem1.Text = "Exit";
|
|
//
|
|
// aboutToolStripMenuItem
|
|
//
|
|
this.aboutToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("aboutToolStripMenuItem.Image")));
|
|
this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
|
|
this.aboutToolStripMenuItem.Size = new System.Drawing.Size(185, 22);
|
|
this.aboutToolStripMenuItem.Text = "About";
|
|
this.aboutToolStripMenuItem.Click += new System.EventHandler(this.aboutToolStripMenuItem_Click);
|
|
//
|
|
// ntfyshWebsiteToolStripMenuItem
|
|
//
|
|
this.ntfyshWebsiteToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("ntfyshWebsiteToolStripMenuItem.Image")));
|
|
this.ntfyshWebsiteToolStripMenuItem.Name = "ntfyshWebsiteToolStripMenuItem";
|
|
this.ntfyshWebsiteToolStripMenuItem.Size = new System.Drawing.Size(185, 22);
|
|
this.ntfyshWebsiteToolStripMenuItem.Text = "Open ntfy.sh website";
|
|
this.ntfyshWebsiteToolStripMenuItem.Click += new System.EventHandler(this.ntfyshWebsiteToolStripMenuItem_Click);
|
|
//
|
|
// toolStripMenuItem1
|
|
//
|
|
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
|
|
this.toolStripMenuItem1.Size = new System.Drawing.Size(182, 6);
|
|
//
|
|
// Form1
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.BackColor = System.Drawing.Color.White;
|
|
this.ClientSize = new System.Drawing.Size(353, 236);
|
|
this.Controls.Add(this.menuStrip1);
|
|
this.Controls.Add(this.notificationTopics);
|
|
this.Controls.Add(this.removeSelectedTopics);
|
|
this.Controls.Add(this.subscribeNewTopic);
|
|
this.Controls.Add(this.label1);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.KeyPreview = true;
|
|
this.MainMenuStrip = this.menuStrip1;
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "Form1";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "ntfy.sh";
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
|
|
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Form1_FormClosed);
|
|
this.Load += new System.EventHandler(this.Form1_Load);
|
|
this.trayContextMenu.ResumeLayout(false);
|
|
this.menuStrip1.ResumeLayout(false);
|
|
this.menuStrip1.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
private System.Windows.Forms.Button subscribeNewTopic;
|
|
private System.Windows.Forms.Button removeSelectedTopics;
|
|
private System.Windows.Forms.ListBox notificationTopics;
|
|
private System.Windows.Forms.NotifyIcon notifyIcon;
|
|
private System.Windows.Forms.ContextMenuStrip trayContextMenu;
|
|
private System.Windows.Forms.ToolStripMenuItem showControlWindowToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
|
|
private System.Windows.Forms.MenuStrip menuStrip1;
|
|
private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem helpToolStripMenuItem;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem1;
|
|
private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem ntfyshWebsiteToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
|
|
}
|
|
}
|
|
|