Closed robojumper closed 8 years ago
Other than the small suggestions above, looks good, nice job!
(Since you said you're new to Github:) You can push any additional changes to your branch and they'll get reflected automatically, you don't need to open a new PR.
How does this ContinueWith() thing work? Setting the textbox text via changelog.Result causes a System.InvalidOperationException because the access occurred from a different thread?
Oh, right, derp. You'll either have to call Invoke
on the control, or use await
instead of ContinueWith
. I'd say do the latter, it's simpler.
More on Invoke
: http://stackoverflow.com/questions/14703698/invokedelegate
Hey, thanks for the PR!
1 very minor thing: Can you change the namespace in ModChangelogCache to XCOM2Launcher.Mod (- Classes).
LGTM! :+1:
With help from BlueRaja. Visual Studio reordered the lines in MainForm.Designer.cs, hence the deletions.