9 Commits
Author SHA1 Message Date
minster586 b63c8c5926 Tiny little tweak to allow that if there is a live stream it looks at the duration it sees that it is zero and for SMTC it does not show the status that it is paused it merely shows that it is actively playing It also made a tiny change in the GUI for the time it shows the word live which is kind of cool 2026-10-28 19:14:38 -04:00
minster586 30f2c38763 Reworked UI and added SMTC Output (Works with Nutty SMTC bridge) 2026-10-24 21:50:54 -04:00
minster586 3b9437b4cb So there was a small subtle issue with the notifications on Windows toast where the image wouldn't render correctly I changed it to the hero style which shows the album art way better 2026-09-10 17:02:26 -04:00
minster586 e74fa6246a Removed an issue of it flickering that title name and any of the labels also removed scrolling and the marquee function as it wasn't working as originally intended 2026-09-05 20:15:57 -04:00
minster586 0f43ffe5d7 Renamed some of the labels for the input data and fix that also had an issue where sometimes the UI would not show the data but the output was not messed with 2026-09-05 00:48:31 -04:00
minster586 b0c37b815d Fixed issue with About me version not showing correctly for the right version 2026-09-05 00:26:36 -04:00
minster586 f1c4de4523 Moved the UI around in the settings 2026-09-05 00:16:06 -04:00
minster586 94e4c89776 So I also tried to work on the UI again and for some odd reason I can't seem to get it the way that I want where it will show a separating character at the end of the text and only scroll if required it likes to cut it off so my whole thing is oh well but there is that I think everything should be good 2026-09-05 00:15:00 -04:00
minster586 75a378e948 Toas will not show No title or artist flags 2026-09-04 23:44:06 -04:00
7 changed files with 1429 additions and 718 deletions
+91 -84
View File
@@ -43,11 +43,14 @@
this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.groupBox1 = new System.Windows.Forms.GroupBox(); this.groupBox1 = new System.Windows.Forms.GroupBox();
this.time_data_label = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.time_label = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label(); this.album_data = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label(); this.artist_data = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label(); this.title_data = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label();
@@ -58,9 +61,6 @@
this.profile_drop_box = new System.Windows.Forms.ComboBox(); this.profile_drop_box = new System.Windows.Forms.ComboBox();
this.profile_label = new System.Windows.Forms.Label(); this.profile_label = new System.Windows.Forms.Label();
this.load_profile_button = new System.Windows.Forms.Button(); this.load_profile_button = new System.Windows.Forms.Button();
this.time_label = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.time_data_label = new System.Windows.Forms.Label();
this.statusStrip1.SuspendLayout(); this.statusStrip1.SuspendLayout();
this.menuStrip2.SuspendLayout(); this.menuStrip2.SuspendLayout();
this.groupBox1.SuspendLayout(); this.groupBox1.SuspendLayout();
@@ -74,9 +74,9 @@
this.toolStripStatusLabel2, this.toolStripStatusLabel2,
this.toolStripStatusLabel4, this.toolStripStatusLabel4,
this.toolStripStatusLabel3}); this.toolStripStatusLabel3});
this.statusStrip1.Location = new System.Drawing.Point(0, 362); this.statusStrip1.Location = new System.Drawing.Point(0, 309);
this.statusStrip1.Name = "statusStrip1"; this.statusStrip1.Name = "statusStrip1";
this.statusStrip1.Size = new System.Drawing.Size(612, 26); this.statusStrip1.Size = new System.Drawing.Size(780, 26);
this.statusStrip1.TabIndex = 0; this.statusStrip1.TabIndex = 0;
this.statusStrip1.Text = "statusStrip1"; this.statusStrip1.Text = "statusStrip1";
// //
@@ -99,7 +99,7 @@
// //
this.toolStripStatusLabel4.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.toolStripStatusLabel4.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.toolStripStatusLabel4.Name = "toolStripStatusLabel4"; this.toolStripStatusLabel4.Name = "toolStripStatusLabel4";
this.toolStripStatusLabel4.Size = new System.Drawing.Size(260, 21); this.toolStripStatusLabel4.Size = new System.Drawing.Size(344, 21);
this.toolStripStatusLabel4.Spring = true; this.toolStripStatusLabel4.Spring = true;
this.toolStripStatusLabel4.Text = "Profile:"; this.toolStripStatusLabel4.Text = "Profile:";
this.toolStripStatusLabel4.Click += new System.EventHandler(this.toolStripStatusLabel4_Click); this.toolStripStatusLabel4.Click += new System.EventHandler(this.toolStripStatusLabel4_Click);
@@ -107,7 +107,7 @@
// toolStripStatusLabel3 // toolStripStatusLabel3
// //
this.toolStripStatusLabel3.Name = "toolStripStatusLabel3"; this.toolStripStatusLabel3.Name = "toolStripStatusLabel3";
this.toolStripStatusLabel3.Size = new System.Drawing.Size(260, 21); this.toolStripStatusLabel3.Size = new System.Drawing.Size(344, 21);
this.toolStripStatusLabel3.Spring = true; this.toolStripStatusLabel3.Spring = true;
this.toolStripStatusLabel3.Text = "Song Changed Updateing"; this.toolStripStatusLabel3.Text = "Song Changed Updateing";
this.toolStripStatusLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.toolStripStatusLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
@@ -119,7 +119,7 @@
this.aboutToolStripMenuItem}); this.aboutToolStripMenuItem});
this.menuStrip2.Location = new System.Drawing.Point(0, 0); this.menuStrip2.Location = new System.Drawing.Point(0, 0);
this.menuStrip2.Name = "menuStrip2"; this.menuStrip2.Name = "menuStrip2";
this.menuStrip2.Size = new System.Drawing.Size(612, 25); this.menuStrip2.Size = new System.Drawing.Size(780, 25);
this.menuStrip2.TabIndex = 2; this.menuStrip2.TabIndex = 2;
this.menuStrip2.Text = "menuStrip2"; this.menuStrip2.Text = "menuStrip2";
// //
@@ -183,28 +183,59 @@
this.groupBox1.Controls.Add(this.time_label); this.groupBox1.Controls.Add(this.time_label);
this.groupBox1.Controls.Add(this.label8); this.groupBox1.Controls.Add(this.label8);
this.groupBox1.Controls.Add(this.label7); this.groupBox1.Controls.Add(this.label7);
this.groupBox1.Controls.Add(this.label6); this.groupBox1.Controls.Add(this.album_data);
this.groupBox1.Controls.Add(this.label5); this.groupBox1.Controls.Add(this.artist_data);
this.groupBox1.Controls.Add(this.label4); this.groupBox1.Controls.Add(this.title_data);
this.groupBox1.Controls.Add(this.label3); this.groupBox1.Controls.Add(this.label3);
this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.label2);
this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.label1);
this.groupBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.groupBox1.Location = new System.Drawing.Point(199, 37); this.groupBox1.Location = new System.Drawing.Point(199, 37);
this.groupBox1.Name = "groupBox1"; this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(390, 205); this.groupBox1.Size = new System.Drawing.Size(569, 205);
this.groupBox1.TabIndex = 4; this.groupBox1.TabIndex = 4;
this.groupBox1.TabStop = false; this.groupBox1.TabStop = false;
this.groupBox1.Text = "Song Info"; this.groupBox1.Text = "Song Info";
// //
// time_data_label
//
this.time_data_label.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.time_data_label.Location = new System.Drawing.Point(101, 159);
this.time_data_label.Name = "time_data_label";
this.time_data_label.Size = new System.Drawing.Size(437, 21);
this.time_data_label.TabIndex = 10;
this.time_data_label.Text = "No Data";
this.time_data_label.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label9
//
this.label9.AutoSize = true;
this.label9.Location = new System.Drawing.Point(17, 144);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(539, 16);
this.label9.TabIndex = 9;
this.label9.Text = "――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――";
this.label9.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
//
// time_label
//
this.time_label.AutoSize = true;
this.time_label.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.time_label.Location = new System.Drawing.Point(20, 157);
this.time_label.Name = "time_label";
this.time_label.Size = new System.Drawing.Size(63, 24);
this.time_label.TabIndex = 8;
this.time_label.Text = "Time:";
this.time_label.Click += new System.EventHandler(this.label9_Click);
//
// label8 // label8
// //
this.label8.AutoSize = true; this.label8.AutoSize = true;
this.label8.Location = new System.Drawing.Point(20, 103); this.label8.Location = new System.Drawing.Point(20, 103);
this.label8.Name = "label8"; this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(357, 16); this.label8.Size = new System.Drawing.Size(539, 16);
this.label8.TabIndex = 7; this.label8.TabIndex = 7;
this.label8.Text = "――――――――――――――――――――――――――――――――――――――――――――――――――"; this.label8.Text = "――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――";
this.label8.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.label8.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
// //
// label7 // label7
@@ -212,39 +243,46 @@
this.label7.AutoSize = true; this.label7.AutoSize = true;
this.label7.Location = new System.Drawing.Point(19, 61); this.label7.Location = new System.Drawing.Point(19, 61);
this.label7.Name = "label7"; this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(357, 16); this.label7.Size = new System.Drawing.Size(539, 16);
this.label7.TabIndex = 6; this.label7.TabIndex = 6;
this.label7.Text = "――――――――――――――――――――――――――――――――――――――――――――――――――"; this.label7.Text = "――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――";
this.label7.Click += new System.EventHandler(this.label7_Click_1);
// //
// label6 // album_data
// //
this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.album_data.AutoEllipsis = true;
this.label6.Location = new System.Drawing.Point(99, 121); this.album_data.AutoSize = false;
this.label6.Name = "label6"; this.album_data.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label6.Size = new System.Drawing.Size(266, 17); this.album_data.Location = new System.Drawing.Point(100, 119);
this.label6.TabIndex = 5; this.album_data.Name = "album_data";
this.label6.Text = "No album"; this.album_data.Size = new System.Drawing.Size(443, 19);
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.album_data.TabIndex = 5;
this.album_data.Text = "No album";
this.album_data.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
// //
// label5 // artist_data
// //
this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.artist_data.AutoEllipsis = true;
this.label5.Location = new System.Drawing.Point(99, 76); this.artist_data.AutoSize = false;
this.label5.Name = "label5"; this.artist_data.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label5.Size = new System.Drawing.Size(266, 17); this.artist_data.Location = new System.Drawing.Point(99, 76);
this.label5.TabIndex = 4; this.artist_data.Name = "artist_data";
this.label5.Text = "No artist"; this.artist_data.Size = new System.Drawing.Size(433, 23);
this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.artist_data.TabIndex = 4;
this.artist_data.Text = "No artist";
this.artist_data.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
// //
// label4 // title_data
// //
this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.title_data.AutoEllipsis = true;
this.label4.Location = new System.Drawing.Point(99, 33); this.title_data.AutoSize = false;
this.label4.Name = "label4"; this.title_data.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label4.Size = new System.Drawing.Size(266, 16); this.title_data.Location = new System.Drawing.Point(97, 33);
this.label4.TabIndex = 3; this.title_data.Name = "title_data";
this.label4.Text = "No title"; this.title_data.Size = new System.Drawing.Size(443, 20);
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.title_data.TabIndex = 3;
this.title_data.Text = "No title";
this.title_data.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
// //
// label3 // label3
// //
@@ -278,7 +316,7 @@
// //
// button1 // button1
// //
this.button1.Location = new System.Drawing.Point(62, 281); this.button1.Location = new System.Drawing.Point(425, 254);
this.button1.Name = "button1"; this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(99, 42); this.button1.Size = new System.Drawing.Size(99, 42);
this.button1.TabIndex = 5; this.button1.TabIndex = 5;
@@ -288,7 +326,7 @@
// //
// button2 // button2
// //
this.button2.Location = new System.Drawing.Point(180, 281); this.button2.Location = new System.Drawing.Point(577, 253);
this.button2.Name = "button2"; this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(99, 42); this.button2.Size = new System.Drawing.Size(99, 42);
this.button2.TabIndex = 6; this.button2.TabIndex = 6;
@@ -299,7 +337,7 @@
// uicolor // uicolor
// //
this.uicolor.Image = global::RadioDJViewer.Properties.Resources.MdiWeatherNight; this.uicolor.Image = global::RadioDJViewer.Properties.Resources.MdiWeatherNight;
this.uicolor.Location = new System.Drawing.Point(572, 327); this.uicolor.Location = new System.Drawing.Point(740, 262);
this.uicolor.Name = "uicolor"; this.uicolor.Name = "uicolor";
this.uicolor.Size = new System.Drawing.Size(28, 23); this.uicolor.Size = new System.Drawing.Size(28, 23);
this.uicolor.TabIndex = 7; this.uicolor.TabIndex = 7;
@@ -316,7 +354,7 @@
// profile_drop_box // profile_drop_box
// //
this.profile_drop_box.FormattingEnabled = true; this.profile_drop_box.FormattingEnabled = true;
this.profile_drop_box.Location = new System.Drawing.Point(62, 329); this.profile_drop_box.Location = new System.Drawing.Point(62, 268);
this.profile_drop_box.Name = "profile_drop_box"; this.profile_drop_box.Name = "profile_drop_box";
this.profile_drop_box.Size = new System.Drawing.Size(217, 21); this.profile_drop_box.Size = new System.Drawing.Size(217, 21);
this.profile_drop_box.TabIndex = 8; this.profile_drop_box.TabIndex = 8;
@@ -324,7 +362,7 @@
// profile_label // profile_label
// //
this.profile_label.AutoSize = true; this.profile_label.AutoSize = true;
this.profile_label.Location = new System.Drawing.Point(12, 332); this.profile_label.Location = new System.Drawing.Point(12, 272);
this.profile_label.Name = "profile_label"; this.profile_label.Name = "profile_label";
this.profile_label.Size = new System.Drawing.Size(44, 13); this.profile_label.Size = new System.Drawing.Size(44, 13);
this.profile_label.TabIndex = 9; this.profile_label.TabIndex = 9;
@@ -333,49 +371,18 @@
// //
// load_profile_button // load_profile_button
// //
this.load_profile_button.Location = new System.Drawing.Point(285, 327); this.load_profile_button.Location = new System.Drawing.Point(292, 267);
this.load_profile_button.Name = "load_profile_button"; this.load_profile_button.Name = "load_profile_button";
this.load_profile_button.Size = new System.Drawing.Size(75, 23); this.load_profile_button.Size = new System.Drawing.Size(75, 23);
this.load_profile_button.TabIndex = 10; this.load_profile_button.TabIndex = 10;
this.load_profile_button.Text = "Load Profile"; this.load_profile_button.Text = "Load Profile";
this.load_profile_button.UseVisualStyleBackColor = true; this.load_profile_button.UseVisualStyleBackColor = true;
// //
// time_label
//
this.time_label.AutoSize = true;
this.time_label.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.time_label.Location = new System.Drawing.Point(20, 157);
this.time_label.Name = "time_label";
this.time_label.Size = new System.Drawing.Size(63, 24);
this.time_label.TabIndex = 8;
this.time_label.Text = "Time:";
this.time_label.Click += new System.EventHandler(this.label9_Click);
//
// label9
//
this.label9.AutoSize = true;
this.label9.Location = new System.Drawing.Point(17, 144);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(357, 16);
this.label9.TabIndex = 9;
this.label9.Text = "――――――――――――――――――――――――――――――――――――――――――――――――――";
this.label9.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
//
// time_data_label
//
this.time_data_label.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.time_data_label.Location = new System.Drawing.Point(97, 160);
this.time_data_label.Name = "time_data_label";
this.time_data_label.Size = new System.Drawing.Size(266, 17);
this.time_data_label.TabIndex = 10;
this.time_data_label.Text = "No Data";
this.time_data_label.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// Main // Main
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(612, 388); this.ClientSize = new System.Drawing.Size(780, 335);
this.Controls.Add(this.load_profile_button); this.Controls.Add(this.load_profile_button);
this.Controls.Add(this.profile_label); this.Controls.Add(this.profile_label);
this.Controls.Add(this.profile_drop_box); this.Controls.Add(this.profile_drop_box);
@@ -415,9 +422,9 @@
private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem;
private System.Windows.Forms.PictureBox pictureBox1; private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.GroupBox groupBox1; private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.Label label6; private System.Windows.Forms.Label album_data;
private System.Windows.Forms.Label label5; private System.Windows.Forms.Label artist_data;
private System.Windows.Forms.Label label4; private System.Windows.Forms.Label title_data;
private System.Windows.Forms.Label label3; private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2; private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label1; private System.Windows.Forms.Label label1;
+1082 -467
View File
File diff suppressed because it is too large Load Diff
+1
View File
@@ -26,6 +26,7 @@ namespace RadioDJViewer
// Clock visibility setting // Clock visibility setting
public bool ClockVisibilityEnabled { get; set; } public bool ClockVisibilityEnabled { get; set; }
public bool ToastNotificationsEnabled { get; set; } public bool ToastNotificationsEnabled { get; set; }
public bool SmtcEnabled { get; set; }
} }
public static class ProfileStorage public static class ProfileStorage
+2 -2
View File
@@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
// Build Number // Build Number
// Revision // Revision
// //
[assembly: AssemblyVersion("1.14.0")] [assembly: AssemblyVersion("1.15.1")]
[assembly: AssemblyFileVersion("1.14.0")] [assembly: AssemblyFileVersion("1.15.1")]
+225 -146
View File
@@ -54,7 +54,7 @@
this.button6 = new System.Windows.Forms.Button(); this.button6 = new System.Windows.Forms.Button();
this.label6 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label();
this.textBox7 = new System.Windows.Forms.TextBox(); this.polling_rate_textbox = new System.Windows.Forms.TextBox();
this.groupBox2 = new System.Windows.Forms.GroupBox(); this.groupBox2 = new System.Windows.Forms.GroupBox();
this.toast_box_group_box = new System.Windows.Forms.GroupBox(); this.toast_box_group_box = new System.Windows.Forms.GroupBox();
this.toast_check_box_enable = new System.Windows.Forms.CheckBox(); this.toast_check_box_enable = new System.Windows.Forms.CheckBox();
@@ -66,19 +66,30 @@
this.web_server_port_label = new System.Windows.Forms.Label(); this.web_server_port_label = new System.Windows.Forms.Label();
this.web_server_label = new System.Windows.Forms.Label(); this.web_server_label = new System.Windows.Forms.Label();
this.web_server_checkbox = new System.Windows.Forms.CheckBox(); this.web_server_checkbox = new System.Windows.Forms.CheckBox();
this.label13 = new System.Windows.Forms.Label();
this.comboBoxScrollSpeed = new System.Windows.Forms.ComboBox();
this.textBoxPauseTime = new System.Windows.Forms.TextBox();
this.separatingcharacterformatbox = new System.Windows.Forms.TextBox();
this.textBox9 = new System.Windows.Forms.TextBox();
this.label9 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.label12 = new System.Windows.Forms.Label(); this.label12 = new System.Windows.Forms.Label();
this.tab_controls = new System.Windows.Forms.TabControl();
this.settings_tab_page = new System.Windows.Forms.TabPage();
this.output_settings_tab_page = new System.Windows.Forms.TabPage();
this.connection_settings_box = new System.Windows.Forms.GroupBox();
this.notice_one = new System.Windows.Forms.Label();
this.misc_tab_page = new System.Windows.Forms.TabPage();
this.groupBox4 = new System.Windows.Forms.GroupBox();
this.smtc_enable_label = new System.Windows.Forms.Label();
this.smtc_check_box = new System.Windows.Forms.CheckBox();
this.notice_two = new System.Windows.Forms.Label();
this.loaded_profile_label = new System.Windows.Forms.Label();
this.profile_loaded_data = new System.Windows.Forms.Label();
this.groupBox1.SuspendLayout(); this.groupBox1.SuspendLayout();
this.groupBox3.SuspendLayout(); this.groupBox3.SuspendLayout();
this.groupBox2.SuspendLayout(); this.groupBox2.SuspendLayout();
this.toast_box_group_box.SuspendLayout(); this.toast_box_group_box.SuspendLayout();
this.web_server_settings_groupbox.SuspendLayout(); this.web_server_settings_groupbox.SuspendLayout();
this.tab_controls.SuspendLayout();
this.settings_tab_page.SuspendLayout();
this.output_settings_tab_page.SuspendLayout();
this.connection_settings_box.SuspendLayout();
this.misc_tab_page.SuspendLayout();
this.groupBox4.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
// //
// groupBox1 // groupBox1
@@ -110,7 +121,7 @@
// //
// ok_button_master // ok_button_master
// //
this.ok_button_master.Location = new System.Drawing.Point(54, 729); this.ok_button_master.Location = new System.Drawing.Point(54, 684);
this.ok_button_master.Name = "ok_button_master"; this.ok_button_master.Name = "ok_button_master";
this.ok_button_master.Size = new System.Drawing.Size(157, 23); this.ok_button_master.Size = new System.Drawing.Size(157, 23);
this.ok_button_master.TabIndex = 1; this.ok_button_master.TabIndex = 1;
@@ -119,7 +130,7 @@
// //
// button2 // button2
// //
this.button2.Location = new System.Drawing.Point(302, 729); this.button2.Location = new System.Drawing.Point(301, 684);
this.button2.Name = "button2"; this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(157, 23); this.button2.Size = new System.Drawing.Size(157, 23);
this.button2.TabIndex = 2; this.button2.TabIndex = 2;
@@ -146,7 +157,7 @@
// label3 // label3
// //
this.label3.AutoSize = true; this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(20, 100); this.label3.Location = new System.Drawing.Point(20, 27);
this.label3.Name = "label3"; this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(57, 13); this.label3.Size = new System.Drawing.Size(57, 13);
this.label3.TabIndex = 2; this.label3.TabIndex = 2;
@@ -154,46 +165,46 @@
// //
// textBox2 // textBox2
// //
this.textBox2.Location = new System.Drawing.Point(120, 97); this.textBox2.Location = new System.Drawing.Point(103, 24);
this.textBox2.Name = "textBox2"; this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(290, 20); this.textBox2.Size = new System.Drawing.Size(122, 20);
this.textBox2.TabIndex = 3; this.textBox2.TabIndex = 3;
// //
// label4 // label4
// //
this.label4.AutoSize = true; this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(20, 135); this.label4.Location = new System.Drawing.Point(20, 60);
this.label4.Name = "label4"; this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(26, 13); this.label4.Size = new System.Drawing.Size(29, 13);
this.label4.TabIndex = 4; this.label4.TabIndex = 4;
this.label4.Text = "Port"; this.label4.Text = "Port:";
// //
// textBox3 // textBox3
// //
this.textBox3.Location = new System.Drawing.Point(120, 132); this.textBox3.Location = new System.Drawing.Point(103, 54);
this.textBox3.Name = "textBox3"; this.textBox3.Name = "textBox3";
this.textBox3.Size = new System.Drawing.Size(290, 20); this.textBox3.Size = new System.Drawing.Size(122, 20);
this.textBox3.TabIndex = 5; this.textBox3.TabIndex = 5;
// //
// label5 // label5
// //
this.label5.AutoSize = true; this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(20, 170); this.label5.Location = new System.Drawing.Point(20, 88);
this.label5.Name = "label5"; this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(53, 13); this.label5.Size = new System.Drawing.Size(56, 13);
this.label5.TabIndex = 6; this.label5.TabIndex = 6;
this.label5.Text = "Password"; this.label5.Text = "Password:";
// //
// textBox4 // textBox4
// //
this.textBox4.Location = new System.Drawing.Point(120, 167); this.textBox4.Location = new System.Drawing.Point(103, 83);
this.textBox4.Name = "textBox4"; this.textBox4.Name = "textBox4";
this.textBox4.Size = new System.Drawing.Size(290, 20); this.textBox4.Size = new System.Drawing.Size(122, 20);
this.textBox4.TabIndex = 7; this.textBox4.TabIndex = 7;
// //
// button3 // button3
// //
this.button3.Location = new System.Drawing.Point(71, 535); this.button3.Location = new System.Drawing.Point(66, 537);
this.button3.Name = "button3"; this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(120, 30); this.button3.Size = new System.Drawing.Size(120, 30);
this.button3.TabIndex = 8; this.button3.TabIndex = 8;
@@ -202,7 +213,7 @@
// //
// button4 // button4
// //
this.button4.Location = new System.Drawing.Point(316, 535); this.button4.Location = new System.Drawing.Point(279, 537);
this.button4.Name = "button4"; this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(120, 30); this.button4.Size = new System.Drawing.Size(120, 30);
this.button4.TabIndex = 9; this.button4.TabIndex = 9;
@@ -211,20 +222,21 @@
// //
// groupBox3 // groupBox3
// //
this.groupBox3.Controls.Add(this.notice_one);
this.groupBox3.Controls.Add(this.buttonSelectOutputFolder); this.groupBox3.Controls.Add(this.buttonSelectOutputFolder);
this.groupBox3.Controls.Add(this.labelOutputFolderPath); this.groupBox3.Controls.Add(this.labelOutputFolderPath);
this.groupBox3.Controls.Add(this.textBox5); this.groupBox3.Controls.Add(this.textBox5);
this.groupBox3.Controls.Add(this.label10); this.groupBox3.Controls.Add(this.label10);
this.groupBox3.Location = new System.Drawing.Point(22, 413); this.groupBox3.Location = new System.Drawing.Point(74, 127);
this.groupBox3.Name = "groupBox3"; this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(482, 115); this.groupBox3.Size = new System.Drawing.Size(256, 229);
this.groupBox3.TabIndex = 12; this.groupBox3.TabIndex = 12;
this.groupBox3.TabStop = false; this.groupBox3.TabStop = false;
this.groupBox3.Text = "Output Setting"; this.groupBox3.Text = "Output Setting";
// //
// buttonSelectOutputFolder // buttonSelectOutputFolder
// //
this.buttonSelectOutputFolder.Location = new System.Drawing.Point(20, 36); this.buttonSelectOutputFolder.Location = new System.Drawing.Point(63, 58);
this.buttonSelectOutputFolder.Name = "buttonSelectOutputFolder"; this.buttonSelectOutputFolder.Name = "buttonSelectOutputFolder";
this.buttonSelectOutputFolder.Size = new System.Drawing.Size(140, 23); this.buttonSelectOutputFolder.Size = new System.Drawing.Size(140, 23);
this.buttonSelectOutputFolder.TabIndex = 17; this.buttonSelectOutputFolder.TabIndex = 17;
@@ -234,23 +246,24 @@
// labelOutputFolderPath // labelOutputFolderPath
// //
this.labelOutputFolderPath.AutoSize = true; this.labelOutputFolderPath.AutoSize = true;
this.labelOutputFolderPath.Location = new System.Drawing.Point(166, 41); this.labelOutputFolderPath.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelOutputFolderPath.Location = new System.Drawing.Point(78, 89);
this.labelOutputFolderPath.Name = "labelOutputFolderPath"; this.labelOutputFolderPath.Name = "labelOutputFolderPath";
this.labelOutputFolderPath.Size = new System.Drawing.Size(93, 13); this.labelOutputFolderPath.Size = new System.Drawing.Size(111, 13);
this.labelOutputFolderPath.TabIndex = 16; this.labelOutputFolderPath.TabIndex = 16;
this.labelOutputFolderPath.Text = "No folder selected"; this.labelOutputFolderPath.Text = "No folder selected";
// //
// textBox5 // textBox5
// //
this.textBox5.Location = new System.Drawing.Point(149, 80); this.textBox5.Location = new System.Drawing.Point(159, 29);
this.textBox5.Name = "textBox5"; this.textBox5.Name = "textBox5";
this.textBox5.Size = new System.Drawing.Size(247, 20); this.textBox5.Size = new System.Drawing.Size(83, 20);
this.textBox5.TabIndex = 16; this.textBox5.TabIndex = 16;
// //
// label10 // label10
// //
this.label10.AutoSize = true; this.label10.AutoSize = true;
this.label10.Location = new System.Drawing.Point(17, 83); this.label10.Location = new System.Drawing.Point(19, 32);
this.label10.Name = "label10"; this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(126, 13); this.label10.Size = new System.Drawing.Size(126, 13);
this.label10.TabIndex = 15; this.label10.TabIndex = 15;
@@ -274,17 +287,17 @@
// //
// button6 // button6
// //
this.button6.Location = new System.Drawing.Point(23, 269); this.button6.Location = new System.Drawing.Point(53, 149);
this.button6.Name = "button6"; this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(140, 23); this.button6.Size = new System.Drawing.Size(140, 23);
this.button6.TabIndex = 18; this.button6.TabIndex = 18;
this.button6.Text = "Select Main Image Folder"; this.button6.Text = "Main Image Folder";
this.button6.UseVisualStyleBackColor = true; this.button6.UseVisualStyleBackColor = true;
// //
// label6 // label6
// //
this.label6.AutoSize = true; this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(169, 274); this.label6.Location = new System.Drawing.Point(78, 181);
this.label6.Name = "label6"; this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(93, 13); this.label6.Size = new System.Drawing.Size(93, 13);
this.label6.TabIndex = 19; this.label6.TabIndex = 19;
@@ -293,50 +306,33 @@
// label7 // label7
// //
this.label7.AutoSize = true; this.label7.AutoSize = true;
this.label7.Location = new System.Drawing.Point(20, 211); this.label7.Location = new System.Drawing.Point(20, 117);
this.label7.Name = "label7"; this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(124, 13); this.label7.Size = new System.Drawing.Size(127, 13);
this.label7.TabIndex = 20; this.label7.TabIndex = 20;
this.label7.Text = "Polling Rate (in seconds)"; this.label7.Text = "Polling Rate (in seconds):";
// //
// textBox7 // polling_rate_textbox
// //
this.textBox7.Location = new System.Drawing.Point(150, 208); this.polling_rate_textbox.Location = new System.Drawing.Point(176, 114);
this.textBox7.Name = "textBox7"; this.polling_rate_textbox.Name = "polling_rate_textbox";
this.textBox7.Size = new System.Drawing.Size(63, 20); this.polling_rate_textbox.Size = new System.Drawing.Size(49, 20);
this.textBox7.TabIndex = 21; this.polling_rate_textbox.TabIndex = 21;
// //
// groupBox2 // groupBox2
// //
this.groupBox2.Controls.Add(this.toast_box_group_box); this.groupBox2.Controls.Add(this.profile_loaded_data);
this.groupBox2.Controls.Add(this.web_server_settings_groupbox); this.groupBox2.Controls.Add(this.loaded_profile_label);
this.groupBox2.Controls.Add(this.label13); this.groupBox2.Controls.Add(this.tab_controls);
this.groupBox2.Controls.Add(this.comboBoxScrollSpeed);
this.groupBox2.Controls.Add(this.textBoxPauseTime);
this.groupBox2.Controls.Add(this.separatingcharacterformatbox);
this.groupBox2.Controls.Add(this.textBox6); this.groupBox2.Controls.Add(this.textBox6);
this.groupBox2.Controls.Add(this.label11); this.groupBox2.Controls.Add(this.label11);
this.groupBox2.Controls.Add(this.textBox9);
this.groupBox2.Controls.Add(this.label9);
this.groupBox2.Controls.Add(this.label8);
this.groupBox2.Controls.Add(this.textBox7);
this.groupBox2.Controls.Add(this.label7);
this.groupBox2.Controls.Add(this.label6);
this.groupBox2.Controls.Add(this.button6);
this.groupBox2.Controls.Add(this.groupBox3);
this.groupBox2.Controls.Add(this.button4); this.groupBox2.Controls.Add(this.button4);
this.groupBox2.Controls.Add(this.button3); this.groupBox2.Controls.Add(this.button3);
this.groupBox2.Controls.Add(this.textBox4);
this.groupBox2.Controls.Add(this.label5);
this.groupBox2.Controls.Add(this.textBox3);
this.groupBox2.Controls.Add(this.label4);
this.groupBox2.Controls.Add(this.textBox2);
this.groupBox2.Controls.Add(this.label3);
this.groupBox2.Controls.Add(this.label2); this.groupBox2.Controls.Add(this.label2);
this.groupBox2.Controls.Add(this.comboBox1); this.groupBox2.Controls.Add(this.comboBox1);
this.groupBox2.Location = new System.Drawing.Point(12, 100); this.groupBox2.Location = new System.Drawing.Point(12, 100);
this.groupBox2.Name = "groupBox2"; this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(519, 623); this.groupBox2.Size = new System.Drawing.Size(519, 578);
this.groupBox2.TabIndex = 3; this.groupBox2.TabIndex = 3;
this.groupBox2.TabStop = false; this.groupBox2.TabStop = false;
this.groupBox2.Text = "Profiles"; this.groupBox2.Text = "Profiles";
@@ -345,7 +341,7 @@
// //
this.toast_box_group_box.Controls.Add(this.toast_check_box_enable); this.toast_box_group_box.Controls.Add(this.toast_check_box_enable);
this.toast_box_group_box.Controls.Add(this.toast_label); this.toast_box_group_box.Controls.Add(this.toast_label);
this.toast_box_group_box.Location = new System.Drawing.Point(133, 575); this.toast_box_group_box.Location = new System.Drawing.Point(20, 22);
this.toast_box_group_box.Name = "toast_box_group_box"; this.toast_box_group_box.Name = "toast_box_group_box";
this.toast_box_group_box.Size = new System.Drawing.Size(248, 42); this.toast_box_group_box.Size = new System.Drawing.Size(248, 42);
this.toast_box_group_box.TabIndex = 4; this.toast_box_group_box.TabIndex = 4;
@@ -379,9 +375,9 @@
this.web_server_settings_groupbox.Controls.Add(this.web_server_port_label); this.web_server_settings_groupbox.Controls.Add(this.web_server_port_label);
this.web_server_settings_groupbox.Controls.Add(this.web_server_label); this.web_server_settings_groupbox.Controls.Add(this.web_server_label);
this.web_server_settings_groupbox.Controls.Add(this.web_server_checkbox); this.web_server_settings_groupbox.Controls.Add(this.web_server_checkbox);
this.web_server_settings_groupbox.Location = new System.Drawing.Point(31, 308); this.web_server_settings_groupbox.Location = new System.Drawing.Point(80, 26);
this.web_server_settings_groupbox.Name = "web_server_settings_groupbox"; this.web_server_settings_groupbox.Name = "web_server_settings_groupbox";
this.web_server_settings_groupbox.Size = new System.Drawing.Size(471, 99); this.web_server_settings_groupbox.Size = new System.Drawing.Size(236, 95);
this.web_server_settings_groupbox.TabIndex = 35; this.web_server_settings_groupbox.TabIndex = 35;
this.web_server_settings_groupbox.TabStop = false; this.web_server_settings_groupbox.TabStop = false;
this.web_server_settings_groupbox.Text = "Web Server Settings"; this.web_server_settings_groupbox.Text = "Web Server Settings";
@@ -389,7 +385,7 @@
// clock_visibility_checkBox // clock_visibility_checkBox
// //
this.clock_visibility_checkBox.AutoSize = true; this.clock_visibility_checkBox.AutoSize = true;
this.clock_visibility_checkBox.Location = new System.Drawing.Point(119, 55); this.clock_visibility_checkBox.Location = new System.Drawing.Point(156, 67);
this.clock_visibility_checkBox.Name = "clock_visibility_checkBox"; this.clock_visibility_checkBox.Name = "clock_visibility_checkBox";
this.clock_visibility_checkBox.Size = new System.Drawing.Size(65, 17); this.clock_visibility_checkBox.Size = new System.Drawing.Size(65, 17);
this.clock_visibility_checkBox.TabIndex = 38; this.clock_visibility_checkBox.TabIndex = 38;
@@ -399,7 +395,7 @@
// clock_label // clock_label
// //
this.clock_label.AutoSize = true; this.clock_label.AutoSize = true;
this.clock_label.Location = new System.Drawing.Point(44, 56); this.clock_label.Location = new System.Drawing.Point(44, 68);
this.clock_label.Name = "clock_label"; this.clock_label.Name = "clock_label";
this.clock_label.Size = new System.Drawing.Size(76, 13); this.clock_label.Size = new System.Drawing.Size(76, 13);
this.clock_label.TabIndex = 37; this.clock_label.TabIndex = 37;
@@ -407,7 +403,7 @@
// //
// web_server_port_textbox // web_server_port_textbox
// //
this.web_server_port_textbox.Location = new System.Drawing.Point(246, 19); this.web_server_port_textbox.Location = new System.Drawing.Point(139, 42);
this.web_server_port_textbox.Name = "web_server_port_textbox"; this.web_server_port_textbox.Name = "web_server_port_textbox";
this.web_server_port_textbox.Size = new System.Drawing.Size(77, 20); this.web_server_port_textbox.Size = new System.Drawing.Size(77, 20);
this.web_server_port_textbox.TabIndex = 36; this.web_server_port_textbox.TabIndex = 36;
@@ -415,7 +411,7 @@
// web_server_port_label // web_server_port_label
// //
this.web_server_port_label.AutoSize = true; this.web_server_port_label.AutoSize = true;
this.web_server_port_label.Location = new System.Drawing.Point(211, 23); this.web_server_port_label.Location = new System.Drawing.Point(45, 46);
this.web_server_port_label.Name = "web_server_port_label"; this.web_server_port_label.Name = "web_server_port_label";
this.web_server_port_label.Size = new System.Drawing.Size(29, 13); this.web_server_port_label.Size = new System.Drawing.Size(29, 13);
this.web_server_port_label.TabIndex = 35; this.web_server_port_label.TabIndex = 35;
@@ -433,77 +429,13 @@
// web_server_checkbox // web_server_checkbox
// //
this.web_server_checkbox.AutoSize = true; this.web_server_checkbox.AutoSize = true;
this.web_server_checkbox.Location = new System.Drawing.Point(111, 23); this.web_server_checkbox.Location = new System.Drawing.Point(154, 23);
this.web_server_checkbox.Name = "web_server_checkbox"; this.web_server_checkbox.Name = "web_server_checkbox";
this.web_server_checkbox.Size = new System.Drawing.Size(65, 17); this.web_server_checkbox.Size = new System.Drawing.Size(65, 17);
this.web_server_checkbox.TabIndex = 34; this.web_server_checkbox.TabIndex = 34;
this.web_server_checkbox.Text = "Enabled"; this.web_server_checkbox.Text = "Enabled";
this.web_server_checkbox.UseVisualStyleBackColor = true; this.web_server_checkbox.UseVisualStyleBackColor = true;
// //
// label13
//
this.label13.AutoSize = true;
this.label13.Location = new System.Drawing.Point(20, 240);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(142, 13);
this.label13.TabIndex = 32;
this.label13.Text = "Separating Character Format";
//
// comboBoxScrollSpeed
//
this.comboBoxScrollSpeed.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBoxScrollSpeed.FormattingEnabled = true;
this.comboBoxScrollSpeed.Items.AddRange(new object[] {
"Very Slow",
"Slow",
"Medium",
"Fast",
"Very Fast"});
this.comboBoxScrollSpeed.Location = new System.Drawing.Point(382, 207);
this.comboBoxScrollSpeed.Name = "comboBoxScrollSpeed";
this.comboBoxScrollSpeed.Size = new System.Drawing.Size(97, 21);
this.comboBoxScrollSpeed.TabIndex = 29;
//
// textBoxPauseTime
//
this.textBoxPauseTime.Location = new System.Drawing.Point(382, 237);
this.textBoxPauseTime.Name = "textBoxPauseTime";
this.textBoxPauseTime.Size = new System.Drawing.Size(97, 20);
this.textBoxPauseTime.TabIndex = 30;
//
// separatingcharacterformatbox
//
this.separatingcharacterformatbox.Location = new System.Drawing.Point(164, 237);
this.separatingcharacterformatbox.Name = "separatingcharacterformatbox";
this.separatingcharacterformatbox.Size = new System.Drawing.Size(49, 20);
this.separatingcharacterformatbox.TabIndex = 31;
//
// textBox9
//
this.textBox9.Location = new System.Drawing.Point(382, 237);
this.textBox9.Name = "textBox9";
this.textBox9.Size = new System.Drawing.Size(97, 20);
this.textBox9.TabIndex = 25;
//
// label9
//
this.label9.AutoSize = true;
this.label9.Location = new System.Drawing.Point(239, 240);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(119, 13);
this.label9.TabIndex = 24;
this.label9.Text = "Pause time (in seconds)";
//
// label8
//
this.label8.AutoSize = true;
this.label8.Location = new System.Drawing.Point(239, 211);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(127, 13);
this.label8.TabIndex = 22;
this.label8.Text = "Scroll Speed (in Main UI)";
this.label8.Click += new System.EventHandler(this.label8_Click);
//
// label12 // label12
// //
this.label12.AutoSize = true; this.label12.AutoSize = true;
@@ -513,11 +445,145 @@
this.label12.TabIndex = 27; this.label12.TabIndex = 27;
this.label12.Text = "Separating character format"; this.label12.Text = "Separating character format";
// //
// tab_controls
//
this.tab_controls.Controls.Add(this.settings_tab_page);
this.tab_controls.Controls.Add(this.output_settings_tab_page);
this.tab_controls.Controls.Add(this.misc_tab_page);
this.tab_controls.Location = new System.Drawing.Point(42, 133);
this.tab_controls.Name = "tab_controls";
this.tab_controls.SelectedIndex = 0;
this.tab_controls.Size = new System.Drawing.Size(423, 398);
this.tab_controls.TabIndex = 22;
//
// settings_tab_page
//
this.settings_tab_page.Controls.Add(this.connection_settings_box);
this.settings_tab_page.Location = new System.Drawing.Point(4, 22);
this.settings_tab_page.Name = "settings_tab_page";
this.settings_tab_page.Padding = new System.Windows.Forms.Padding(3);
this.settings_tab_page.Size = new System.Drawing.Size(415, 372);
this.settings_tab_page.TabIndex = 0;
this.settings_tab_page.Text = "Profile Settings";
this.settings_tab_page.UseVisualStyleBackColor = true;
//
// output_settings_tab_page
//
this.output_settings_tab_page.Controls.Add(this.web_server_settings_groupbox);
this.output_settings_tab_page.Controls.Add(this.groupBox3);
this.output_settings_tab_page.Location = new System.Drawing.Point(4, 22);
this.output_settings_tab_page.Name = "output_settings_tab_page";
this.output_settings_tab_page.Padding = new System.Windows.Forms.Padding(3);
this.output_settings_tab_page.Size = new System.Drawing.Size(415, 372);
this.output_settings_tab_page.TabIndex = 1;
this.output_settings_tab_page.Text = "Output Settings";
this.output_settings_tab_page.UseVisualStyleBackColor = true;
//
// connection_settings_box
//
this.connection_settings_box.Controls.Add(this.textBox2);
this.connection_settings_box.Controls.Add(this.label3);
this.connection_settings_box.Controls.Add(this.label4);
this.connection_settings_box.Controls.Add(this.label6);
this.connection_settings_box.Controls.Add(this.polling_rate_textbox);
this.connection_settings_box.Controls.Add(this.button6);
this.connection_settings_box.Controls.Add(this.textBox3);
this.connection_settings_box.Controls.Add(this.label7);
this.connection_settings_box.Controls.Add(this.label5);
this.connection_settings_box.Controls.Add(this.textBox4);
this.connection_settings_box.Location = new System.Drawing.Point(74, 82);
this.connection_settings_box.Name = "connection_settings_box";
this.connection_settings_box.Size = new System.Drawing.Size(248, 215);
this.connection_settings_box.TabIndex = 13;
this.connection_settings_box.TabStop = false;
this.connection_settings_box.Text = "Connection Settings";
//
// notice_one
//
this.notice_one.AutoSize = true;
this.notice_one.Location = new System.Drawing.Point(53, 117);
this.notice_one.Name = "notice_one";
this.notice_one.Size = new System.Drawing.Size(182, 65);
this.notice_one.TabIndex = 18;
this.notice_one.Text = "It is asking for an image file name.\r\nThis is what you would use\r\nto put a name o" +
"f what\r\nthe saved image will be outputted as.\r\nFor example, it might be img.png";
//
// misc_tab_page
//
this.misc_tab_page.Controls.Add(this.groupBox4);
this.misc_tab_page.Controls.Add(this.toast_box_group_box);
this.misc_tab_page.Location = new System.Drawing.Point(4, 22);
this.misc_tab_page.Name = "misc_tab_page";
this.misc_tab_page.Padding = new System.Windows.Forms.Padding(3);
this.misc_tab_page.Size = new System.Drawing.Size(415, 372);
this.misc_tab_page.TabIndex = 2;
this.misc_tab_page.Text = "Misc Settings";
this.misc_tab_page.UseVisualStyleBackColor = true;
//
// groupBox4
//
this.groupBox4.Controls.Add(this.notice_two);
this.groupBox4.Controls.Add(this.smtc_check_box);
this.groupBox4.Controls.Add(this.smtc_enable_label);
this.groupBox4.Location = new System.Drawing.Point(20, 92);
this.groupBox4.Name = "groupBox4";
this.groupBox4.Size = new System.Drawing.Size(370, 155);
this.groupBox4.TabIndex = 4;
this.groupBox4.TabStop = false;
this.groupBox4.Text = "SMTC Control";
//
// smtc_enable_label
//
this.smtc_enable_label.AutoSize = true;
this.smtc_enable_label.Location = new System.Drawing.Point(115, 27);
this.smtc_enable_label.Name = "smtc_enable_label";
this.smtc_enable_label.Size = new System.Drawing.Size(73, 13);
this.smtc_enable_label.TabIndex = 0;
this.smtc_enable_label.Text = "SMTC Enable";
//
// smtc_check_box
//
this.smtc_check_box.AutoSize = true;
this.smtc_check_box.Location = new System.Drawing.Point(194, 27);
this.smtc_check_box.Name = "smtc_check_box";
this.smtc_check_box.Size = new System.Drawing.Size(59, 17);
this.smtc_check_box.TabIndex = 2;
this.smtc_check_box.Text = "Enable";
this.smtc_check_box.UseVisualStyleBackColor = true;
//
// notice_two
//
this.notice_two.AutoSize = true;
this.notice_two.Location = new System.Drawing.Point(52, 62);
this.notice_two.Name = "notice_two";
this.notice_two.Size = new System.Drawing.Size(274, 78);
this.notice_two.TabIndex = 3;
this.notice_two.Text = resources.GetString("notice_two.Text");
//
// loaded_profile_label
//
this.loaded_profile_label.AutoSize = true;
this.loaded_profile_label.Location = new System.Drawing.Point(134, 103);
this.loaded_profile_label.Name = "loaded_profile_label";
this.loaded_profile_label.Size = new System.Drawing.Size(77, 13);
this.loaded_profile_label.TabIndex = 23;
this.loaded_profile_label.Text = "Loaded profile:";
//
// profile_loaded_data
//
this.profile_loaded_data.AutoSize = true;
this.profile_loaded_data.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.profile_loaded_data.Location = new System.Drawing.Point(218, 102);
this.profile_loaded_data.Name = "profile_loaded_data";
this.profile_loaded_data.Size = new System.Drawing.Size(104, 13);
this.profile_loaded_data.TabIndex = 24;
this.profile_loaded_data.Text = "No profile loaded";
//
// Form1 // Form1
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(553, 764); this.ClientSize = new System.Drawing.Size(542, 716);
this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox2);
this.Controls.Add(this.button2); this.Controls.Add(this.button2);
this.Controls.Add(this.ok_button_master); this.Controls.Add(this.ok_button_master);
@@ -535,6 +601,14 @@
this.toast_box_group_box.PerformLayout(); this.toast_box_group_box.PerformLayout();
this.web_server_settings_groupbox.ResumeLayout(false); this.web_server_settings_groupbox.ResumeLayout(false);
this.web_server_settings_groupbox.PerformLayout(); this.web_server_settings_groupbox.PerformLayout();
this.tab_controls.ResumeLayout(false);
this.settings_tab_page.ResumeLayout(false);
this.output_settings_tab_page.ResumeLayout(false);
this.connection_settings_box.ResumeLayout(false);
this.connection_settings_box.PerformLayout();
this.misc_tab_page.ResumeLayout(false);
this.groupBox4.ResumeLayout(false);
this.groupBox4.PerformLayout();
this.ResumeLayout(false); this.ResumeLayout(false);
} }
@@ -566,18 +640,11 @@
private System.Windows.Forms.Button button6; private System.Windows.Forms.Button button6;
private System.Windows.Forms.Label label6; private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label label7; private System.Windows.Forms.Label label7;
private System.Windows.Forms.TextBox textBox7; private System.Windows.Forms.TextBox polling_rate_textbox;
private System.Windows.Forms.GroupBox groupBox2; private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.TextBox textBox9;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.ComboBox comboBox2; private System.Windows.Forms.ComboBox comboBox2;
private System.Windows.Forms.TextBox textBox8; private System.Windows.Forms.TextBox textBox8;
private System.Windows.Forms.Label label12; private System.Windows.Forms.Label label12;
private System.Windows.Forms.ComboBox comboBoxScrollSpeed;
private System.Windows.Forms.TextBox textBoxPauseTime;
private System.Windows.Forms.TextBox separatingcharacterformatbox;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.GroupBox web_server_settings_groupbox; private System.Windows.Forms.GroupBox web_server_settings_groupbox;
private System.Windows.Forms.Label web_server_label; private System.Windows.Forms.Label web_server_label;
private System.Windows.Forms.CheckBox web_server_checkbox; private System.Windows.Forms.CheckBox web_server_checkbox;
@@ -588,5 +655,17 @@
private System.Windows.Forms.GroupBox toast_box_group_box; private System.Windows.Forms.GroupBox toast_box_group_box;
private System.Windows.Forms.CheckBox toast_check_box_enable; private System.Windows.Forms.CheckBox toast_check_box_enable;
private System.Windows.Forms.Label toast_label; private System.Windows.Forms.Label toast_label;
private System.Windows.Forms.TabControl tab_controls;
private System.Windows.Forms.TabPage settings_tab_page;
private System.Windows.Forms.TabPage output_settings_tab_page;
private System.Windows.Forms.GroupBox connection_settings_box;
private System.Windows.Forms.Label notice_one;
private System.Windows.Forms.TabPage misc_tab_page;
private System.Windows.Forms.GroupBox groupBox4;
private System.Windows.Forms.Label notice_two;
private System.Windows.Forms.CheckBox smtc_check_box;
private System.Windows.Forms.Label smtc_enable_label;
private System.Windows.Forms.Label profile_loaded_data;
private System.Windows.Forms.Label loaded_profile_label;
} }
} }
+20 -19
View File
@@ -20,15 +20,6 @@ namespace RadioDJViewer
{ {
InitializeComponent(); InitializeComponent();
textBox4.UseSystemPasswordChar = true; // Obscure password field textBox4.UseSystemPasswordChar = true; // Obscure password field
comboBoxScrollSpeed.Items.Clear();
comboBoxScrollSpeed.Items.AddRange(new object[] {
"Very Slow",
"Slow",
"Medium",
"Fast",
"Very Fast"
});
comboBoxScrollSpeed.SelectedItem = "Medium";
this.buttonSelectOutputFolder.Click += ButtonSelectOutputFolder_Click; this.buttonSelectOutputFolder.Click += ButtonSelectOutputFolder_Click;
this.button6.Click += ButtonSelectMainImagesFolder_Click; this.button6.Click += ButtonSelectMainImagesFolder_Click;
this.button3.Click += button3_Click; this.button3.Click += button3_Click;
@@ -73,11 +64,9 @@ namespace RadioDJViewer
label6.Text = mainImagesFolderPath; label6.Text = mainImagesFolderPath;
textBox5.Text = profile.OutputImageName; textBox5.Text = profile.OutputImageName;
textBox1.Text = profile.UrlFormat; textBox1.Text = profile.UrlFormat;
profile_loaded_data.Text = profile.Name;
// Default polling rate to 3 if missing or zero // Default polling rate to 3 if missing or zero
textBox7.Text = (profile.PollingRateSeconds > 0 ? profile.PollingRateSeconds : 3).ToString(); polling_rate_textbox.Text = (profile.PollingRateSeconds > 0 ? profile.PollingRateSeconds : 3).ToString();
comboBoxScrollSpeed.SelectedItem = profile.MarqueeScrollSpeed ?? "Medium";
textBoxPauseTime.Text = profile.MarqueePauseTime > 0 ? profile.MarqueePauseTime.ToString() : "6";
separatingcharacterformatbox.Text = profile.MarqueeSeparator ?? " | ";
// Web server settings // Web server settings
try try
{ {
@@ -86,10 +75,14 @@ namespace RadioDJViewer
// Clock visibility setting // Clock visibility setting
clock_visibility_checkBox.Checked = profile.ClockVisibilityEnabled; clock_visibility_checkBox.Checked = profile.ClockVisibilityEnabled;
toast_check_box_enable.Checked = profile.ToastNotificationsEnabled; toast_check_box_enable.Checked = profile.ToastNotificationsEnabled;
smtc_check_box.Checked = profile.SmtcEnabled;
} }
catch { } catch { }
return;
} }
} }
profile_loaded_data.Text = "No profile loaded";
} }
private void ButtonSelectOutputFolder_Click(object sender, EventArgs e) private void ButtonSelectOutputFolder_Click(object sender, EventArgs e)
@@ -125,7 +118,7 @@ namespace RadioDJViewer
return; return;
} }
int pollingRate = 3; int pollingRate = 3;
int.TryParse(textBox7.Text, out pollingRate); int.TryParse(polling_rate_textbox.Text, out pollingRate);
var profile = new Profile var profile = new Profile
{ {
Name = textBox6.Text, Name = textBox6.Text,
@@ -137,21 +130,24 @@ namespace RadioDJViewer
OutputImageName = textBox5.Text, OutputImageName = textBox5.Text,
UrlFormat = textBox1.Text, UrlFormat = textBox1.Text,
PollingRateSeconds = pollingRate, PollingRateSeconds = pollingRate,
MarqueeScrollSpeed = comboBoxScrollSpeed.SelectedItem?.ToString() ?? "Medium", MarqueeScrollSpeed = "Medium",
MarqueePauseTime = int.TryParse(textBoxPauseTime.Text, out int pt) ? pt : 6, MarqueePauseTime = 6,
MarqueeSeparator = separatingcharacterformatbox.Text, MarqueeSeparator = " | ",
// Web server settings // Web server settings
WebServerEnabled = web_server_checkbox.Checked, WebServerEnabled = web_server_checkbox.Checked,
WebServerPort = int.TryParse(web_server_port_textbox.Text, out int wp) ? wp : 8080, WebServerPort = int.TryParse(web_server_port_textbox.Text, out int wp) ? wp : 8080,
// Clock visibility setting // Clock visibility setting
ClockVisibilityEnabled = clock_visibility_checkBox.Checked, ClockVisibilityEnabled = clock_visibility_checkBox.Checked,
ToastNotificationsEnabled = toast_check_box_enable.Checked ToastNotificationsEnabled = toast_check_box_enable.Checked,
SmtcEnabled = smtc_check_box.Checked
}; };
ProfileStorage.SaveProfile(profile); ProfileStorage.SaveProfile(profile);
// Refresh profile list // Refresh profile list
comboBox1.Items.Clear(); comboBox1.Items.Clear();
var names = ProfileStorage.GetProfileNames(); var names = ProfileStorage.GetProfileNames();
comboBox1.Items.AddRange(names.ToArray()); comboBox1.Items.AddRange(names.ToArray());
comboBox1.SelectedItem = profile.Name;
profile_loaded_data.Text = profile.Name;
MessageBox.Show("Profile saved successfully.", "Success", MessageBoxButtons.OK, MessageBoxIcon.Information); MessageBox.Show("Profile saved successfully.", "Success", MessageBoxButtons.OK, MessageBoxIcon.Information);
} }
@@ -160,10 +156,15 @@ namespace RadioDJViewer
// Remove Profile (Remove Profile button) // Remove Profile (Remove Profile button)
if (comboBox1.SelectedItem != null) if (comboBox1.SelectedItem != null)
{ {
ProfileStorage.DeleteProfile(comboBox1.SelectedItem.ToString()); string removed = comboBox1.SelectedItem.ToString();
ProfileStorage.DeleteProfile(removed);
comboBox1.Items.Clear(); comboBox1.Items.Clear();
var names = ProfileStorage.GetProfileNames(); var names = ProfileStorage.GetProfileNames();
comboBox1.Items.AddRange(names.ToArray()); comboBox1.Items.AddRange(names.ToArray());
if (comboBox1.Items.Count > 0)
comboBox1.SelectedIndex = 0;
else
profile_loaded_data.Text = "No profile loaded";
} }
} }
@@ -117,6 +117,14 @@
<resheader name="writer"> <resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<data name="notice_two.Text" xml:space="preserve">
<value>With this option, it will enable the output
to Simple Media Transport Control Protocol (AKA SMTC).
You will not be able to control Radio DJ,
but you will get push notifications
or it will be pushed out to the SMTC protocol
with the ability to use it with other applications.</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>