public frmNano() { InitializeComponent(); CheckForIllegalCrossThreadCalls = false; settings = new NanoboySettings(); LoadConfiguration(); // set checkboxes according to the settings }
public frmControls(NanoboySettings settings) { InitializeComponent(); this.settings = settings; }