Click or drag to resize
FormConfigRestoreSaveConfig Method
save controls, tool strips, and manually saved strings call this on form load

Namespace: ANDREICSLIB.Helpers
Assembly: ANDREICSLIB (in ANDREICSLIB.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static bool SaveConfig(
	Form baseform,
	string filename,
	IEnumerable<Control> saveControls = null,
	IEnumerable<ToolStripItem> saveToolStripItems = null,
	IEnumerable<Tuple<string, string>> literalStrings = null
)

Parameters

baseform
Type: System.Windows.FormsForm
filename
Type: SystemString
saveControls (Optional)
Type: System.Collections.GenericIEnumerableControl
a list of form controlls to save, except tool strip items
saveToolStripItems (Optional)
Type: System.Collections.GenericIEnumerableToolStripItem
list of tool strip menu items which the checked value should be saved for
literalStrings (Optional)
Type: System.Collections.GenericIEnumerableTupleString, String
a list of tuple string/strings to manually save

Return Value

Type: Boolean
See Also