7 partial class ConfigurationControl
9 private void InitResolutionValues()
11 this.precisionControlExcellent.Init(this.configuration.Resolutions.First(x => x.Precision ==
Precision.Excellent));
12 this.precisionControlGood.Init(this.configuration.Resolutions.First(x => x.Precision ==
Precision.Good));
13 this.precisionControlAverage.Init(this.configuration.Resolutions.First(x => x.Precision ==
Precision.Average));
14 this.precisionControlBelowAverage.Init(this.configuration.Resolutions.First(x => x.Precision ==
Precision.BelowAverage));
15 this.precisionControlBeasty.Init(this.configuration.Resolutions.First(x => x.Precision ==
Precision.Beasty));
20 private void buttonLoadPrecisionDefaults_Click(
object sender,
System.EventArgs e)
23 this.InitResolutionValues();
static List< Resolution > CreateDefaultResolutions()
Creates the default resolutions.
Class for accessing the configuration.
Precision
Information about the precision of a scan