AltitudeAngelWings.PluginMain.Loaded C# (CSharp) Method

Loaded() public method

public Loaded ( ) : bool
return bool
        public override bool Loaded()
        {
            InterfaceMain.WaitUntilUIReady();

            // Resolve these now to create them
            // Could normally use AutoFac's AutoActivate but since I can't control the thread
            // things create on some UI components get created on a background thread
            // and it explodes if we do that.
            _container.Resolve<FlightDataService>().Initialize();

            InterfaceMain.ShowMainWindow();

            return true;
        }