public static void ShowSettings()
        {
            var frm = new frmSettingsDialog();
            frm.LargeThumbnailSize = Properties.Settings.Default.LargeThumbSize; ;
            frm.SmallThumbnailSize = Properties.Settings.Default.SmallThumbSize;

            frm.ThumbnailCaptureStart = Properties.Settings.Default.ThumbsCaptureStart;
            frm.ThumbnailsNum = Properties.Settings.Default.ThumbsNum;
            if (frm.ShowDialog() != DialogResult.OK)
            {
                return;
            }

            Properties.Settings.Default.LargeThumbSize = frm.LargeThumbnailSize;
            Properties.Settings.Default.SmallThumbSize = frm.SmallThumbnailSize;
            Properties.Settings.Default.ThumbsNum = frm.ThumbnailsNum;
            Properties.Settings.Default.ThumbsCaptureStart = frm.ThumbnailCaptureStart;

            Properties.Settings.Default.Save();
        }
Exemple #2
0
        public static void ShowSettings()
        {
            var frm = new frmSettingsDialog();

            frm.LargeThumbnailSize = Properties.Settings.Default.LargeThumbSize;;
            frm.SmallThumbnailSize = Properties.Settings.Default.SmallThumbSize;

            frm.ThumbnailCaptureStart = Properties.Settings.Default.ThumbsCaptureStart;
            frm.ThumbnailsNum         = Properties.Settings.Default.ThumbsNum;
            if (frm.ShowDialog() != DialogResult.OK)
            {
                return;
            }

            Properties.Settings.Default.LargeThumbSize     = frm.LargeThumbnailSize;
            Properties.Settings.Default.SmallThumbSize     = frm.SmallThumbnailSize;
            Properties.Settings.Default.ThumbsNum          = frm.ThumbnailsNum;
            Properties.Settings.Default.ThumbsCaptureStart = frm.ThumbnailCaptureStart;

            Properties.Settings.Default.Save();
        }