public Form1() { InitializeComponent(); InitCheckboxList(); funnyMathService = new FunnyMathService(); }
private void InitCheckboxList() { string[] operators = { "Select All", FunnyMathService.GetOperatorName(FunnyMathService.Addition), FunnyMathService.GetOperatorName(FunnyMathService.Subtraction), FunnyMathService.GetOperatorName(FunnyMathService.Multiplication), FunnyMathService.GetOperatorName(FunnyMathService.Division) }; chkListOperators.Items.AddRange(operators); }