示例#1
0
 private void cbDerivativeAlgorithm_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (isInit)
     {
         if (cbDerivativeAlgorithm.SelectedIndex == 0)
         {
             graphDrawer.EnableAnalyticalDerivative();
         }
         else
         {
             graphDrawer.EnableNewtonDerivative();
         }
     }
 }