diff --git a/AnimeCon.Vlc.Scraper/Form1.Designer.cs b/AnimeCon.Vlc.Scraper/Form1.Designer.cs
index c1c0e12..b287311 100644
--- a/AnimeCon.Vlc.Scraper/Form1.Designer.cs
+++ b/AnimeCon.Vlc.Scraper/Form1.Designer.cs
@@ -28,20 +28,220 @@
///
private void InitializeComponent()
{
+ this.components = new System.ComponentModel.Container();
+ this.label1 = new System.Windows.Forms.Label();
+ this.txtHostname = new System.Windows.Forms.TextBox();
+ this.txtPassword = new System.Windows.Forms.TextBox();
+ this.label2 = new System.Windows.Forms.Label();
+ this.btnConnect = new System.Windows.Forms.Button();
+ this.label3 = new System.Windows.Forms.Label();
+ this.lblTime = new System.Windows.Forms.Label();
+ this.lblStatus = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.lblRunning = new System.Windows.Forms.Label();
+ this.cbCom = new System.Windows.Forms.ComboBox();
+ this.btnClock = new System.Windows.Forms.Button();
+ this.label6 = new System.Windows.Forms.Label();
+ this.textBox1 = new System.Windows.Forms.TextBox();
+ this.tmrVlc = new System.Windows.Forms.Timer(this.components);
+ this.tmrClock = new System.Windows.Forms.Timer(this.components);
this.SuspendLayout();
//
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.ForeColor = System.Drawing.SystemColors.Control;
+ this.label1.Location = new System.Drawing.Point(12, 16);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(78, 13);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "VLC Hostname";
+ //
+ // txtHostname
+ //
+ this.txtHostname.Location = new System.Drawing.Point(96, 13);
+ this.txtHostname.Name = "txtHostname";
+ this.txtHostname.Size = new System.Drawing.Size(100, 20);
+ this.txtHostname.TabIndex = 1;
+ this.txtHostname.Text = "localhost:8080";
+ //
+ // txtPassword
+ //
+ this.txtPassword.Location = new System.Drawing.Point(96, 40);
+ this.txtPassword.Name = "txtPassword";
+ this.txtPassword.Size = new System.Drawing.Size(100, 20);
+ this.txtPassword.TabIndex = 2;
+ this.txtPassword.Text = "animecon";
+ //
+ // label2
+ //
+ this.label2.AutoSize = true;
+ this.label2.ForeColor = System.Drawing.SystemColors.Control;
+ this.label2.Location = new System.Drawing.Point(12, 43);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(53, 13);
+ this.label2.TabIndex = 3;
+ this.label2.Text = "Password";
+ //
+ // btnConnect
+ //
+ this.btnConnect.Location = new System.Drawing.Point(96, 67);
+ this.btnConnect.Name = "btnConnect";
+ this.btnConnect.Size = new System.Drawing.Size(75, 23);
+ this.btnConnect.TabIndex = 4;
+ this.btnConnect.Text = "Connect";
+ this.btnConnect.UseVisualStyleBackColor = true;
+ this.btnConnect.Click += new System.EventHandler(this.btnConnect_Click);
+ //
+ // label3
+ //
+ this.label3.AutoSize = true;
+ this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.label3.ForeColor = System.Drawing.SystemColors.Control;
+ this.label3.Location = new System.Drawing.Point(319, 13);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(308, 31);
+ this.label3.TabIndex = 5;
+ this.label3.Text = "Current Time Remaining";
+ //
+ // lblTime
+ //
+ this.lblTime.AutoSize = true;
+ this.lblTime.Font = new System.Drawing.Font("Microsoft Sans Serif", 48F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.lblTime.ForeColor = System.Drawing.SystemColors.Control;
+ this.lblTime.Location = new System.Drawing.Point(325, 48);
+ this.lblTime.Name = "lblTime";
+ this.lblTime.Size = new System.Drawing.Size(284, 73);
+ this.lblTime.TabIndex = 6;
+ this.lblTime.Text = "00:00:00";
+ //
+ // lblStatus
+ //
+ this.lblStatus.AutoSize = true;
+ this.lblStatus.ForeColor = System.Drawing.Color.Red;
+ this.lblStatus.Location = new System.Drawing.Point(12, 72);
+ this.lblStatus.Name = "lblStatus";
+ this.lblStatus.Size = new System.Drawing.Size(73, 13);
+ this.lblStatus.TabIndex = 7;
+ this.lblStatus.Text = "Disconnected";
+ //
+ // label5
+ //
+ this.label5.AutoSize = true;
+ this.label5.ForeColor = System.Drawing.SystemColors.Control;
+ this.label5.Location = new System.Drawing.Point(15, 135);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(73, 13);
+ this.label5.TabIndex = 8;
+ this.label5.Text = "Send to clock";
+ //
+ // label4
+ //
+ this.label4.AutoSize = true;
+ this.label4.ForeColor = System.Drawing.SystemColors.Control;
+ this.label4.Location = new System.Drawing.Point(18, 168);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(52, 13);
+ this.label4.TabIndex = 9;
+ this.label4.Text = "COM port";
+ //
+ // lblRunning
+ //
+ this.lblRunning.AutoSize = true;
+ this.lblRunning.ForeColor = System.Drawing.Color.Red;
+ this.lblRunning.Location = new System.Drawing.Point(96, 135);
+ this.lblRunning.Name = "lblRunning";
+ this.lblRunning.Size = new System.Drawing.Size(21, 13);
+ this.lblRunning.TabIndex = 10;
+ this.lblRunning.Text = "Off";
+ //
+ // cbCom
+ //
+ this.cbCom.FormattingEnabled = true;
+ this.cbCom.Location = new System.Drawing.Point(96, 168);
+ this.cbCom.Name = "cbCom";
+ this.cbCom.Size = new System.Drawing.Size(121, 21);
+ this.cbCom.TabIndex = 11;
+ //
+ // btnClock
+ //
+ this.btnClock.Location = new System.Drawing.Point(96, 222);
+ this.btnClock.Name = "btnClock";
+ this.btnClock.Size = new System.Drawing.Size(75, 23);
+ this.btnClock.TabIndex = 12;
+ this.btnClock.Text = "Send";
+ this.btnClock.UseVisualStyleBackColor = true;
+ //
+ // label6
+ //
+ this.label6.AutoSize = true;
+ this.label6.ForeColor = System.Drawing.SystemColors.Control;
+ this.label6.Location = new System.Drawing.Point(18, 199);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(68, 13);
+ this.label6.TabIndex = 13;
+ this.label6.Text = "Interval (sec)";
+ //
+ // textBox1
+ //
+ this.textBox1.Location = new System.Drawing.Point(96, 196);
+ this.textBox1.Name = "textBox1";
+ this.textBox1.Size = new System.Drawing.Size(100, 20);
+ this.textBox1.TabIndex = 14;
+ this.textBox1.Text = "30";
+ //
+ // tmrVlc
+ //
+ this.tmrVlc.Interval = 1000;
+ //
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(800, 450);
+ this.BackColor = System.Drawing.SystemColors.ActiveCaptionText;
+ this.ClientSize = new System.Drawing.Size(634, 286);
+ this.Controls.Add(this.textBox1);
+ this.Controls.Add(this.label6);
+ this.Controls.Add(this.btnClock);
+ this.Controls.Add(this.cbCom);
+ this.Controls.Add(this.lblRunning);
+ this.Controls.Add(this.label4);
+ this.Controls.Add(this.label5);
+ this.Controls.Add(this.lblStatus);
+ this.Controls.Add(this.lblTime);
+ this.Controls.Add(this.label3);
+ this.Controls.Add(this.btnConnect);
+ this.Controls.Add(this.label2);
+ this.Controls.Add(this.txtPassword);
+ this.Controls.Add(this.txtHostname);
+ this.Controls.Add(this.label1);
this.Name = "Form1";
this.Text = "Scraper";
this.ResumeLayout(false);
+ this.PerformLayout();
}
#endregion
+
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.TextBox txtHostname;
+ private System.Windows.Forms.TextBox txtPassword;
+ private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Button btnConnect;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label lblTime;
+ private System.Windows.Forms.Label lblStatus;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label lblRunning;
+ private System.Windows.Forms.ComboBox cbCom;
+ private System.Windows.Forms.Button btnClock;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.TextBox textBox1;
+ private System.Windows.Forms.Timer tmrVlc;
+ private System.Windows.Forms.Timer tmrClock;
}
}
diff --git a/AnimeCon.Vlc.Scraper/Form1.cs b/AnimeCon.Vlc.Scraper/Form1.cs
index e8c2b3c..9046ecf 100644
--- a/AnimeCon.Vlc.Scraper/Form1.cs
+++ b/AnimeCon.Vlc.Scraper/Form1.cs
@@ -16,5 +16,10 @@ namespace AnimeCon.Vlc.Scraper
{
InitializeComponent();
}
+
+ private void btnConnect_Click(object sender, EventArgs e)
+ {
+
+ }
}
}
diff --git a/AnimeCon.Vlc.Scraper/Form1.resx b/AnimeCon.Vlc.Scraper/Form1.resx
index 1af7de1..4dc8f5c 100644
--- a/AnimeCon.Vlc.Scraper/Form1.resx
+++ b/AnimeCon.Vlc.Scraper/Form1.resx
@@ -117,4 +117,10 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ 17, 17
+
+
+ 105, 17
+
\ No newline at end of file