Skip to content

Commit 14b374d

Browse files
committed
优化个异常提示
1 parent 6f318e7 commit 14b374d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

PDFQFZ/Form1.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,11 @@ private void button1_Click(object sender, EventArgs e)
256256
System.Environment.Exit(0);
257257
}
258258
}
259+
else if (yzIndex == -1)
260+
{
261+
MessageBox.Show("请先选择印章!");
262+
return;
263+
}
259264
else
260265
{
261266
sourcePath = pathText.Text;

0 commit comments

Comments
 (0)