麦田

不积跬步无以至千里.

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
//断开父子关系
if (this.dpEditor != null)
{
    if (dpEditor.Parent != null)
    {
        var parent = (DockPanel)dpEditor.Parent;
        parent.Children.Remove(dpEditor);
    }
    dpEditorSource.Children.Add(dpEditor);
}

 

posted on 2025-08-26 10:03  一些记录  阅读(3)  评论(0)    收藏  举报