private async void _create(object obj) { bool isgoodlink = LinksCheck(); if (isgoodlink) { UpdateProgress("连接mora...", 0); string packagelink = await MoraHelper.GetMoraPackageLinkAsync(MoraLink); UpdateProgress("读取信息...", 1); MoraJsonObjectModel moraJsonObject = await MoraHelper.GetMoraJsonObjectAsync(packagelink); UpdateProgress("生成主题...", 2); OutputModel output = new OutputModel(moraJsonObject, DownloadLinkCollection, CertificationLink, MoraLink); OutTitle = output.OutputTitle(); OutBody = output.OutputBody(_template); UpdateProgress("完成生成", 3); } else { System.Windows.Forms.MessageBox.Show("mora链接错误!"); } }