예제 #1
0
 internal void restoreLayout(StoredBorderContainer storedBorderContainer)
 {
     left.restoreLayout(storedBorderContainer.Left);
     right.restoreLayout(storedBorderContainer.Right);
     top.restoreLayout(storedBorderContainer.Top);
     bottom.restoreLayout(storedBorderContainer.Bottom);
     floating.restoreLayout(storedBorderContainer.Floating);
 }
예제 #2
0
        internal StoredBorderContainer storeCurrentLayout()
        {
            StoredBorderContainer storedBorderContainer = new StoredBorderContainer();

            storedBorderContainer.Left     = left.storeCurrentLayout();
            storedBorderContainer.Right    = right.storeCurrentLayout();
            storedBorderContainer.Top      = top.storeCurrentLayout();
            storedBorderContainer.Bottom   = bottom.storeCurrentLayout();
            storedBorderContainer.Floating = floating.storeCurrentLayout();
            return(storedBorderContainer);
        }