callmeyan 089e0bc64a 更新数据交互流程;
优化框架架构;
调整数据结构;
2024-11-05 13:40:39 +08:00

45 lines
1.0 KiB
C#

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;
namespace AIProofread.Controls
{
public partial class FormMessage : BaseWinForm
{
public FormMessage()
{
InitializeComponent();
}
private void SetMessage(string message)
{
LabelMeesage.Text = message;
}
public static DialogResult ShowMessage(string message)
{
FormMessage formMessage = new FormMessage();
formMessage.SetMessage(message);
return formMessage.ShowDialog();
}
private void button3_Click(object sender, EventArgs e)
{
this.DialogResult = DialogResult.OK;
this.Close();
}
private void button2_Click(object sender, EventArgs e)
{
this.DialogResult = DialogResult.Retry;
this.Close();
}
}
}