/// <summary>Execute the command.</summary> public override void Execute() { DockContent databaseInspector = Services.Resolve <IDatabaseInspector>() as DockContent; if (databaseInspector != null) { HostWindow.ShowDatabaseInspector(databaseInspector as IDatabaseInspector, DockState.DockLeft); databaseInspector.Activate(); } }