private void cbMaclaurinSeriesAlgorithm_SelectedIndexChanged(object sender, EventArgs e) { if (isInit) { if (cbMaclaurinSeriesAlgorithm.SelectedIndex == 0) { graphDrawer.EnableAnalyticalMaclaurinSeries(); } else { graphDrawer.EnableNewtonMaclaurinSeries(); } } }