>>680
上半分はコメントアウトする既存行で、foreach文の中の数字はテキトーに変更。
/*
while(price >= _lowPrice) {
y = _priceTrans.TransValue((double)price);

Win32.MoveToEx(hdc, 0, (int)y, out _dummyPoint);
Win32.LineTo(hdc, right, (int)y);
ChartUtil.DrawText(hdc, right, (int)y-5, price.ToString());

price -= _priceScaleStep;
}
*/
foreach(int k in new int[]{ 100,300,100,2500,5000,10000,20000,30000,50000,100000})
{
if (k < _lowPrice) continue;
if (k > _highPrice) continue;

y = _priceTrans.TransValue((double)k);

Win32.MoveToEx(hdc, 0, (int)y, out _dummyPoint);
Win32.LineTo(hdc, right, (int)y);
ChartUtil.DrawText(hdc, right, (int)y - 5, k.ToString());
}