mirror of
https://github.com/zs-yg/kortapp-z.git
synced 2025-12-06 16:10:42 +08:00
提供代码质量
This commit is contained in:
10
AppCard.cs
10
AppCard.cs
@@ -347,8 +347,14 @@ namespace AppStore
|
||||
|
||||
public void UpdateDisplay()
|
||||
{
|
||||
nameLabel.Text = AppName;
|
||||
iconBox.Image = AppIcon;
|
||||
if (nameLabel != null)
|
||||
{
|
||||
nameLabel.Text = AppName;
|
||||
}
|
||||
if (iconBox != null && AppIcon != null)
|
||||
{
|
||||
iconBox.Image = AppIcon;
|
||||
}
|
||||
}
|
||||
|
||||
private void DownloadBtn_Click(object sender, EventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user