using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using UI.Framework.Forms; using static Api.Framework.Tools.UpdateClient; namespace FLSystem.Forms { public partial class UpdateForm : BaseForm { private string strb = null; public UpdateForm(string strb) { InitializeComponent(); this.strb = strb; } private void UpdateForm_Load(object sender, EventArgs e) { try { richTextBox1.Text = strb ?? "作者未填写更新内容"; } catch (Exception ex) { BaseForm.ShowErrorAutoClose(ex, 20000); } } private void simpleButton1_Click(object sender, EventArgs e) { this.DialogResult = DialogResult.OK; } } }