From 84f852a9d5d12b5d699cb7ad73da47465b6f1b25 Mon Sep 17 00:00:00 2001 From: SoulStar Date: Thu, 30 Apr 2026 13:34:17 +0800 Subject: [PATCH] =?UTF-8?q?style=20-=20MessageBox=E8=B0=83=E6=8D=A2?= =?UTF-8?q?=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SlnMesnac.WPF/ViewModel/IndexPage/ProductionLineViewModel.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SlnMesnac.WPF/ViewModel/IndexPage/ProductionLineViewModel.cs b/SlnMesnac.WPF/ViewModel/IndexPage/ProductionLineViewModel.cs index 8b56430..6b45876 100644 --- a/SlnMesnac.WPF/ViewModel/IndexPage/ProductionLineViewModel.cs +++ b/SlnMesnac.WPF/ViewModel/IndexPage/ProductionLineViewModel.cs @@ -319,7 +319,7 @@ namespace SlnMesnac.WPF.ViewModel.IndexPage /// private void ListClear(object obj) { - if (MessageBox.Show("确认", "确定要清除已生成的数据吗?(该操作不可还原)", MessageBoxButtons.OKCancel) == DialogResult.OK) + if (MessageBox.Show("确定要清除已生成的数据吗?(该操作不可还原)", "确认", MessageBoxButtons.OKCancel) == DialogResult.OK) { PreparedWriteList.Clear(); } @@ -331,7 +331,7 @@ namespace SlnMesnac.WPF.ViewModel.IndexPage /// private void HistoryClear(object obj) { - if (MessageBox.Show("确认", "确定要清除本次写入的数据吗?(可在查看历史中查询以往写入的标签)", MessageBoxButtons.OKCancel) == DialogResult.OK) + if (MessageBox.Show("确定要清除本次写入的数据吗?(可在查看历史中查询以往写入的标签)", "确认", MessageBoxButtons.OKCancel) == DialogResult.OK) { TempRecordList.Clear(); }