public MainWindow() { InitializeComponent(); CalcController = new CalculatorController(InputBox, OperationBox); ConversionsController = new ConversionsController() { TextLabel1 = TextLabel1, TextLabel2 = TextLabel2, TextLabel3 = TextLabel3, TextLabel4 = TextLabel4, TextLabel5 = TextLabel5, TextLabel6 = TextLabel6, TextOutput1 = TextOutput1, TextOutput2 = TextOutput2, TextOutput3 = TextOutput3, TextOutput4 = TextOutput4, TextOutput5 = TextOutput5, TextOutput6 = TextOutput6, Group1 = Group1, Group2 = Group2, Group3 = Group3, Group4 = Group4, Group5 = Group5, Group6 = Group6, }; CalcController.InitializeCalculator(); }