221 lines
11 KiB
C#
221 lines
11 KiB
C#
namespace WindowsFormsApplication2
|
|
{
|
|
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();
|
|
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
|
this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.quitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.settingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.automaticallyStartToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.minimiseToTrayToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.closeToTrayToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.serverConfigToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.listBox1 = new System.Windows.Forms.ListBox();
|
|
this.button1 = new System.Windows.Forms.Button();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.button2 = new System.Windows.Forms.Button();
|
|
this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
|
|
this.menuStrip1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// menuStrip1
|
|
//
|
|
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.fileToolStripMenuItem,
|
|
this.settingsToolStripMenuItem,
|
|
this.helpToolStripMenuItem});
|
|
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
|
this.menuStrip1.Name = "menuStrip1";
|
|
this.menuStrip1.Size = new System.Drawing.Size(503, 24);
|
|
this.menuStrip1.TabIndex = 0;
|
|
this.menuStrip1.Text = "menuStrip1";
|
|
//
|
|
// fileToolStripMenuItem
|
|
//
|
|
this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.quitToolStripMenuItem});
|
|
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
|
|
this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
|
|
this.fileToolStripMenuItem.Text = "File";
|
|
//
|
|
// quitToolStripMenuItem
|
|
//
|
|
this.quitToolStripMenuItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
|
|
this.quitToolStripMenuItem.Name = "quitToolStripMenuItem";
|
|
this.quitToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.F4)));
|
|
this.quitToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
|
|
this.quitToolStripMenuItem.Text = "Quit";
|
|
this.quitToolStripMenuItem.ToolTipText = "Exit the application.";
|
|
this.quitToolStripMenuItem.Click += new System.EventHandler(this.quitToolStripMenuItem_Click);
|
|
//
|
|
// settingsToolStripMenuItem
|
|
//
|
|
this.settingsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.automaticallyStartToolStripMenuItem,
|
|
this.minimiseToTrayToolStripMenuItem,
|
|
this.closeToTrayToolStripMenuItem,
|
|
this.serverConfigToolStripMenuItem});
|
|
this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem";
|
|
this.settingsToolStripMenuItem.Size = new System.Drawing.Size(61, 20);
|
|
this.settingsToolStripMenuItem.Text = "Settings";
|
|
//
|
|
// automaticallyStartToolStripMenuItem
|
|
//
|
|
this.automaticallyStartToolStripMenuItem.Name = "automaticallyStartToolStripMenuItem";
|
|
this.automaticallyStartToolStripMenuItem.Size = new System.Drawing.Size(175, 22);
|
|
this.automaticallyStartToolStripMenuItem.Text = "Automatically Start";
|
|
//
|
|
// minimiseToTrayToolStripMenuItem
|
|
//
|
|
this.minimiseToTrayToolStripMenuItem.CheckOnClick = true;
|
|
this.minimiseToTrayToolStripMenuItem.Name = "minimiseToTrayToolStripMenuItem";
|
|
this.minimiseToTrayToolStripMenuItem.Size = new System.Drawing.Size(175, 22);
|
|
this.minimiseToTrayToolStripMenuItem.Text = "Minimise to Tray";
|
|
this.minimiseToTrayToolStripMenuItem.Click += new System.EventHandler(this.minimiseToTrayToolStripMenuItem_Click);
|
|
//
|
|
// closeToTrayToolStripMenuItem
|
|
//
|
|
this.closeToTrayToolStripMenuItem.CheckOnClick = true;
|
|
this.closeToTrayToolStripMenuItem.Name = "closeToTrayToolStripMenuItem";
|
|
this.closeToTrayToolStripMenuItem.Size = new System.Drawing.Size(175, 22);
|
|
this.closeToTrayToolStripMenuItem.Text = "Close to Tray";
|
|
//
|
|
// serverConfigToolStripMenuItem
|
|
//
|
|
this.serverConfigToolStripMenuItem.Name = "serverConfigToolStripMenuItem";
|
|
this.serverConfigToolStripMenuItem.Size = new System.Drawing.Size(175, 22);
|
|
this.serverConfigToolStripMenuItem.Text = "Server Config";
|
|
this.serverConfigToolStripMenuItem.Click += new System.EventHandler(this.serverConfigToolStripMenuItem_Click);
|
|
//
|
|
// helpToolStripMenuItem
|
|
//
|
|
this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.aboutToolStripMenuItem});
|
|
this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
|
|
this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
|
|
this.helpToolStripMenuItem.Text = "Help";
|
|
//
|
|
// aboutToolStripMenuItem
|
|
//
|
|
this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
|
|
this.aboutToolStripMenuItem.Size = new System.Drawing.Size(107, 22);
|
|
this.aboutToolStripMenuItem.Text = "About";
|
|
this.aboutToolStripMenuItem.Click += new System.EventHandler(this.aboutToolStripMenuItem_Click);
|
|
//
|
|
// listBox1
|
|
//
|
|
this.listBox1.FormattingEnabled = true;
|
|
this.listBox1.Location = new System.Drawing.Point(13, 28);
|
|
this.listBox1.Name = "listBox1";
|
|
this.listBox1.Size = new System.Drawing.Size(478, 199);
|
|
this.listBox1.TabIndex = 1;
|
|
//
|
|
// button1
|
|
//
|
|
this.button1.Location = new System.Drawing.Point(415, 229);
|
|
this.button1.Name = "button1";
|
|
this.button1.Size = new System.Drawing.Size(75, 23);
|
|
this.button1.TabIndex = 2;
|
|
this.button1.Text = "Start";
|
|
this.button1.UseVisualStyleBackColor = true;
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(13, 234);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(35, 13);
|
|
this.label1.TabIndex = 3;
|
|
this.label1.Text = "label1";
|
|
//
|
|
// button2
|
|
//
|
|
this.button2.Enabled = false;
|
|
this.button2.Location = new System.Drawing.Point(334, 229);
|
|
this.button2.Name = "button2";
|
|
this.button2.Size = new System.Drawing.Size(75, 23);
|
|
this.button2.TabIndex = 4;
|
|
this.button2.Text = "Stop";
|
|
this.button2.UseVisualStyleBackColor = true;
|
|
//
|
|
// notifyIcon1
|
|
//
|
|
this.notifyIcon1.Text = "notifyIcon1";
|
|
this.notifyIcon1.Visible = true;
|
|
this.notifyIcon1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.notifyIcon1_MouseDoubleClick);
|
|
//
|
|
// Form1
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.AutoSize = true;
|
|
this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
|
this.ClientSize = new System.Drawing.Size(503, 264);
|
|
this.Controls.Add(this.button2);
|
|
this.Controls.Add(this.label1);
|
|
this.Controls.Add(this.button1);
|
|
this.Controls.Add(this.listBox1);
|
|
this.Controls.Add(this.menuStrip1);
|
|
this.MainMenuStrip = this.menuStrip1;
|
|
this.MaximizeBox = false;
|
|
this.Name = "Form1";
|
|
this.Text = "Jellyfin Rich Presence";
|
|
this.Load += new System.EventHandler(this.Form1_Load);
|
|
this.Resize += new System.EventHandler(this.Form1_Resize);
|
|
this.menuStrip1.ResumeLayout(false);
|
|
this.menuStrip1.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.MenuStrip menuStrip1;
|
|
private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem quitToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem settingsToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem minimiseToTrayToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem closeToTrayToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem helpToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem serverConfigToolStripMenuItem;
|
|
private System.Windows.Forms.ListBox listBox1;
|
|
private System.Windows.Forms.Button button1;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.Button button2;
|
|
private System.Windows.Forms.ToolStripMenuItem automaticallyStartToolStripMenuItem;
|
|
private System.Windows.Forms.NotifyIcon notifyIcon1;
|
|
|
|
}
|
|
}
|
|
|