private void titleBar_WindowDragged(object sender, WindowEventArgs args) { Left = args.Left; Top = args.Top; workspacePanel.ContinueDocking(); }
private void titleBar_WindowDropped(object sender, WindowEventArgs args) { if (workspacePanel.FinishDocking()) { Close(); tabControl.Items.Clear(); workspacePanel.dock(new DockableGroup(controls, new Size(ActualWidth, ActualHeight))); } }