430 lines
20 KiB
C#
430 lines
20 KiB
C#
namespace PainoBar_Helper
|
|
{
|
|
partial class SettingsForm
|
|
{
|
|
/// <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()
|
|
{
|
|
profiles_group_box = new GroupBox();
|
|
selected_profile_label = new Label();
|
|
profiles_combo_box_selector = new ComboBox();
|
|
new_profile_button = new Button();
|
|
delete_profile_button = new Button();
|
|
profile_name_label = new Label();
|
|
profile_name_text_box = new TextBox();
|
|
profile_configuration_group_box = new GroupBox();
|
|
pianobar_path_label = new Label();
|
|
pianobar_path_text_box = new TextBox();
|
|
browse_button = new Button();
|
|
profile_config_tab_control = new TabControl();
|
|
outputs_tab_page = new TabPage();
|
|
pianobar_override_tab_page = new TabPage();
|
|
obs_text_output_check_box = new CheckBox();
|
|
output_label = new Label();
|
|
output_folder_text_box = new TextBox();
|
|
output_folder_browse_button = new Button();
|
|
local_web_server_check_box = new CheckBox();
|
|
port_label = new Label();
|
|
textBox1 = new TextBox();
|
|
chk_toast_notifications = new CheckBox();
|
|
chkSMTC = new CheckBox();
|
|
chkOverrideCredentials = new CheckBox();
|
|
txtConfigFilePathLabel = new Label();
|
|
txtConfigFilePath = new TextBox();
|
|
btnBrowseConfigFile = new Button();
|
|
UsernameLabel = new Label();
|
|
txtPianobarUser = new TextBox();
|
|
PasswordLabel = new Label();
|
|
txtPianobarPass = new TextBox();
|
|
profiles_group_box.SuspendLayout();
|
|
profile_configuration_group_box.SuspendLayout();
|
|
profile_config_tab_control.SuspendLayout();
|
|
outputs_tab_page.SuspendLayout();
|
|
pianobar_override_tab_page.SuspendLayout();
|
|
SuspendLayout();
|
|
//
|
|
// profiles_group_box
|
|
//
|
|
profiles_group_box.Controls.Add(delete_profile_button);
|
|
profiles_group_box.Controls.Add(new_profile_button);
|
|
profiles_group_box.Controls.Add(profiles_combo_box_selector);
|
|
profiles_group_box.Controls.Add(selected_profile_label);
|
|
profiles_group_box.Location = new Point(12, 22);
|
|
profiles_group_box.Name = "profiles_group_box";
|
|
profiles_group_box.Size = new Size(422, 83);
|
|
profiles_group_box.TabIndex = 0;
|
|
profiles_group_box.TabStop = false;
|
|
profiles_group_box.Text = "Profile Management";
|
|
//
|
|
// selected_profile_label
|
|
//
|
|
selected_profile_label.AutoSize = true;
|
|
selected_profile_label.Location = new Point(16, 36);
|
|
selected_profile_label.Name = "selected_profile_label";
|
|
selected_profile_label.Size = new Size(102, 17);
|
|
selected_profile_label.TabIndex = 0;
|
|
selected_profile_label.Text = "Selected profile:";
|
|
//
|
|
// profiles_combo_box_selector
|
|
//
|
|
profiles_combo_box_selector.FormattingEnabled = true;
|
|
profiles_combo_box_selector.Location = new Point(124, 32);
|
|
profiles_combo_box_selector.Name = "profiles_combo_box_selector";
|
|
profiles_combo_box_selector.Size = new Size(199, 25);
|
|
profiles_combo_box_selector.TabIndex = 1;
|
|
profiles_combo_box_selector.SelectedIndexChanged += profiles_combo_box_selector_SelectedIndexChanged;
|
|
//
|
|
// new_profile_button
|
|
//
|
|
new_profile_button.Location = new Point(330, 20);
|
|
new_profile_button.Name = "new_profile_button";
|
|
new_profile_button.Size = new Size(75, 23);
|
|
new_profile_button.TabIndex = 2;
|
|
new_profile_button.Text = "+ New";
|
|
new_profile_button.UseVisualStyleBackColor = true;
|
|
new_profile_button.Click += new_profile_button_Click;
|
|
//
|
|
// delete_profile_button
|
|
//
|
|
delete_profile_button.Location = new Point(329, 49);
|
|
delete_profile_button.Name = "delete_profile_button";
|
|
delete_profile_button.Size = new Size(75, 23);
|
|
delete_profile_button.TabIndex = 3;
|
|
delete_profile_button.Text = "Delete";
|
|
delete_profile_button.UseVisualStyleBackColor = true;
|
|
delete_profile_button.Click += delete_profile_button_Click;
|
|
//
|
|
// profile_name_label
|
|
//
|
|
profile_name_label.AutoSize = true;
|
|
profile_name_label.Location = new Point(12, 26);
|
|
profile_name_label.Name = "profile_name_label";
|
|
profile_name_label.Size = new Size(84, 17);
|
|
profile_name_label.TabIndex = 0;
|
|
profile_name_label.Text = "Profile Name:";
|
|
//
|
|
// profile_name_text_box
|
|
//
|
|
profile_name_text_box.Location = new Point(104, 23);
|
|
profile_name_text_box.Name = "profile_name_text_box";
|
|
profile_name_text_box.Size = new Size(224, 24);
|
|
profile_name_text_box.TabIndex = 1;
|
|
//
|
|
// profile_configuration_group_box
|
|
//
|
|
profile_configuration_group_box.Controls.Add(profile_config_tab_control);
|
|
profile_configuration_group_box.Controls.Add(browse_button);
|
|
profile_configuration_group_box.Controls.Add(pianobar_path_text_box);
|
|
profile_configuration_group_box.Controls.Add(pianobar_path_label);
|
|
profile_configuration_group_box.Controls.Add(profile_name_text_box);
|
|
profile_configuration_group_box.Controls.Add(profile_name_label);
|
|
profile_configuration_group_box.Location = new Point(12, 143);
|
|
profile_configuration_group_box.Name = "profile_configuration_group_box";
|
|
profile_configuration_group_box.Size = new Size(422, 401);
|
|
profile_configuration_group_box.TabIndex = 1;
|
|
profile_configuration_group_box.TabStop = false;
|
|
profile_configuration_group_box.Text = "Profile Configuration";
|
|
//
|
|
// pianobar_path_label
|
|
//
|
|
pianobar_path_label.AutoSize = true;
|
|
pianobar_path_label.Location = new Point(12, 55);
|
|
pianobar_path_label.Name = "pianobar_path_label";
|
|
pianobar_path_label.Size = new Size(86, 17);
|
|
pianobar_path_label.TabIndex = 2;
|
|
pianobar_path_label.Text = "Pianobar Path:";
|
|
//
|
|
// pianobar_path_text_box
|
|
//
|
|
pianobar_path_text_box.Location = new Point(104, 53);
|
|
pianobar_path_text_box.Name = "pianobar_path_text_box";
|
|
pianobar_path_text_box.Size = new Size(224, 24);
|
|
pianobar_path_text_box.TabIndex = 3;
|
|
//
|
|
// browse_button
|
|
//
|
|
browse_button.Location = new Point(334, 53);
|
|
browse_button.Name = "browse_button";
|
|
browse_button.Size = new Size(75, 23);
|
|
browse_button.TabIndex = 4;
|
|
browse_button.Text = "Browse";
|
|
browse_button.UseVisualStyleBackColor = true;
|
|
//
|
|
// profile_config_tab_control
|
|
//
|
|
profile_config_tab_control.Controls.Add(outputs_tab_page);
|
|
profile_config_tab_control.Controls.Add(pianobar_override_tab_page);
|
|
profile_config_tab_control.Location = new Point(16, 95);
|
|
profile_config_tab_control.Name = "profile_config_tab_control";
|
|
profile_config_tab_control.SelectedIndex = 0;
|
|
profile_config_tab_control.Size = new Size(389, 289);
|
|
profile_config_tab_control.TabIndex = 5;
|
|
//
|
|
// outputs_tab_page
|
|
//
|
|
outputs_tab_page.Controls.Add(chkSMTC);
|
|
outputs_tab_page.Controls.Add(chk_toast_notifications);
|
|
outputs_tab_page.Controls.Add(textBox1);
|
|
outputs_tab_page.Controls.Add(port_label);
|
|
outputs_tab_page.Controls.Add(local_web_server_check_box);
|
|
outputs_tab_page.Controls.Add(output_folder_browse_button);
|
|
outputs_tab_page.Controls.Add(output_folder_text_box);
|
|
outputs_tab_page.Controls.Add(output_label);
|
|
outputs_tab_page.Controls.Add(obs_text_output_check_box);
|
|
outputs_tab_page.Location = new Point(4, 26);
|
|
outputs_tab_page.Name = "outputs_tab_page";
|
|
outputs_tab_page.Padding = new Padding(3);
|
|
outputs_tab_page.Size = new Size(381, 259);
|
|
outputs_tab_page.TabIndex = 0;
|
|
outputs_tab_page.Text = "Outputs";
|
|
outputs_tab_page.UseVisualStyleBackColor = true;
|
|
//
|
|
// pianobar_override_tab_page
|
|
//
|
|
pianobar_override_tab_page.Controls.Add(txtPianobarPass);
|
|
pianobar_override_tab_page.Controls.Add(PasswordLabel);
|
|
pianobar_override_tab_page.Controls.Add(txtPianobarUser);
|
|
pianobar_override_tab_page.Controls.Add(UsernameLabel);
|
|
pianobar_override_tab_page.Controls.Add(btnBrowseConfigFile);
|
|
pianobar_override_tab_page.Controls.Add(txtConfigFilePath);
|
|
pianobar_override_tab_page.Controls.Add(txtConfigFilePathLabel);
|
|
pianobar_override_tab_page.Controls.Add(chkOverrideCredentials);
|
|
pianobar_override_tab_page.Location = new Point(4, 26);
|
|
pianobar_override_tab_page.Name = "pianobar_override_tab_page";
|
|
pianobar_override_tab_page.Padding = new Padding(3);
|
|
pianobar_override_tab_page.Size = new Size(381, 259);
|
|
pianobar_override_tab_page.TabIndex = 1;
|
|
pianobar_override_tab_page.Text = "Pianobar Config & Auth";
|
|
pianobar_override_tab_page.UseVisualStyleBackColor = true;
|
|
//
|
|
// obs_text_output_check_box
|
|
//
|
|
obs_text_output_check_box.AutoSize = true;
|
|
obs_text_output_check_box.Location = new Point(18, 18);
|
|
obs_text_output_check_box.Name = "obs_text_output_check_box";
|
|
obs_text_output_check_box.Size = new Size(219, 21);
|
|
obs_text_output_check_box.TabIndex = 0;
|
|
obs_text_output_check_box.Text = "File output (For OBS / Streaming)";
|
|
obs_text_output_check_box.UseVisualStyleBackColor = true;
|
|
//
|
|
// output_label
|
|
//
|
|
output_label.AutoSize = true;
|
|
output_label.Location = new Point(18, 47);
|
|
output_label.Name = "output_label";
|
|
output_label.Size = new Size(91, 17);
|
|
output_label.TabIndex = 1;
|
|
output_label.Text = "Output Folder:";
|
|
//
|
|
// output_folder_text_box
|
|
//
|
|
output_folder_text_box.Location = new Point(111, 43);
|
|
output_folder_text_box.Name = "output_folder_text_box";
|
|
output_folder_text_box.Size = new Size(169, 24);
|
|
output_folder_text_box.TabIndex = 2;
|
|
//
|
|
// output_folder_browse_button
|
|
//
|
|
output_folder_browse_button.Location = new Point(288, 45);
|
|
output_folder_browse_button.Name = "output_folder_browse_button";
|
|
output_folder_browse_button.Size = new Size(75, 23);
|
|
output_folder_browse_button.TabIndex = 3;
|
|
output_folder_browse_button.Text = "Browse";
|
|
output_folder_browse_button.UseVisualStyleBackColor = true;
|
|
output_folder_browse_button.Click += output_folder_browse_button_Click;
|
|
//
|
|
// local_web_server_check_box
|
|
//
|
|
local_web_server_check_box.AutoSize = true;
|
|
local_web_server_check_box.Location = new Point(18, 77);
|
|
local_web_server_check_box.Name = "local_web_server_check_box";
|
|
local_web_server_check_box.Size = new Size(166, 21);
|
|
local_web_server_check_box.TabIndex = 4;
|
|
local_web_server_check_box.Text = "Enable Local Web Server";
|
|
local_web_server_check_box.UseVisualStyleBackColor = true;
|
|
//
|
|
// port_label
|
|
//
|
|
port_label.AutoSize = true;
|
|
port_label.Location = new Point(18, 110);
|
|
port_label.Name = "port_label";
|
|
port_label.Size = new Size(36, 17);
|
|
port_label.TabIndex = 5;
|
|
port_label.Text = "Port:";
|
|
//
|
|
// textBox1
|
|
//
|
|
textBox1.Location = new Point(111, 105);
|
|
textBox1.Name = "textBox1";
|
|
textBox1.Size = new Size(169, 24);
|
|
textBox1.TabIndex = 6;
|
|
//
|
|
// chk_toast_notifications
|
|
//
|
|
chk_toast_notifications.AutoSize = true;
|
|
chk_toast_notifications.Location = new Point(18, 149);
|
|
chk_toast_notifications.Name = "chk_toast_notifications";
|
|
chk_toast_notifications.Size = new Size(223, 21);
|
|
chk_toast_notifications.TabIndex = 7;
|
|
chk_toast_notifications.Text = "Show Windows Toast Notifications";
|
|
chk_toast_notifications.UseVisualStyleBackColor = true;
|
|
//
|
|
// chkSMTC
|
|
//
|
|
chkSMTC.AutoSize = true;
|
|
chkSMTC.Location = new Point(18, 198);
|
|
chkSMTC.Name = "chkSMTC";
|
|
chkSMTC.Size = new Size(251, 21);
|
|
chkSMTC.TabIndex = 8;
|
|
chkSMTC.Text = "Windows System Media Controls (SMTC)";
|
|
chkSMTC.UseVisualStyleBackColor = true;
|
|
//
|
|
// chkOverrideCredentials
|
|
//
|
|
chkOverrideCredentials.AutoSize = true;
|
|
chkOverrideCredentials.Location = new Point(14, 9);
|
|
chkOverrideCredentials.Name = "chkOverrideCredentials";
|
|
chkOverrideCredentials.Size = new Size(340, 21);
|
|
chkOverrideCredentials.TabIndex = 0;
|
|
chkOverrideCredentials.Text = "Enable Profile Credentials and Custom Config Generation";
|
|
chkOverrideCredentials.UseVisualStyleBackColor = true;
|
|
chkOverrideCredentials.CheckedChanged += chkOverrideCredentials_CheckedChanged;
|
|
//
|
|
// txtConfigFilePathLabel
|
|
//
|
|
txtConfigFilePathLabel.AutoSize = true;
|
|
txtConfigFilePathLabel.Location = new Point(14, 44);
|
|
txtConfigFilePathLabel.Name = "txtConfigFilePathLabel";
|
|
txtConfigFilePathLabel.Size = new Size(105, 17);
|
|
txtConfigFilePathLabel.TabIndex = 1;
|
|
txtConfigFilePathLabel.Text = "Config Save Path:";
|
|
//
|
|
// txtConfigFilePath
|
|
//
|
|
txtConfigFilePath.Location = new Point(121, 42);
|
|
txtConfigFilePath.Name = "txtConfigFilePath";
|
|
txtConfigFilePath.Size = new Size(165, 24);
|
|
txtConfigFilePath.TabIndex = 2;
|
|
//
|
|
// btnBrowseConfigFile
|
|
//
|
|
btnBrowseConfigFile.Location = new Point(292, 43);
|
|
btnBrowseConfigFile.Name = "btnBrowseConfigFile";
|
|
btnBrowseConfigFile.Size = new Size(75, 23);
|
|
btnBrowseConfigFile.TabIndex = 3;
|
|
btnBrowseConfigFile.Text = "Browse";
|
|
btnBrowseConfigFile.UseVisualStyleBackColor = true;
|
|
btnBrowseConfigFile.Click += btnBrowseConfigFile_Click;
|
|
//
|
|
// UsernameLabel
|
|
//
|
|
UsernameLabel.AutoSize = true;
|
|
UsernameLabel.Location = new Point(19, 79);
|
|
UsernameLabel.Name = "UsernameLabel";
|
|
UsernameLabel.Size = new Size(109, 17);
|
|
UsernameLabel.TabIndex = 4;
|
|
UsernameLabel.Text = "Username / Email:";
|
|
//
|
|
// txtPianobarUser
|
|
//
|
|
txtPianobarUser.Location = new Point(134, 76);
|
|
txtPianobarUser.Name = "txtPianobarUser";
|
|
txtPianobarUser.Size = new Size(152, 24);
|
|
txtPianobarUser.TabIndex = 5;
|
|
//
|
|
// PasswordLabel
|
|
//
|
|
PasswordLabel.AutoSize = true;
|
|
PasswordLabel.Location = new Point(19, 115);
|
|
PasswordLabel.Name = "PasswordLabel";
|
|
PasswordLabel.Size = new Size(62, 17);
|
|
PasswordLabel.TabIndex = 6;
|
|
PasswordLabel.Text = "Password:";
|
|
//
|
|
// txtPianobarPass
|
|
//
|
|
txtPianobarPass.Location = new Point(133, 109);
|
|
txtPianobarPass.Name = "txtPianobarPass";
|
|
txtPianobarPass.Size = new Size(152, 24);
|
|
txtPianobarPass.TabIndex = 7;
|
|
txtPianobarPass.UseSystemPasswordChar = true;
|
|
//
|
|
// SettingsForm
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 17F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(454, 586);
|
|
Controls.Add(profile_configuration_group_box);
|
|
Controls.Add(profiles_group_box);
|
|
Name = "SettingsForm";
|
|
Text = "Settings";
|
|
profiles_group_box.ResumeLayout(false);
|
|
profiles_group_box.PerformLayout();
|
|
profile_configuration_group_box.ResumeLayout(false);
|
|
profile_configuration_group_box.PerformLayout();
|
|
profile_config_tab_control.ResumeLayout(false);
|
|
outputs_tab_page.ResumeLayout(false);
|
|
outputs_tab_page.PerformLayout();
|
|
pianobar_override_tab_page.ResumeLayout(false);
|
|
pianobar_override_tab_page.PerformLayout();
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private GroupBox profiles_group_box;
|
|
private Button new_profile_button;
|
|
private ComboBox profiles_combo_box_selector;
|
|
private Label selected_profile_label;
|
|
private Button delete_profile_button;
|
|
private Label profile_name_label;
|
|
private TextBox profile_name_text_box;
|
|
private GroupBox profile_configuration_group_box;
|
|
private Button browse_button;
|
|
private TextBox pianobar_path_text_box;
|
|
private Label pianobar_path_label;
|
|
private TabControl profile_config_tab_control;
|
|
private TabPage outputs_tab_page;
|
|
private TabPage pianobar_override_tab_page;
|
|
private CheckBox obs_text_output_check_box;
|
|
private Button output_folder_browse_button;
|
|
private TextBox output_folder_text_box;
|
|
private Label output_label;
|
|
private CheckBox chkSMTC;
|
|
private CheckBox chk_toast_notifications;
|
|
private TextBox textBox1;
|
|
private Label port_label;
|
|
private CheckBox local_web_server_check_box;
|
|
private Label txtConfigFilePathLabel;
|
|
private CheckBox chkOverrideCredentials;
|
|
private TextBox txtConfigFilePath;
|
|
private Label PasswordLabel;
|
|
private TextBox txtPianobarUser;
|
|
private Label UsernameLabel;
|
|
private Button btnBrowseConfigFile;
|
|
private TextBox txtPianobarPass;
|
|
}
|
|
} |