- 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
- Boolean already_exists = false;\r
- foreach (TreeNode treenode in frmMainWindow.treeView_presets.Nodes)\r
- {\r
- if (treenode.ToString().Equals("TreeNode: --" + txt_preset_name.Text))\r
- already_exists = true; \r
- }\r
+ Boolean pictureSettings = false;\r
+ if (check_pictureSettings.Checked)\r
+ pictureSettings = true;\r