상속: IDisposable
        private void ConfigureUI()
        {
            InterfaceMain = _container.Resolve <UserInterfaceMain>();
            InterfaceMain.Run();

            MissionPlannerInterfaces.MissionPlanner.AddFlightMapMenuItem("Show Altitude Angel Wings",
                                                                         new PluginCommand(i => InterfaceMain.ShowMainWindow()));
        }
예제 #2
0
        public override bool Exit()
        {
            if (InterfaceMain != null)
            {
                InterfaceMain.Dispose();
                InterfaceMain = null;
            }

            if (_lifetimeScope != null)
            {
                _lifetimeScope.Dispose();
                _lifetimeScope = null;
            }

            return true;
        }
예제 #3
0
        public override bool Exit()
        {
            if (InterfaceMain != null)
            {
                InterfaceMain.Dispose();
                InterfaceMain = null;
            }

            if (_lifetimeScope != null)
            {
                _lifetimeScope.Dispose();
                _lifetimeScope = null;
            }

            return(true);
        }
예제 #4
0
        private void ConfigureUI()
        {
            InterfaceMain = _container.Resolve<UserInterfaceMain>();
            InterfaceMain.Run();

        }
예제 #5
0
 private void ConfigureUI()
 {
     InterfaceMain = _container.Resolve <UserInterfaceMain>();
     InterfaceMain.Run();
 }