public override void Initialize() { _cameraControllerVm = new CameraControllerVM(); _cameraControllerView = new CameraControllerView(); _cameraControllerView.ViewModel = _cameraControllerVm; var panel = new FeaturedPanelInfo( Guid.Parse("72B29BFF-9421-467B-84F8-730CC39BA8E0"), new[] { typeof(IHasCamera) }, this.OnRequiredFeaturesSatisficationChanged) { Title = this.L("camera_controller", "panel_title"), CanHide = true, CanClose = true, CanFloat = true, Content = _cameraControllerView, IconSource = BitmapImageEx.LoadAsFrozen("Resources/Images/Camera_12.png"), }; DockingViewManager.Instance.PanelManager.Register(panel); }
public override void Initialize() { _controllerVm = new TurretControllerVM(); _controllerView = new TurretControllerView(); _controllerView.ViewModel = _controllerVm; var panel = new FeaturedPanelInfo( Guid.Parse("7262E37C-3C56-4E55-81BB-30DF8ACC1E23"), new[] { typeof(ITurretControllable) }, this.OnRequiredFeaturesSatisficationChanged) { Title = this.L("turret_controller", "panel_title"), CanHide = true, CanClose = true, CanFloat = true, Width = 200, Content = _controllerView, IconSource = BitmapImageEx.LoadAsFrozen("Resources/Images/Icon_16.png"), }; DockingViewManager.Instance.PanelManager.Register(panel); }
public override void Initialize() { _xmlToolsView = new XmlToolsView(); _xmlToolsVM = new XmlToolsVM(this); _xmlToolsView.ViewModel = _xmlToolsVM; var panel = new FeaturedPanelInfo( Guid.Parse("3DDAF122-D17F-4866-AA22-0EC514218AC6"), new[] { typeof(IXmlViewer) }, this.OnRequiredFeaturesSatisficationChanged) { Title = this.L("xml_tools", "panel_title"), CanHide = true, CanClose = true, CanFloat = true, Width = 200, Content = _xmlToolsView, IconSource = BitmapImageEx.LoadAsFrozen("Resources/Images/XmlTools_16.png"), }; DockingViewManager.Instance.PanelManager.Register(panel); }
public override void Initialize() { _configView = new CustomizationConfigView(); _configVm = new CustomizationConfigVM(); _configView.ViewModel = _configVm; var panel = new FeaturedPanelInfo( Guid.Parse("D7C7755E-47E7-4EB0-8904-2FD24D181CDB"), new[] { typeof(ICustomizationConfigurable) }, this.OnRequiredFeaturesSatisficationChanged) { Title = this.L("customization_configurator", "panel_title"), CanHide = true, CanClose = true, CanFloat = true, Width = 200, Content = _configView, IconSource = BitmapImageEx.LoadAsFrozen("Resources/Images/Pencil_16.png"), }; DockingViewManager.Instance.PanelManager.Register(panel); }
public override void Initialize() { _configView = new CrewConfigView(); _configVm = new CrewConfigVM(); _configView.ViewModel = _configVm; var panel = new FeaturedPanelInfo( Guid.Parse("ADCC6DC1-160B-48D3-BAD0-12D624C4514C"), new[] { typeof(ICrewConfigurable) }, this.OnRequiredFeaturesSatisficationChanged) { Title = this.L("crew_configurator", "panel_title"), CanHide = true, CanClose = true, CanFloat = true, Width = 200, Content = _configView, IconSource = BitmapImageEx.LoadAsFrozen("Resources/Images/Crew_16.png"), }; DockingViewManager.Instance.PanelManager.Register(panel); }
public override void Initialize() { _configView = new TankConfigView(); _configVm = new TankConfigVM(); _configView.ViewModel = _configVm; var panel = new FeaturedPanelInfo( Guid.Parse("090B35D3-1760-4A37-8589-4F8C66A8D30B"), new[] { typeof(ITankConfigurable) }, this.OnRequiredFeaturesSatisficationChanged) { Title = this.L("tank_configurator", "panel_title"), CanHide = true, CanClose = true, CanFloat = true, Width = 200, Content = _configView, IconSource = BitmapImageEx.LoadAsFrozen("Resources/Images/Config_16.png"), }; DockingViewManager.Instance.PanelManager.Register(panel); }