private void ChangeMode(bool isConfrontation) { if (_isConfrontation == isConfrontation) { return; } ucToolbar.ShowChartType = !isConfrontation; ucToolbar.EnableReset = isConfrontation; ucToolbar.IsShowNews = !isConfrontation; if (isConfrontation) { Binding = fs.Binding = ma.Binding = "Percentage"; financialChart1.AxisY.Format = "P0"; } else { Binding = fs.Binding = ma.Binding = "Close"; financialChart1.AxisY.Format = null; } _isConfrontation = isConfrontation; fs.Rebind(); ma.Rebind(); SetupAnnotations(!isConfrontation && ucToolbar.IsNewsChecked); }