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); }
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); }