private void ExportThumbnail()
 {
     if (APathSet.ExportImg)
     {
         try {
             Thumbnailer thN = new Thumbnailer(swApp, APathSet);
             if (thN.assmbly)
             {
                 thN.CreateThumbnail();
                 thN.SaveAsJPG(APathSet.JPGPath);
                 thN.CloseThumbnail();
             }
         } catch (ThumbnailerException thEx) {
             ErrMsg em = new ErrMsg(thEx);
             em.ShowDialog();
         } catch (Exception ex) {
             ErrMsg em = new ErrMsg(ex);
             em.ShowDialog();
         }
     }
 }