Work done so far
This commit is contained in:
Generated
+234
-188
@@ -29,36 +29,39 @@
|
||||
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();
|
||||
new_profile_button = new Button();
|
||||
profiles_combo_box_selector = new ComboBox();
|
||||
selected_profile_label = new Label();
|
||||
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();
|
||||
chk_toast_notifications = new CheckBox();
|
||||
textBox1 = new TextBox();
|
||||
port_label = new Label();
|
||||
local_web_server_check_box = new CheckBox();
|
||||
output_folder_browse_button = new Button();
|
||||
output_folder_text_box = new TextBox();
|
||||
output_label = new Label();
|
||||
obs_text_output_check_box = new CheckBox();
|
||||
pianobar_override_tab_page = new TabPage();
|
||||
txtPianobarPass = new TextBox();
|
||||
PasswordLabel = new Label();
|
||||
txtPianobarUser = new TextBox();
|
||||
UsernameLabel = new Label();
|
||||
btnBrowseConfigFile = new Button();
|
||||
txtConfigFilePath = new TextBox();
|
||||
txtConfigFilePathLabel = new Label();
|
||||
chkOverrideCredentials = new CheckBox();
|
||||
painobar_exe_browse_button = new Button();
|
||||
pianobar_path_text_box = new TextBox();
|
||||
pianobar_path_label = new Label();
|
||||
save_button = new Button();
|
||||
cancel_button = new Button();
|
||||
chkkillpro = new CheckBox();
|
||||
profiles_group_box.SuspendLayout();
|
||||
profile_configuration_group_box.SuspendLayout();
|
||||
profile_config_tab_control.SuspendLayout();
|
||||
@@ -79,23 +82,15 @@
|
||||
profiles_group_box.TabStop = false;
|
||||
profiles_group_box.Text = "Profile Management";
|
||||
//
|
||||
// selected_profile_label
|
||||
// delete_profile_button
|
||||
//
|
||||
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;
|
||||
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;
|
||||
//
|
||||
// new_profile_button
|
||||
//
|
||||
@@ -107,15 +102,24 @@
|
||||
new_profile_button.UseVisualStyleBackColor = true;
|
||||
new_profile_button.Click += new_profile_button_Click;
|
||||
//
|
||||
// delete_profile_button
|
||||
// profiles_combo_box_selector
|
||||
//
|
||||
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;
|
||||
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;
|
||||
profiles_combo_box_selector.TextChanged += profiles_combo_box_selector_TextChanged;
|
||||
//
|
||||
// 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:";
|
||||
//
|
||||
// profile_name_label
|
||||
//
|
||||
@@ -136,7 +140,7 @@
|
||||
// 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(painobar_exe_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);
|
||||
@@ -148,31 +152,6 @@
|
||||
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);
|
||||
@@ -202,8 +181,91 @@
|
||||
outputs_tab_page.Text = "Outputs";
|
||||
outputs_tab_page.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;
|
||||
//
|
||||
// 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;
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
textBox1.Location = new Point(111, 105);
|
||||
textBox1.Name = "textBox1";
|
||||
textBox1.Size = new Size(169, 24);
|
||||
textBox1.TabIndex = 6;
|
||||
//
|
||||
// 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:";
|
||||
//
|
||||
// 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;
|
||||
//
|
||||
// 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;
|
||||
//
|
||||
// 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_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:";
|
||||
//
|
||||
// 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;
|
||||
//
|
||||
// pianobar_override_tab_page
|
||||
//
|
||||
pianobar_override_tab_page.Controls.Add(chkkillpro);
|
||||
pianobar_override_tab_page.Controls.Add(txtPianobarPass);
|
||||
pianobar_override_tab_page.Controls.Add(PasswordLabel);
|
||||
pianobar_override_tab_page.Controls.Add(txtPianobarUser);
|
||||
@@ -220,87 +282,68 @@
|
||||
pianobar_override_tab_page.Text = "Pianobar Config & Auth";
|
||||
pianobar_override_tab_page.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// obs_text_output_check_box
|
||||
// txtPianobarPass
|
||||
//
|
||||
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;
|
||||
txtPianobarPass.Enabled = false;
|
||||
txtPianobarPass.Location = new Point(133, 109);
|
||||
txtPianobarPass.Name = "txtPianobarPass";
|
||||
txtPianobarPass.Size = new Size(152, 24);
|
||||
txtPianobarPass.TabIndex = 7;
|
||||
txtPianobarPass.UseSystemPasswordChar = true;
|
||||
//
|
||||
// output_label
|
||||
// PasswordLabel
|
||||
//
|
||||
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:";
|
||||
PasswordLabel.AutoSize = true;
|
||||
PasswordLabel.Location = new Point(19, 115);
|
||||
PasswordLabel.Name = "PasswordLabel";
|
||||
PasswordLabel.Size = new Size(62, 17);
|
||||
PasswordLabel.TabIndex = 6;
|
||||
PasswordLabel.Text = "Password:";
|
||||
//
|
||||
// output_folder_text_box
|
||||
// txtPianobarUser
|
||||
//
|
||||
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;
|
||||
txtPianobarUser.Enabled = false;
|
||||
txtPianobarUser.Location = new Point(134, 76);
|
||||
txtPianobarUser.Name = "txtPianobarUser";
|
||||
txtPianobarUser.Size = new Size(152, 24);
|
||||
txtPianobarUser.TabIndex = 5;
|
||||
//
|
||||
// output_folder_browse_button
|
||||
// UsernameLabel
|
||||
//
|
||||
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;
|
||||
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:";
|
||||
//
|
||||
// local_web_server_check_box
|
||||
// btnBrowseConfigFile
|
||||
//
|
||||
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;
|
||||
btnBrowseConfigFile.Enabled = false;
|
||||
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;
|
||||
//
|
||||
// port_label
|
||||
// txtConfigFilePath
|
||||
//
|
||||
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:";
|
||||
txtConfigFilePath.Enabled = false;
|
||||
txtConfigFilePath.Location = new Point(121, 42);
|
||||
txtConfigFilePath.Name = "txtConfigFilePath";
|
||||
txtConfigFilePath.Size = new Size(165, 24);
|
||||
txtConfigFilePath.TabIndex = 2;
|
||||
//
|
||||
// textBox1
|
||||
// txtConfigFilePathLabel
|
||||
//
|
||||
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;
|
||||
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:";
|
||||
//
|
||||
// chkOverrideCredentials
|
||||
//
|
||||
@@ -313,70 +356,70 @@
|
||||
chkOverrideCredentials.UseVisualStyleBackColor = true;
|
||||
chkOverrideCredentials.CheckedChanged += chkOverrideCredentials_CheckedChanged;
|
||||
//
|
||||
// txtConfigFilePathLabel
|
||||
// painobar_exe_browse_button
|
||||
//
|
||||
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:";
|
||||
painobar_exe_browse_button.Location = new Point(334, 53);
|
||||
painobar_exe_browse_button.Name = "painobar_exe_browse_button";
|
||||
painobar_exe_browse_button.Size = new Size(75, 23);
|
||||
painobar_exe_browse_button.TabIndex = 4;
|
||||
painobar_exe_browse_button.Text = "Browse";
|
||||
painobar_exe_browse_button.UseVisualStyleBackColor = true;
|
||||
painobar_exe_browse_button.Click += painobar_exe_browse_button_Click;
|
||||
//
|
||||
// txtConfigFilePath
|
||||
// pianobar_path_text_box
|
||||
//
|
||||
txtConfigFilePath.Location = new Point(121, 42);
|
||||
txtConfigFilePath.Name = "txtConfigFilePath";
|
||||
txtConfigFilePath.Size = new Size(165, 24);
|
||||
txtConfigFilePath.TabIndex = 2;
|
||||
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;
|
||||
//
|
||||
// btnBrowseConfigFile
|
||||
// pianobar_path_label
|
||||
//
|
||||
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;
|
||||
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:";
|
||||
//
|
||||
// UsernameLabel
|
||||
// save_button
|
||||
//
|
||||
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:";
|
||||
save_button.Location = new Point(66, 551);
|
||||
save_button.Name = "save_button";
|
||||
save_button.Size = new Size(75, 23);
|
||||
save_button.TabIndex = 2;
|
||||
save_button.Text = "Save";
|
||||
save_button.UseVisualStyleBackColor = true;
|
||||
save_button.Click += btnSave_Click;
|
||||
//
|
||||
// txtPianobarUser
|
||||
// cancel_button
|
||||
//
|
||||
txtPianobarUser.Location = new Point(134, 76);
|
||||
txtPianobarUser.Name = "txtPianobarUser";
|
||||
txtPianobarUser.Size = new Size(152, 24);
|
||||
txtPianobarUser.TabIndex = 5;
|
||||
cancel_button.Location = new Point(303, 551);
|
||||
cancel_button.Name = "cancel_button";
|
||||
cancel_button.Size = new Size(75, 23);
|
||||
cancel_button.TabIndex = 3;
|
||||
cancel_button.Text = "Cancel";
|
||||
cancel_button.UseVisualStyleBackColor = true;
|
||||
cancel_button.Click += btnCancel_Click;
|
||||
//
|
||||
// PasswordLabel
|
||||
// chkkillpro
|
||||
//
|
||||
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;
|
||||
chkkillpro.AutoSize = true;
|
||||
chkkillpro.Enabled = false;
|
||||
chkkillpro.Location = new Point(262, 150);
|
||||
chkkillpro.Name = "chkkillpro";
|
||||
chkkillpro.Size = new Size(92, 21);
|
||||
chkkillpro.TabIndex = 8;
|
||||
chkkillpro.Text = "Kill process";
|
||||
chkkillpro.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// SettingsForm
|
||||
//
|
||||
AutoScaleDimensions = new SizeF(7F, 17F);
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
ClientSize = new Size(454, 586);
|
||||
Controls.Add(cancel_button);
|
||||
Controls.Add(save_button);
|
||||
Controls.Add(profile_configuration_group_box);
|
||||
Controls.Add(profiles_group_box);
|
||||
Name = "SettingsForm";
|
||||
@@ -403,7 +446,7 @@
|
||||
private Label profile_name_label;
|
||||
private TextBox profile_name_text_box;
|
||||
private GroupBox profile_configuration_group_box;
|
||||
private Button browse_button;
|
||||
private Button painobar_exe_browse_button;
|
||||
private TextBox pianobar_path_text_box;
|
||||
private Label pianobar_path_label;
|
||||
private TabControl profile_config_tab_control;
|
||||
@@ -426,5 +469,8 @@
|
||||
private Label UsernameLabel;
|
||||
private Button btnBrowseConfigFile;
|
||||
private TextBox txtPianobarPass;
|
||||
private Button save_button;
|
||||
private Button cancel_button;
|
||||
private CheckBox chkkillpro;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user