- if (txt_preset_name.Text.Trim() == "")\r
- MessageBox.Show("You have not entered a name for the preset.","Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);\r
- else if (txt_preset_name.Text.Trim().Contains("--"))\r
- MessageBox.Show("The preset name can not contain two dashes '--'","Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);\r
- else\r
- {\r
- Functions.Common hb_common_func = new Functions.Common();\r
-\r
- string userPresets = Application.StartupPath.ToString() + "\\user_presets.dat";\r
- try\r
- {\r
- // Create a StreamWriter and open the file\r
- StreamWriter line = File.AppendText(userPresets);\r
+ Boolean pictureSettings = false;\r
+ if (check_pictureSettings.Checked)\r
+ pictureSettings = true;\r