public KernelBasedOverlapCorrelatorOptionPanel(KernalBasedOverlapCorrelator correlator) : base() { this.InitializeComponent(); this.preFilter.DisplayMember = "Value"; this.preFilter.ValueMember = "Key"; this.preFilter.DataSource = typeof(FiltersEnum).ToList(); this.preFilter.SelectedIndex = 0; KernalBasedOverlapCorrelator.Prefilter = null; this.overLapLabel.Text = "Expected" + Environment.NewLine + "Overlap"; this.channel.SelectedItem = "Intensity"; // default value this.correlator = correlator; }