302 lines
16 KiB
C#
302 lines
16 KiB
C#
namespace JellyfinRPC
|
|
{
|
|
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.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.openToTrayToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.serverConfigToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.rPCSettingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.debugToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.testConsoleToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.writeLabelToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.listBox1 = new System.Windows.Forms.ListBox();
|
|
this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
|
|
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
this.showToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.quitToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.checkBox1 = new System.Windows.Forms.CheckBox();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.menuStrip1.SuspendLayout();
|
|
this.contextMenuStrip1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// menuStrip1
|
|
//
|
|
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.fileToolStripMenuItem,
|
|
this.settingsToolStripMenuItem,
|
|
this.helpToolStripMenuItem,
|
|
this.debugToolStripMenuItem});
|
|
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.openToTrayToolStripMenuItem,
|
|
this.serverConfigToolStripMenuItem,
|
|
this.rPCSettingsToolStripMenuItem});
|
|
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";
|
|
this.closeToTrayToolStripMenuItem.Click += new System.EventHandler(this.closeToTrayToolStripMenuItem_Click);
|
|
//
|
|
// openToTrayToolStripMenuItem
|
|
//
|
|
this.openToTrayToolStripMenuItem.CheckOnClick = true;
|
|
this.openToTrayToolStripMenuItem.Name = "openToTrayToolStripMenuItem";
|
|
this.openToTrayToolStripMenuItem.Size = new System.Drawing.Size(175, 22);
|
|
this.openToTrayToolStripMenuItem.Text = "Open to Tray";
|
|
this.openToTrayToolStripMenuItem.Click += new System.EventHandler(this.openToTrayToolStripMenuItem_Click);
|
|
//
|
|
// 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);
|
|
//
|
|
// rPCSettingsToolStripMenuItem
|
|
//
|
|
this.rPCSettingsToolStripMenuItem.Name = "rPCSettingsToolStripMenuItem";
|
|
this.rPCSettingsToolStripMenuItem.Size = new System.Drawing.Size(175, 22);
|
|
this.rPCSettingsToolStripMenuItem.Text = "RPC Config";
|
|
this.rPCSettingsToolStripMenuItem.Click += new System.EventHandler(this.rPCSettingsToolStripMenuItem_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(180, 22);
|
|
this.aboutToolStripMenuItem.Text = "About";
|
|
this.aboutToolStripMenuItem.Click += new System.EventHandler(this.aboutToolStripMenuItem_Click);
|
|
//
|
|
// debugToolStripMenuItem
|
|
//
|
|
this.debugToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.testConsoleToolStripMenuItem,
|
|
this.writeLabelToolStripMenuItem});
|
|
this.debugToolStripMenuItem.Name = "debugToolStripMenuItem";
|
|
this.debugToolStripMenuItem.Size = new System.Drawing.Size(54, 20);
|
|
this.debugToolStripMenuItem.Text = "Debug";
|
|
//
|
|
// testConsoleToolStripMenuItem
|
|
//
|
|
this.testConsoleToolStripMenuItem.Name = "testConsoleToolStripMenuItem";
|
|
this.testConsoleToolStripMenuItem.Size = new System.Drawing.Size(142, 22);
|
|
this.testConsoleToolStripMenuItem.Text = "Test Console";
|
|
this.testConsoleToolStripMenuItem.Click += new System.EventHandler(this.testConsoleToolStripMenuItem_Click);
|
|
//
|
|
// writeLabelToolStripMenuItem
|
|
//
|
|
this.writeLabelToolStripMenuItem.Name = "writeLabelToolStripMenuItem";
|
|
this.writeLabelToolStripMenuItem.Size = new System.Drawing.Size(142, 22);
|
|
this.writeLabelToolStripMenuItem.Text = "Write Status";
|
|
this.writeLabelToolStripMenuItem.Click += new System.EventHandler(this.writeLabelToolStripMenuItem_Click);
|
|
//
|
|
// listBox1
|
|
//
|
|
this.listBox1.Location = new System.Drawing.Point(14, 27);
|
|
this.listBox1.Name = "listBox1";
|
|
this.listBox1.Size = new System.Drawing.Size(475, 199);
|
|
this.listBox1.TabIndex = 1;
|
|
this.listBox1.SelectedIndexChanged += new System.EventHandler(this.listBox1_SelectedIndexChanged);
|
|
//
|
|
// notifyIcon1
|
|
//
|
|
this.notifyIcon1.BalloonTipIcon = System.Windows.Forms.ToolTipIcon.Info;
|
|
this.notifyIcon1.BalloonTipText = "Jellyfin Rich Presence has been moved to the tray icon.";
|
|
this.notifyIcon1.BalloonTipTitle = "Jellyfin Rich Presence is still running!";
|
|
this.notifyIcon1.ContextMenuStrip = this.contextMenuStrip1;
|
|
this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
|
|
this.notifyIcon1.Text = "Jellyfin Rich Presence";
|
|
this.notifyIcon1.Visible = true;
|
|
this.notifyIcon1.Click += new System.EventHandler(this.notifyIcon1_Click);
|
|
this.notifyIcon1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.notifyIcon1_MouseDoubleClick);
|
|
//
|
|
// contextMenuStrip1
|
|
//
|
|
this.contextMenuStrip1.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
|
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.showToolStripMenuItem,
|
|
this.quitToolStripMenuItem1});
|
|
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
|
this.contextMenuStrip1.Size = new System.Drawing.Size(104, 48);
|
|
//
|
|
// showToolStripMenuItem
|
|
//
|
|
this.showToolStripMenuItem.Name = "showToolStripMenuItem";
|
|
this.showToolStripMenuItem.Size = new System.Drawing.Size(103, 22);
|
|
this.showToolStripMenuItem.Text = "Show";
|
|
this.showToolStripMenuItem.Click += new System.EventHandler(this.showToolStripMenuItem_Click);
|
|
//
|
|
// quitToolStripMenuItem1
|
|
//
|
|
this.quitToolStripMenuItem1.Name = "quitToolStripMenuItem1";
|
|
this.quitToolStripMenuItem1.Size = new System.Drawing.Size(103, 22);
|
|
this.quitToolStripMenuItem1.Text = "Quit";
|
|
this.quitToolStripMenuItem1.Click += new System.EventHandler(this.quitToolStripMenuItem1_Click);
|
|
//
|
|
// checkBox1
|
|
//
|
|
this.checkBox1.AutoSize = true;
|
|
this.checkBox1.Location = new System.Drawing.Point(397, 238);
|
|
this.checkBox1.Name = "checkBox1";
|
|
this.checkBox1.Size = new System.Drawing.Size(94, 17);
|
|
this.checkBox1.TabIndex = 4;
|
|
this.checkBox1.Text = "Show Console";
|
|
this.checkBox1.UseVisualStyleBackColor = true;
|
|
this.checkBox1.Click += new System.EventHandler(this.checkBox1_Click);
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(12, 242);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(35, 13);
|
|
this.label1.TabIndex = 3;
|
|
this.label1.Text = "label1";
|
|
//
|
|
// 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.listBox1);
|
|
this.Controls.Add(this.label1);
|
|
this.Controls.Add(this.checkBox1);
|
|
this.Controls.Add(this.menuStrip1);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
this.MainMenuStrip = this.menuStrip1;
|
|
this.MaximizeBox = false;
|
|
this.Name = "Form1";
|
|
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
|
|
this.Text = "Jellyfin Rich Presence";
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
|
|
this.Load += new System.EventHandler(this.Form1_Load);
|
|
this.Resize += new System.EventHandler(this.Form1_Resize);
|
|
this.menuStrip1.ResumeLayout(false);
|
|
this.menuStrip1.PerformLayout();
|
|
this.contextMenuStrip1.ResumeLayout(false);
|
|
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.ToolStripMenuItem automaticallyStartToolStripMenuItem;
|
|
private System.Windows.Forms.NotifyIcon notifyIcon1;
|
|
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
|
|
private System.Windows.Forms.ToolStripMenuItem showToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem quitToolStripMenuItem1;
|
|
private System.Windows.Forms.ToolStripMenuItem openToTrayToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem rPCSettingsToolStripMenuItem;
|
|
public System.Windows.Forms.ListBox listBox1;
|
|
private System.Windows.Forms.ToolStripMenuItem debugToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem testConsoleToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem writeLabelToolStripMenuItem;
|
|
public System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.CheckBox checkBox1;
|
|
}
|
|
}
|
|
|