Imports Infragistics.Windows.DockManager
Private Const LayoutPath As String = "C:\layout.xml"
Private Sub mnuSaveToFile_Click(ByVal sender As Object, ByVal e As RoutedEventArgs)
Using stream As System.IO.Stream = New System.IO.FileStream(LayoutPath, System.IO.FileMode.Create)
Me.dmLoadFile.SaveLayout(stream)
End Using
End Sub
Private Sub mnuLoadFromFile_Click(ByVal sender As Object, ByVal e As RoutedEventArgs)
If System.IO.File.Exists(LayoutPath) Then
Using stream As System.IO.Stream = New System.IO.FileStream(LayoutPath, System.IO.FileMode.Open)
Me.dmLoadFile.LoadLayout(stream)
End Using
End If
End Sub