public void OpenData(string category) { if (!string.IsNullOrWhiteSpace(category)) { List <UseKLine> list = HttpService.GetKLineData(category); CandleGraph(); this.chartGraph1.ProcessBarValue = 0; Thread refreshData = new Thread(new ParameterizedThreadStart(UpdateDataToGraph)); refreshData.IsBackground = true; refreshData.Start(list); } }