Added discard to PortsFrm_Load's Methods.FadeIn

Added discard to PortsFrm_Load's Methods.FadeIn to suppress and solve CS4014
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
This commit is contained in:
MrDevBot 2019-05-21 18:08:15 +10:00 committed by GitHub
parent 1846a77b5a
commit 22c05eeae2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ namespace AsyncRAT_Sharp.Forms
private void PortsFrm_Load(object sender, EventArgs e) private void PortsFrm_Load(object sender, EventArgs e)
{ {
Methods.FadeIn(this, 5); _ = Methods.FadeIn(this, 5);
if (Properties.Settings.Default.Ports.Length == 0) if (Properties.Settings.Default.Ports.Length == 0)
{ {