public static void ShowPreview([NotNull] string path, [NotNull] string title, [NotNull] Form parent)
        {
            Guard.NotNullNorEmpty(path, nameof(path));
            Guard.NotNullNorEmpty(title, nameof(title));
            Guard.NotNull(parent, nameof(parent));

            using (var form = new PicturePreviewForm())
            {
                form.pictureBox.ImageLocation = path;
                form.Text = title + @" preview";
                form.ShowDialog(parent);
            }
        }
        public static void ShowPreview(string path, string title, Form parent)
        {
            Guard.NotNullNorEmpty(path, nameof(path));
            Guard.NotNullNorEmpty(title, nameof(title));
            Guard.NotNull(parent, nameof(parent));

            using var form = new PicturePreviewForm
                  {
                      pictureBox =
                      {
                          ImageLocation = path
                      },
                      Text = title + " preview"
                  };

            form.ShowDialog(parent);
        }