You can use Settings to create values that will store required preferences:
Using Settings in C#
For example you could create a bool setting values of name 'CheckBox1', 'CheckBox2', CheckBox3' and then in
Form1
you can handle the CheckedChanged event of your CheckBox controls so that on their change you change the appropriate setting value. Something like this:
private void checkBox3_CheckedChanged(object sender, EventArgs e)
{
Properties.Settings.Default.CheckBox3 = this.checkBox3.Checked;
}
Then in
MyController
you can check these setting values:
public class MyController
{
public void Thread_ContinuousChecker()
{
if (Properties.Settings.Default.CheckBox3)
{
}
}
}
Also I'm not sure on what type are you referring with
f.files
, but note that there are various types that you can use for setting values, one of which is
StringCollection so maybe you can use that to store your files (I presume file paths).