Ejemplo n.º 1
0
        private void ExportImages(ICardExporter zFileCardExporter)
        {
            if (null == zFileCardExporter)
            {
                return;
            }

#if true
            var zWait = new WaitDialog(
                2,
                zFileCardExporter.ExportThread,
                "Export",
                new string[] { "Layout", "Card" },
                450);
            zWait.ShowDialog(this);
#else // non threaded
            zFileCardExporter.ExportThread();
#endif
        }
Ejemplo n.º 2
0
        private void ExportImages(bool bExportAllLayouts)
        {
            ICardExporter zFileCardExporter = FileCardExporterFactory.BuildFileCardExporter(bExportAllLayouts);

            if (null == zFileCardExporter)
            {
                return;
            }

#if true
            var zWait = new WaitDialog(
                2,
                zFileCardExporter.ExportThread,
                "Export",
                new string[] { "Layout", "Card" },
                450);
            zWait.ShowDialog(this);
#else // non threaded
            zFileCardExporter.ExportThread();
#endif
        }