private static void ShowModifyEntriesDialog(IEnumerable <KeePassLib.PwEntry> entries)
        {
            if (entries.Any())
            {
                var firstEntry = entries.First();
                using (var met = new ModifyEntryTimestampsForm(firstEntry.CreationTime, firstEntry.LastModificationTime, firstEntry.LastAccessTime))
                {
                    if (met.ShowDialog() == DialogResult.OK)
                    {
                        if (met.SetCreationTime || met.SetLastModificationTime || met.SetLastAccessTime)
                        {
                            foreach (var entry in entries)
                            {
                                if (met.SetCreationTime)
                                {
                                    entry.CreationTime = met.CreationTime;
                                }
                                if (met.SetLastModificationTime)
                                {
                                    entry.LastModificationTime = met.LastModificationTime;
                                }
                                if (met.SetLastAccessTime)
                                {
                                    entry.LastAccessTime = met.LastAccessTime;
                                }
                            }

                            Program.MainForm.UpdateUI(false, null, false, null, false, null, true);
                        }
                    }
                }
            }
        }
        private static void ShowModifyEntriesDialog(ICollection <PwEntry> entries)
        {
            var firstEntry = entries.FirstOrDefault();

            if (firstEntry == null)
            {
                return;
            }

            using (var met = new ModifyEntryTimestampsForm(firstEntry.CreationTime, firstEntry.LastModificationTime, firstEntry.LastAccessTime))
            {
                if (met.ShowDialog() != DialogResult.OK)
                {
                    return;
                }

                if (!met.SetCreationTime && !met.SetLastModificationTime && !met.SetLastAccessTime)
                {
                    return;
                }

                foreach (var entry in entries)
                {
                    if (met.SetCreationTime)
                    {
                        entry.CreationTime = met.CreationTime;
                    }
                    if (met.SetLastModificationTime)
                    {
                        entry.LastModificationTime = met.LastModificationTime;
                    }
                    if (met.SetLastAccessTime)
                    {
                        entry.LastAccessTime = met.LastAccessTime;
                    }
                }

                Program.MainForm.UpdateUI(false, null, false, null, false, null, true);
            }
        }