private void BtnDock_Click(object sender, RoutedEventArgs e) { DockWindow dockWindow = new DockWindow(); dockWindow.Show(); }