mirror of
https://github.com/zs-yg/kortapp-z.git
synced 2025-12-06 08:00:44 +08:00
提高代码质量
This commit is contained in:
@@ -50,7 +50,10 @@ namespace KortAppZ.Tools.Viewer
|
||||
}
|
||||
|
||||
currentImage = ImageFileHandler.LoadImage(filePath);
|
||||
pictureBox.Image = currentImage;
|
||||
if (pictureBox != null)
|
||||
{
|
||||
pictureBox.Image = currentImage;
|
||||
}
|
||||
this.Text = $"图片查看 - {Path.GetFileName(filePath)}";
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
||||
Reference in New Issue
Block a user