VS2019を使用されてるのであれば、Task::ContinueWithではなくてasync/awaitを使用すべきです。 async void Form_Shown(...) { await Task.Run(...); this.Close(); }
- Child Tree -