BCGControlBar Library for .NET
LoadState(Form,String,String) Method




A form to load a state.
A path to the xml-file to load a state of command bars.
A path to the xml-file to load a state of docking panes.
Loads a state for the specified  form from the specified file stream.
The state should be previously saved by the SaveState function.
Syntax
'Declaration
 
Public Overloads Sub LoadState( _
   ByVal form As Form, _
   ByVal fileBarsState As String, _
   ByVal fileDockingState As String _
) 
'Usage
 
Dim instance As LayoutController
Dim form As Form
Dim fileBarsState As String
Dim fileDockingState As String
 
instance.LoadState(form, fileBarsState, fileDockingState)
public void LoadState( 
   Form form,
   string fileBarsState,
   string fileDockingState
)
public: void LoadState( 
   Form* form,
   string* fileBarsState,
   string* fileDockingState
) 
public:
void LoadState( 
   Form^ form,
   String^ fileBarsState,
   String^ fileDockingState
) 

Parameters

form
A form to load a state.
fileBarsState
A path to the xml-file to load a state of command bars.
fileDockingState
A path to the xml-file to load a state of docking panes.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

LayoutController Class
LayoutController Members
Overload List

Send Feedback