private void ConfigureUI() { InterfaceMain = _container.Resolve <UserInterfaceMain>(); InterfaceMain.Run(); MissionPlannerInterfaces.MissionPlanner.AddFlightMapMenuItem("Show Altitude Angel Wings", new PluginCommand(i => InterfaceMain.ShowMainWindow())); }
public override bool Exit() { if (InterfaceMain != null) { InterfaceMain.Dispose(); InterfaceMain = null; } if (_lifetimeScope != null) { _lifetimeScope.Dispose(); _lifetimeScope = null; } return true; }
public override bool Exit() { if (InterfaceMain != null) { InterfaceMain.Dispose(); InterfaceMain = null; } if (_lifetimeScope != null) { _lifetimeScope.Dispose(); _lifetimeScope = null; } return(true); }
private void ConfigureUI() { InterfaceMain = _container.Resolve<UserInterfaceMain>(); InterfaceMain.Run(); }
private void ConfigureUI() { InterfaceMain = _container.Resolve <UserInterfaceMain>(); InterfaceMain.Run(); }