Exemplo n.º 1
0
 private void _stockChartX_IndicatorAddComplete(object sender, StockChartX.IndicatorAddCompletedEventArgs e)
 {
     if (e.CanceledByUser)
     {
         _stockChartX.Update();
     }
 }
Exemplo n.º 2
0
 private void _stockChartX_IndicatorAddComplete(object sender, StockChartX.IndicatorAddCompletedEventArgs e)
 {
     //this code will remove the unneeded empty panel created above when adding an indicator
     if (e.CanceledByUser && _newPanelCreated)
     {
         _stockChartX.Update();
     }
 }