コード例 #1
0
 private void BarChart()
 {
     if (_barChart == null)
     {
         _barChart = new TradesCounterBarChart(this)
         {
             DataContext = new TradesCounterBarChartViewModel(AllTradesCounters.ToList())
         };
         _barChart.Show();
     }
     else
     {
         _barChart.WindowState = WindowState.Normal;
         _barChart.Activate();
     }
 }
コード例 #2
0
 public void CloseChart()
 {
     _barChart = null;
 }