Click or drag to resize

SettingsSerializerAddControlSetting Method

Add a Control to serialize. Supported: CheckBox.Checked, RadioButton.Checked, NumericUpDown.Value, ListBox.Items(string[]), Panel.Width/Height, TextBox.Text Supported: ComboBox.Text(ComboBoxStyle.DropDown), Form.Left/Top/Width/Height, TrackBar.Value, CheckedListBox.Items(string[])/(ItemChecked) Supported: PictureBox.BackColor, Button.Text/Font

Namespace:  Advanced_Combat_Tracker
Assembly:  Advanced Combat Tracker (in Advanced Combat Tracker.exe) Version: 3.7.0.280
Syntax
C#
public void AddControlSetting(
	string ControlName,
	Control ControlToSerialize
)

Parameters

ControlName
Type: SystemString
A unique identifier of the control. Visual Studio's IDE will often populate a Control.Name property that is suitable.
ControlToSerialize
Type: System.Windows.FormsControl
An object reference of the control to serialize
See Also