We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ceb9a0 commit 942bc22Copy full SHA for 942bc22
1 file changed
Form1.cs
@@ -40,7 +40,7 @@ public Form1()
40
labelUpdate.Invoke((Action)(() => labelUpdate.Text = status.Availability.ToString()));
41
if (status.Availability == PackageUpdateAvailability.Required || status.Availability == PackageUpdateAvailability.Available)
42
{
43
- buttonUpdate.Visible = true;
+ buttonUpdate.Invoke((Action)(() => buttonUpdate.Visible = true));
44
}
45
46
catch (Exception ex)
0 commit comments