public Converter(MathControl mathControl) { converters = new IConverter[] { new AreaConverter(), new UnitConverters.LengthConverter(), new MassConverter(), new PowerConverter(), new TemperatureConverter(), new TimeConverter(), new VolumeConverter() }; this.mathControl = mathControl; InitializeComponent(); convertersComboBox.ItemsSource = converters; SetUnits(); }