BetterExplorer.ConditionalSelectForm.sizefilter_SelectionChanged C# (CSharp) Method

sizefilter_SelectionChanged() private method

private sizefilter_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
sender object
e System.Windows.Controls.SelectionChangedEventArgs
return void
		private void sizefilter_SelectionChanged(object sender, SelectionChangedEventArgs e) {
			if (!this.IsLoaded) return;
			ConditionalSelectComboBoxItem i = (ConditionalSelectComboBoxItem)e.AddedItems[0];
			if (i.IdentifyingName == "Between" || i.IdentifyingName == "NotBetween") {
				this.sizequery2.IsEnabled = true;
				this.sizebox2.IsEnabled = true;
			}
			else {
				this.sizequery2.IsEnabled = false;
				this.sizebox2.IsEnabled = false;
			}
		}