2014-02-01 12:52:33 +00:00
|
|
|
|
namespace SpotifyAPI_Example
|
|
|
|
|
{
|
|
|
|
|
partial class Form1
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Erforderliche Designervariable.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Verwendete Ressourcen bereinigen.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="disposing">True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.</param>
|
|
|
|
|
protected override void Dispose(bool disposing)
|
|
|
|
|
{
|
|
|
|
|
if (disposing && (components != null))
|
|
|
|
|
{
|
|
|
|
|
components.Dispose();
|
|
|
|
|
}
|
|
|
|
|
base.Dispose(disposing);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region Vom Windows Form-Designer generierter Code
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Erforderliche Methode für die Designerunterstützung.
|
|
|
|
|
/// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
|
|
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
|
|
|
this.progressBar1 = new System.Windows.Forms.ProgressBar();
|
|
|
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
|
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
|
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
|
|
|
this.currentName = new System.Windows.Forms.Label();
|
|
|
|
|
this.currentAlbum = new System.Windows.Forms.Label();
|
|
|
|
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
|
|
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
|
|
|
this.label7 = new System.Windows.Forms.Label();
|
|
|
|
|
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
|
|
|
|
this.button5 = new System.Windows.Forms.Button();
|
|
|
|
|
this.textBox1 = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.checkBox1 = new System.Windows.Forms.CheckBox();
|
|
|
|
|
this.button4 = new System.Windows.Forms.Button();
|
|
|
|
|
this.button3 = new System.Windows.Forms.Button();
|
|
|
|
|
this.button2 = new System.Windows.Forms.Button();
|
|
|
|
|
this.button1 = new System.Windows.Forms.Button();
|
|
|
|
|
this.label11 = new System.Windows.Forms.Label();
|
|
|
|
|
this.label10 = new System.Windows.Forms.Label();
|
|
|
|
|
this.label9 = new System.Windows.Forms.Label();
|
|
|
|
|
this.label8 = new System.Windows.Forms.Label();
|
|
|
|
|
this.pictureBox2 = new System.Windows.Forms.PictureBox();
|
2014-04-12 21:46:54 +01:00
|
|
|
|
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
|
|
|
|
|
this.linkLabel2 = new System.Windows.Forms.LinkLabel();
|
|
|
|
|
this.linkLabel3 = new System.Windows.Forms.LinkLabel();
|
2014-02-01 12:52:33 +00:00
|
|
|
|
this.groupBox1.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
|
|
|
|
this.groupBox2.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
|
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// groupBox1
|
|
|
|
|
//
|
2014-04-12 21:46:54 +01:00
|
|
|
|
this.groupBox1.Controls.Add(this.linkLabel3);
|
|
|
|
|
this.groupBox1.Controls.Add(this.linkLabel2);
|
|
|
|
|
this.groupBox1.Controls.Add(this.linkLabel1);
|
2014-02-01 12:52:33 +00:00
|
|
|
|
this.groupBox1.Controls.Add(this.progressBar1);
|
|
|
|
|
this.groupBox1.Controls.Add(this.label4);
|
|
|
|
|
this.groupBox1.Controls.Add(this.label5);
|
|
|
|
|
this.groupBox1.Controls.Add(this.label3);
|
|
|
|
|
this.groupBox1.Controls.Add(this.currentName);
|
|
|
|
|
this.groupBox1.Controls.Add(this.currentAlbum);
|
|
|
|
|
this.groupBox1.Controls.Add(this.pictureBox1);
|
|
|
|
|
this.groupBox1.Location = new System.Drawing.Point(12, 209);
|
|
|
|
|
this.groupBox1.Name = "groupBox1";
|
|
|
|
|
this.groupBox1.Size = new System.Drawing.Size(279, 313);
|
|
|
|
|
this.groupBox1.TabIndex = 0;
|
|
|
|
|
this.groupBox1.TabStop = false;
|
|
|
|
|
this.groupBox1.Text = "Current Track";
|
|
|
|
|
//
|
|
|
|
|
// progressBar1
|
|
|
|
|
//
|
|
|
|
|
this.progressBar1.Location = new System.Drawing.Point(10, 280);
|
|
|
|
|
this.progressBar1.Name = "progressBar1";
|
|
|
|
|
this.progressBar1.Size = new System.Drawing.Size(256, 23);
|
|
|
|
|
this.progressBar1.TabIndex = 9;
|
|
|
|
|
//
|
|
|
|
|
// label4
|
|
|
|
|
//
|
|
|
|
|
this.label4.AutoSize = true;
|
|
|
|
|
this.label4.Location = new System.Drawing.Point(149, 264);
|
|
|
|
|
this.label4.Name = "label4";
|
|
|
|
|
this.label4.Size = new System.Drawing.Size(13, 13);
|
|
|
|
|
this.label4.TabIndex = 8;
|
|
|
|
|
this.label4.Text = "0";
|
|
|
|
|
//
|
|
|
|
|
// label5
|
|
|
|
|
//
|
|
|
|
|
this.label5.AutoSize = true;
|
|
|
|
|
this.label5.Location = new System.Drawing.Point(104, 264);
|
|
|
|
|
this.label5.Name = "label5";
|
|
|
|
|
this.label5.Size = new System.Drawing.Size(33, 13);
|
|
|
|
|
this.label5.TabIndex = 7;
|
|
|
|
|
this.label5.Text = "Time:";
|
|
|
|
|
//
|
|
|
|
|
// label3
|
|
|
|
|
//
|
|
|
|
|
this.label3.AutoSize = true;
|
|
|
|
|
this.label3.Location = new System.Drawing.Point(3, 205);
|
|
|
|
|
this.label3.Name = "label3";
|
|
|
|
|
this.label3.Size = new System.Drawing.Size(36, 13);
|
|
|
|
|
this.label3.TabIndex = 5;
|
|
|
|
|
this.label3.Text = "Artist: ";
|
|
|
|
|
//
|
|
|
|
|
// currentName
|
|
|
|
|
//
|
|
|
|
|
this.currentName.AutoSize = true;
|
|
|
|
|
this.currentName.Location = new System.Drawing.Point(3, 182);
|
|
|
|
|
this.currentName.Name = "currentName";
|
|
|
|
|
this.currentName.Size = new System.Drawing.Size(41, 13);
|
|
|
|
|
this.currentName.TabIndex = 3;
|
|
|
|
|
this.currentName.Text = "Name: ";
|
|
|
|
|
//
|
|
|
|
|
// currentAlbum
|
|
|
|
|
//
|
|
|
|
|
this.currentAlbum.AutoSize = true;
|
|
|
|
|
this.currentAlbum.Location = new System.Drawing.Point(3, 228);
|
|
|
|
|
this.currentAlbum.Name = "currentAlbum";
|
|
|
|
|
this.currentAlbum.Size = new System.Drawing.Size(39, 13);
|
|
|
|
|
this.currentAlbum.TabIndex = 1;
|
|
|
|
|
this.currentAlbum.Text = "Album:";
|
|
|
|
|
//
|
|
|
|
|
// pictureBox1
|
|
|
|
|
//
|
|
|
|
|
this.pictureBox1.Location = new System.Drawing.Point(6, 19);
|
|
|
|
|
this.pictureBox1.Name = "pictureBox1";
|
|
|
|
|
this.pictureBox1.Size = new System.Drawing.Size(160, 160);
|
|
|
|
|
this.pictureBox1.TabIndex = 0;
|
|
|
|
|
this.pictureBox1.TabStop = false;
|
|
|
|
|
//
|
|
|
|
|
// label6
|
|
|
|
|
//
|
|
|
|
|
this.label6.AutoSize = true;
|
|
|
|
|
this.label6.Location = new System.Drawing.Point(18, 76);
|
|
|
|
|
this.label6.Name = "label6";
|
2014-04-12 21:46:54 +01:00
|
|
|
|
this.label6.Size = new System.Drawing.Size(41, 13);
|
2014-02-01 12:52:33 +00:00
|
|
|
|
this.label6.TabIndex = 9;
|
2014-02-18 17:10:23 +00:00
|
|
|
|
this.label6.Text = "Advert:";
|
2014-02-01 12:52:33 +00:00
|
|
|
|
//
|
|
|
|
|
// label7
|
|
|
|
|
//
|
|
|
|
|
this.label7.AutoSize = true;
|
|
|
|
|
this.label7.Location = new System.Drawing.Point(78, 76);
|
|
|
|
|
this.label7.Name = "label7";
|
|
|
|
|
this.label7.Size = new System.Drawing.Size(13, 13);
|
|
|
|
|
this.label7.TabIndex = 10;
|
|
|
|
|
this.label7.Text = "0";
|
|
|
|
|
//
|
|
|
|
|
// groupBox2
|
|
|
|
|
//
|
|
|
|
|
this.groupBox2.Controls.Add(this.button5);
|
|
|
|
|
this.groupBox2.Controls.Add(this.textBox1);
|
|
|
|
|
this.groupBox2.Controls.Add(this.label7);
|
|
|
|
|
this.groupBox2.Controls.Add(this.checkBox1);
|
|
|
|
|
this.groupBox2.Controls.Add(this.label6);
|
|
|
|
|
this.groupBox2.Controls.Add(this.button4);
|
|
|
|
|
this.groupBox2.Controls.Add(this.button3);
|
|
|
|
|
this.groupBox2.Controls.Add(this.button2);
|
|
|
|
|
this.groupBox2.Controls.Add(this.button1);
|
|
|
|
|
this.groupBox2.Controls.Add(this.label11);
|
|
|
|
|
this.groupBox2.Controls.Add(this.label10);
|
|
|
|
|
this.groupBox2.Controls.Add(this.label9);
|
|
|
|
|
this.groupBox2.Controls.Add(this.label8);
|
|
|
|
|
this.groupBox2.Location = new System.Drawing.Point(12, 12);
|
|
|
|
|
this.groupBox2.Name = "groupBox2";
|
|
|
|
|
this.groupBox2.Size = new System.Drawing.Size(338, 191);
|
|
|
|
|
this.groupBox2.TabIndex = 11;
|
|
|
|
|
this.groupBox2.TabStop = false;
|
|
|
|
|
this.groupBox2.Text = "Spotify";
|
|
|
|
|
//
|
|
|
|
|
// button5
|
|
|
|
|
//
|
|
|
|
|
this.button5.Location = new System.Drawing.Point(249, 136);
|
|
|
|
|
this.button5.MaximumSize = new System.Drawing.Size(75, 23);
|
|
|
|
|
this.button5.MinimumSize = new System.Drawing.Size(75, 23);
|
|
|
|
|
this.button5.Name = "button5";
|
|
|
|
|
this.button5.Size = new System.Drawing.Size(75, 23);
|
|
|
|
|
this.button5.TabIndex = 14;
|
|
|
|
|
this.button5.Text = "PlayURL";
|
|
|
|
|
this.button5.UseVisualStyleBackColor = true;
|
|
|
|
|
this.button5.Click += new System.EventHandler(this.button5_Click);
|
|
|
|
|
//
|
|
|
|
|
// textBox1
|
|
|
|
|
//
|
|
|
|
|
this.textBox1.Location = new System.Drawing.Point(6, 136);
|
|
|
|
|
this.textBox1.Name = "textBox1";
|
|
|
|
|
this.textBox1.Size = new System.Drawing.Size(237, 20);
|
|
|
|
|
this.textBox1.TabIndex = 13;
|
|
|
|
|
//
|
|
|
|
|
// checkBox1
|
|
|
|
|
//
|
|
|
|
|
this.checkBox1.AutoSize = true;
|
|
|
|
|
this.checkBox1.Location = new System.Drawing.Point(276, 108);
|
|
|
|
|
this.checkBox1.Name = "checkBox1";
|
|
|
|
|
this.checkBox1.Size = new System.Drawing.Size(56, 17);
|
|
|
|
|
this.checkBox1.TabIndex = 12;
|
|
|
|
|
this.checkBox1.Text = "Muted";
|
|
|
|
|
this.checkBox1.UseVisualStyleBackColor = true;
|
|
|
|
|
this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
|
|
|
|
|
//
|
|
|
|
|
// button4
|
|
|
|
|
//
|
|
|
|
|
this.button4.Location = new System.Drawing.Point(249, 162);
|
|
|
|
|
this.button4.Name = "button4";
|
|
|
|
|
this.button4.Size = new System.Drawing.Size(75, 23);
|
|
|
|
|
this.button4.TabIndex = 11;
|
|
|
|
|
this.button4.Text = "Skip";
|
|
|
|
|
this.button4.UseVisualStyleBackColor = true;
|
|
|
|
|
this.button4.Click += new System.EventHandler(this.button4_Click);
|
|
|
|
|
//
|
|
|
|
|
// button3
|
|
|
|
|
//
|
|
|
|
|
this.button3.Location = new System.Drawing.Point(168, 162);
|
|
|
|
|
this.button3.Name = "button3";
|
|
|
|
|
this.button3.Size = new System.Drawing.Size(75, 23);
|
|
|
|
|
this.button3.TabIndex = 10;
|
|
|
|
|
this.button3.Text = "Previous";
|
|
|
|
|
this.button3.UseVisualStyleBackColor = true;
|
|
|
|
|
this.button3.Click += new System.EventHandler(this.button3_Click);
|
|
|
|
|
//
|
|
|
|
|
// button2
|
|
|
|
|
//
|
|
|
|
|
this.button2.Location = new System.Drawing.Point(87, 162);
|
|
|
|
|
this.button2.Name = "button2";
|
|
|
|
|
this.button2.Size = new System.Drawing.Size(75, 23);
|
|
|
|
|
this.button2.TabIndex = 9;
|
|
|
|
|
this.button2.Text = "Pause";
|
|
|
|
|
this.button2.UseVisualStyleBackColor = true;
|
|
|
|
|
this.button2.Click += new System.EventHandler(this.button2_Click);
|
|
|
|
|
//
|
|
|
|
|
// button1
|
|
|
|
|
//
|
|
|
|
|
this.button1.Location = new System.Drawing.Point(6, 162);
|
|
|
|
|
this.button1.Name = "button1";
|
|
|
|
|
this.button1.Size = new System.Drawing.Size(75, 23);
|
|
|
|
|
this.button1.TabIndex = 8;
|
|
|
|
|
this.button1.Text = "Play";
|
|
|
|
|
this.button1.UseVisualStyleBackColor = true;
|
|
|
|
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
|
|
|
|
//
|
|
|
|
|
// label11
|
|
|
|
|
//
|
|
|
|
|
this.label11.AutoSize = true;
|
|
|
|
|
this.label11.Location = new System.Drawing.Point(79, 53);
|
|
|
|
|
this.label11.Name = "label11";
|
|
|
|
|
this.label11.Size = new System.Drawing.Size(55, 13);
|
|
|
|
|
this.label11.TabIndex = 7;
|
|
|
|
|
this.label11.Text = "IsPlaying: ";
|
|
|
|
|
//
|
|
|
|
|
// label10
|
|
|
|
|
//
|
|
|
|
|
this.label10.AutoSize = true;
|
|
|
|
|
this.label10.Location = new System.Drawing.Point(18, 53);
|
|
|
|
|
this.label10.Name = "label10";
|
|
|
|
|
this.label10.Size = new System.Drawing.Size(45, 13);
|
|
|
|
|
this.label10.TabIndex = 6;
|
|
|
|
|
this.label10.Text = "Volume:";
|
|
|
|
|
//
|
|
|
|
|
// label9
|
|
|
|
|
//
|
|
|
|
|
this.label9.AutoSize = true;
|
|
|
|
|
this.label9.Location = new System.Drawing.Point(79, 30);
|
|
|
|
|
this.label9.Name = "label9";
|
|
|
|
|
this.label9.Size = new System.Drawing.Size(55, 13);
|
|
|
|
|
this.label9.TabIndex = 5;
|
|
|
|
|
this.label9.Text = "IsPlaying: ";
|
|
|
|
|
//
|
|
|
|
|
// label8
|
|
|
|
|
//
|
|
|
|
|
this.label8.AutoSize = true;
|
|
|
|
|
this.label8.Location = new System.Drawing.Point(18, 30);
|
|
|
|
|
this.label8.Name = "label8";
|
|
|
|
|
this.label8.Size = new System.Drawing.Size(55, 13);
|
|
|
|
|
this.label8.TabIndex = 4;
|
|
|
|
|
this.label8.Text = "IsPlaying: ";
|
|
|
|
|
//
|
|
|
|
|
// pictureBox2
|
|
|
|
|
//
|
|
|
|
|
this.pictureBox2.Location = new System.Drawing.Point(350, 12);
|
|
|
|
|
this.pictureBox2.MaximumSize = new System.Drawing.Size(640, 640);
|
|
|
|
|
this.pictureBox2.MinimumSize = new System.Drawing.Size(640, 640);
|
|
|
|
|
this.pictureBox2.Name = "pictureBox2";
|
|
|
|
|
this.pictureBox2.Size = new System.Drawing.Size(640, 640);
|
|
|
|
|
this.pictureBox2.TabIndex = 12;
|
|
|
|
|
this.pictureBox2.TabStop = false;
|
|
|
|
|
//
|
2014-04-12 21:46:54 +01:00
|
|
|
|
// linkLabel1
|
|
|
|
|
//
|
|
|
|
|
this.linkLabel1.AutoSize = true;
|
|
|
|
|
this.linkLabel1.Location = new System.Drawing.Point(50, 182);
|
|
|
|
|
this.linkLabel1.Name = "linkLabel1";
|
|
|
|
|
this.linkLabel1.Size = new System.Drawing.Size(55, 13);
|
|
|
|
|
this.linkLabel1.TabIndex = 10;
|
|
|
|
|
this.linkLabel1.TabStop = true;
|
|
|
|
|
this.linkLabel1.Text = "linkLabel1";
|
|
|
|
|
//
|
|
|
|
|
// linkLabel2
|
|
|
|
|
//
|
|
|
|
|
this.linkLabel2.AutoSize = true;
|
|
|
|
|
this.linkLabel2.Location = new System.Drawing.Point(50, 205);
|
|
|
|
|
this.linkLabel2.Name = "linkLabel2";
|
|
|
|
|
this.linkLabel2.Size = new System.Drawing.Size(55, 13);
|
|
|
|
|
this.linkLabel2.TabIndex = 11;
|
|
|
|
|
this.linkLabel2.TabStop = true;
|
|
|
|
|
this.linkLabel2.Text = "linkLabel2";
|
|
|
|
|
//
|
|
|
|
|
// linkLabel3
|
|
|
|
|
//
|
|
|
|
|
this.linkLabel3.AutoSize = true;
|
|
|
|
|
this.linkLabel3.Location = new System.Drawing.Point(50, 228);
|
|
|
|
|
this.linkLabel3.Name = "linkLabel3";
|
|
|
|
|
this.linkLabel3.Size = new System.Drawing.Size(55, 13);
|
|
|
|
|
this.linkLabel3.TabIndex = 12;
|
|
|
|
|
this.linkLabel3.TabStop = true;
|
|
|
|
|
this.linkLabel3.Text = "linkLabel3";
|
|
|
|
|
//
|
2014-02-01 12:52:33 +00:00
|
|
|
|
// Form1
|
|
|
|
|
//
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
|
|
this.ClientSize = new System.Drawing.Size(1002, 664);
|
|
|
|
|
this.Controls.Add(this.pictureBox2);
|
|
|
|
|
this.Controls.Add(this.groupBox2);
|
|
|
|
|
this.Controls.Add(this.groupBox1);
|
|
|
|
|
this.MaximumSize = new System.Drawing.Size(1018, 702);
|
|
|
|
|
this.MinimumSize = new System.Drawing.Size(1018, 702);
|
|
|
|
|
this.Name = "Form1";
|
|
|
|
|
this.Text = "SpotifyAPI Example";
|
|
|
|
|
this.Load += new System.EventHandler(this.Form1_Load);
|
|
|
|
|
this.groupBox1.ResumeLayout(false);
|
|
|
|
|
this.groupBox1.PerformLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
|
|
|
|
this.groupBox2.ResumeLayout(false);
|
|
|
|
|
this.groupBox2.PerformLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
|
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private System.Windows.Forms.GroupBox groupBox1;
|
|
|
|
|
private System.Windows.Forms.Label currentAlbum;
|
|
|
|
|
private System.Windows.Forms.PictureBox pictureBox1;
|
|
|
|
|
private System.Windows.Forms.Label currentName;
|
|
|
|
|
private System.Windows.Forms.Label label3;
|
|
|
|
|
private System.Windows.Forms.Label label7;
|
|
|
|
|
private System.Windows.Forms.Label label6;
|
|
|
|
|
private System.Windows.Forms.Label label4;
|
|
|
|
|
private System.Windows.Forms.Label label5;
|
|
|
|
|
private System.Windows.Forms.GroupBox groupBox2;
|
|
|
|
|
private System.Windows.Forms.Label label9;
|
|
|
|
|
private System.Windows.Forms.Label label8;
|
|
|
|
|
private System.Windows.Forms.Label label11;
|
|
|
|
|
private System.Windows.Forms.Label label10;
|
|
|
|
|
private System.Windows.Forms.Button button4;
|
|
|
|
|
private System.Windows.Forms.Button button3;
|
|
|
|
|
private System.Windows.Forms.Button button2;
|
|
|
|
|
private System.Windows.Forms.Button button1;
|
|
|
|
|
private System.Windows.Forms.CheckBox checkBox1;
|
|
|
|
|
private System.Windows.Forms.Button button5;
|
|
|
|
|
private System.Windows.Forms.TextBox textBox1;
|
|
|
|
|
private System.Windows.Forms.PictureBox pictureBox2;
|
|
|
|
|
private System.Windows.Forms.ProgressBar progressBar1;
|
2014-04-12 21:46:54 +01:00
|
|
|
|
private System.Windows.Forms.LinkLabel linkLabel3;
|
|
|
|
|
private System.Windows.Forms.LinkLabel linkLabel2;
|
|
|
|
|
private System.Windows.Forms.LinkLabel linkLabel1;
|
2014-02-01 12:52:33 +00:00
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|