void ShowColorTrendError() { ColorTrend v = new ColorTrend(); List <WriteableBitmap> bl = new List <WriteableBitmap>(); List <Color> sl = new List <Color>(); if (TestChart.mp.SelectedArea.ContainsKey("AreaColor_7")) { for (int i = 7; i < 19; i++) { bl.Add(TestChart.mp.SelectedArea["AreaColor_" + i.ToString()]); sl.Add((TestChart as XMarkChart).ColorList[i - 1]); } } v.setStandardColorList(sl); ShowParameterView(v, bl); }
void ShowColorTrendError() { ColorTrend v = new ColorTrend(); List <WriteableBitmap> bl = new List <WriteableBitmap>(); List <Color> sl = new List <Color>(); for (int i = 1; i < 4; i++) { for (int j = 1; j < 7; j++) { if ((TestChart as XRiteColorChart).mp.SelectedArea.ContainsKey("Area_" + i.ToString() + "_" + j.ToString())) { bl.Add(TestChart.mp.SelectedArea["Area_" + i.ToString() + "_" + j.ToString()]); sl.Add((TestChart as XRiteColorChart).ColorList[(i - 1) * 6 + j - 1]); } } } v.setStandardColorList(sl); ShowParameterView(v, bl); }