private void UpdatePanelDockInfo(DockableFormInfo info)
 {
     if (DockedItems.ContainsKey(info.Id.ToString()))
     {
         DockedItem item = DockedItems[info.Id.ToString()];
         info.ShowCloseButton = item.ControlDfi.ShowCloseButton;
     }
 }
        public static DockedItem GetItem(int no, Control control, string guid)
        {
            DockedItem dockedItem = new DockedItem();

            dockedItem.No      = no;
            dockedItem.Control = control;
            dockedItem.Guid    = guid;
            return(dockedItem);
        }
        private Form DoLoadPanel(Guid guid)
        {
            if (DockedItems.ContainsKey(guid.ToString()))
            {
                DockedItem item = DockedItems[guid.ToString()];
                //return item.ControlDfi.DockableForm;
                return(CreateForm(item.Size, item.Control, item.Caption));
            }

            return(null);
        }