移除winforms引用
This commit is contained in:
@@ -50,7 +50,7 @@ namespace SpineViewer.ViewModels.Exporters
|
||||
protected override void Export_Execute(IList? args)
|
||||
{
|
||||
if (args is null || args.Count <= 0) return;
|
||||
if (!ExporterDialogService.ShowCustomFFmpegExporterDialog(this)) return;
|
||||
if (!DialogService.ShowCustomFFmpegExporterDialog(this)) return;
|
||||
SpineObject[] spines = args.Cast<SpineObjectModel>().Select(m => m.GetSpineObject()).ToArray();
|
||||
ProgressService.RunAsync((pr, ct) => ExportTask(spines, pr, ct), AppResource.Str_CustomFFmpegExporterTitle);
|
||||
foreach (var sp in spines) sp.Dispose();
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace SpineViewer.ViewModels.Exporters
|
||||
protected override void Export_Execute(IList? args)
|
||||
{
|
||||
if (args is null || args.Count <= 0) return;
|
||||
if (!ExporterDialogService.ShowFFmpegVideoExporterDialog(this)) return;
|
||||
if (!DialogService.ShowFFmpegVideoExporterDialog(this)) return;
|
||||
SpineObject[] spines = args.Cast<SpineObjectModel>().Select(m => m.GetSpineObject()).ToArray();
|
||||
ProgressService.RunAsync((pr, ct) => ExportTask(spines, pr, ct), AppResource.Str_FFmpegVideoExporterTitle);
|
||||
foreach (var sp in spines) sp.Dispose();
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace SpineViewer.ViewModels.Exporters
|
||||
protected override void Export_Execute(IList? args)
|
||||
{
|
||||
if (args is null || args.Count <= 0) return;
|
||||
if (!ExporterDialogService.ShowFrameExporterDialog(this)) return;
|
||||
if (!DialogService.ShowFrameExporterDialog(this)) return;
|
||||
SpineObject[] spines = args.Cast<SpineObjectModel>().Select(m => m.GetSpineObject(true)).ToArray();
|
||||
ProgressService.RunAsync((pr, ct) => ExportTask(spines, pr, ct), AppResource.Str_FrameExporterTitle);
|
||||
foreach (var sp in spines) sp.Dispose();
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace SpineViewer.ViewModels.Exporters
|
||||
protected override void Export_Execute(IList? args)
|
||||
{
|
||||
if (args is null || args.Count <= 0) return;
|
||||
if (!ExporterDialogService.ShowFrameSequenceExporterDialog(this)) return;
|
||||
if (!DialogService.ShowFrameSequenceExporterDialog(this)) return;
|
||||
SpineObject[] spines = args.Cast<SpineObjectModel>().Select(m => m.GetSpineObject()).ToArray();
|
||||
ProgressService.RunAsync((pr, ct) => ExportTask(spines, pr, ct), AppResource.Str_FrameSequenceExporterTitle);
|
||||
foreach (var sp in spines) sp.Dispose();
|
||||
|
||||
Reference in New Issue
Block a user