Task使用
Task task = new Task(() =>
{
flightMdls = (List<FlightAirLineModelExModel>)ScreenManager.ShowWaitForm2(this.ParentForm, GetAirlineData, "");
});
task.Start();
task.ContinueWith((t) =>
{
this.Invoke((EventHandler)delegate
{
BandTree(flightMdls);
});
});