private void chbPolynomial_CheckedChanged(object sender, EventArgs e)
 {
     graphDrawer.TogglePolynomialMode();
 }