void ShowDbSchemaViewer() { foreach (IDockContent dc in dockPanel.Documents) { if (dc is DbSchemaViewer) { dc.DockHandler.Activate(); return; } } DbSchemaViewer viewer = new DbSchemaViewer(); viewer.Show(dockPanel); }
void ShowDbSchemaViewer() { foreach (IDockContent dc in dockPanel.Documents) { if (dc is DbSchemaViewer) { dc.DockHandler.Activate(); return; } } DbSchemaViewer viewer = new DbSchemaViewer(); viewer.Show(dockPanel); }