private void SaveSettings()
        {
            conf.Ui_Language                     = combobox_language.SelectedValue.ToString();
            conf.General_RegisterHotkeys         = (bool?)checkbox_registerhotkeys.Checked;
            conf.Output_File_Path                = textbox_storagelocation.Text;
            conf.Output_File_FilenamePattern     = textbox_screenshotname.Text;
            conf.Output_File_Format              = combobox_primaryimageformat.Text;
            conf.Output_File_CopyPathToClipboard = (bool?)checkbox_copypathtoclipboard.Checked;
            conf.Output_File_JpegQuality         = trackBarJpegQuality.Value;
            conf.Output_File_PromptJpegQuality   = (bool?)checkbox_alwaysshowjpegqualitydialog.Checked;
            conf.Ui_Effects_Flashlight           = (bool?)checkbox_showflashlight.Checked;
            conf.Ui_Effects_CameraSound          = (bool?)checkbox_playsound.Checked;
            ScreenshotDestinations dest = 0;

            if (checkbox_clipboard.Checked)
            {
                dest |= ScreenshotDestinations.Clipboard;
            }
            if (checkbox_file.Checked)
            {
                dest |= ScreenshotDestinations.FileDefault;
            }
            if (checkbox_fileas.Checked)
            {
                dest |= ScreenshotDestinations.FileWithDialog;
            }
            if (checkbox_printer.Checked)
            {
                dest |= ScreenshotDestinations.Printer;
            }
            if (checkbox_editor.Checked)
            {
                dest |= ScreenshotDestinations.Editor;
            }
            conf.Output_Destinations        = dest;
            conf.Output_Print_Center        = (bool?)checkboxAllowCenter.Checked;
            conf.Output_Print_AllowEnlarge  = (bool?)checkboxAllowEnlarge.Checked;
            conf.Output_Print_AllowRotate   = (bool?)checkboxAllowRotate.Checked;
            conf.Output_Print_AllowShrink   = (bool?)checkboxAllowShrink.Checked;
            conf.Output_Print_PromptOptions = (bool?)checkbox_alwaysshowprintoptionsdialog.Checked;

            conf.Store();

            if (checkbox_autostartshortcut.Checked)
            {
                ShortcutManager.createShortcut(Environment.SpecialFolder.Startup);
            }
            else
            {
                ShortcutManager.removeShortcut(Environment.SpecialFolder.Startup);
            }
            if (checkbox_desktopshortcut.Checked)
            {
                ShortcutManager.createShortcut(Environment.SpecialFolder.Desktop);
            }
            else
            {
                ShortcutManager.removeShortcut(Environment.SpecialFolder.Desktop);
            }
        }
        void QuickSettingItemChanged(object sender, EventArgs e)
        {
            ToolStripMenuSelectList     selectList = (ToolStripMenuSelectList)sender;
            ToolStripMenuSelectListItem item       = ((ItemCheckedChangedEventArgs)e).Item;;

            if (selectList.Identifier.Equals("destination"))
            {
                IEnumerator            en   = selectList.DropDownItems.GetEnumerator();
                ScreenshotDestinations dest = 0;
                while (en.MoveNext())
                {
                    ToolStripMenuSelectListItem i = (ToolStripMenuSelectListItem)en.Current;
                    if (i.Checked)
                    {
                        dest |= (ScreenshotDestinations)i.Data;
                    }
                }
                conf.Output_Destinations = dest;
                conf.Store();
            }
            else if (selectList.Identifier.Equals("printoptions"))
            {
                if (item.Data.Equals("AllowPrintShrink"))
                {
                    conf.Output_Print_AllowShrink = (bool?)item.Checked;
                }
                else if (item.Data.Equals("AllowPrintEnlarge"))
                {
                    conf.Output_Print_AllowEnlarge = (bool?)item.Checked;
                }
                else if (item.Data.Equals("AllowPrintRotate"))
                {
                    conf.Output_Print_AllowRotate = (bool?)item.Checked;
                }
                else if (item.Data.Equals("AllowPrintCenter"))
                {
                    conf.Output_Print_Center = (bool?)item.Checked;
                }
                conf.Store();
            }
            else if (selectList.Identifier.Equals("effects"))
            {
                if (item.Data.Equals("PlaySound"))
                {
                    conf.Ui_Effects_CameraSound = (bool?)item.Checked;
                }
                else if (item.Data.Equals("ShowFlashlight"))
                {
                    conf.Ui_Effects_Flashlight = (bool?)item.Checked;
                }
                conf.Store();
            }
        }