- %단위 수정
This commit is contained in:
@@ -197,11 +197,11 @@ namespace MarketWatchNS
|
|||||||
{
|
{
|
||||||
Item.SubItems[chLowPrice.Index].Text = string.Format("{0:n0}", iLowPrice);
|
Item.SubItems[chLowPrice.Index].Text = string.Format("{0:n0}", iLowPrice);
|
||||||
Item.SubItems[chLowPrice.Index].ForeColor = (iLowPrice > iStartPrice) ? Color.Red : (iLowPrice < iStartPrice) ? Color.Blue : Color.Black;
|
Item.SubItems[chLowPrice.Index].ForeColor = (iLowPrice > iStartPrice) ? Color.Red : (iLowPrice < iStartPrice) ? Color.Blue : Color.Black;
|
||||||
Item.SubItems[chLowP.Index].Text = string.Format("{0:n2}", fLowP-1.0f);
|
Item.SubItems[chLowP.Index].Text = string.Format("{0:n2}", (fLowP-1.0f)*100);
|
||||||
Item.SubItems[chLowP.Index].ForeColor = (fLowP > 1.0f) ? Color.Red : (fLowP < 1.0f) ? Color.Blue : Color.Black;
|
Item.SubItems[chLowP.Index].ForeColor = (fLowP > 1.0f) ? Color.Red : (fLowP < 1.0f) ? Color.Blue : Color.Black;
|
||||||
Item.SubItems[chHighPrice.Index].Text = string.Format("{0:n0}", iHighPrice);
|
Item.SubItems[chHighPrice.Index].Text = string.Format("{0:n0}", iHighPrice);
|
||||||
Item.SubItems[chHighPrice.Index].ForeColor = (iHighPrice > iStartPrice) ? Color.Red : (iHighPrice < iStartPrice) ? Color.Blue : Color.Black;
|
Item.SubItems[chHighPrice.Index].ForeColor = (iHighPrice > iStartPrice) ? Color.Red : (iHighPrice < iStartPrice) ? Color.Blue : Color.Black;
|
||||||
Item.SubItems[chHighP.Index].Text = string.Format("{0:n2}", fHighP-1.0f);
|
Item.SubItems[chHighP.Index].Text = string.Format("{0:n2}", (fHighP-1.0f)*100);
|
||||||
Item.SubItems[chHighP.Index].ForeColor = (fHighP > 1.0f) ? Color.Red : (fHighP < 1.0f) ? Color.Blue : Color.Black;
|
Item.SubItems[chHighP.Index].ForeColor = (fHighP > 1.0f) ? Color.Red : (fHighP < 1.0f) ? Color.Blue : Color.Black;
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
@@ -222,11 +222,11 @@ namespace MarketWatchNS
|
|||||||
{
|
{
|
||||||
Item.SubItems[chLowPrice.Index].Text = string.Format("{0:n0}", iLowPrice);
|
Item.SubItems[chLowPrice.Index].Text = string.Format("{0:n0}", iLowPrice);
|
||||||
Item.SubItems[chLowPrice.Index].ForeColor = (iLowPrice > iStartPrice) ? Color.Red : (iLowPrice < iStartPrice) ? Color.Blue : Color.Black;
|
Item.SubItems[chLowPrice.Index].ForeColor = (iLowPrice > iStartPrice) ? Color.Red : (iLowPrice < iStartPrice) ? Color.Blue : Color.Black;
|
||||||
Item.SubItems[chLowP.Index].Text = string.Format("{0:n2}", fLowP-1.0f);
|
Item.SubItems[chLowP.Index].Text = string.Format("{0:n2}", (fLowP-1.0f)*100);
|
||||||
Item.SubItems[chLowP.Index].ForeColor = (fLowP > 1.0f) ? Color.Red : (fLowP < 1.0f) ? Color.Blue : Color.Black;
|
Item.SubItems[chLowP.Index].ForeColor = (fLowP > 1.0f) ? Color.Red : (fLowP < 1.0f) ? Color.Blue : Color.Black;
|
||||||
Item.SubItems[chHighPrice.Index].Text = string.Format("{0:n0}", iHighPrice);
|
Item.SubItems[chHighPrice.Index].Text = string.Format("{0:n0}", iHighPrice);
|
||||||
Item.SubItems[chHighPrice.Index].ForeColor = (iHighPrice > iStartPrice) ? Color.Red : (iHighPrice < iStartPrice) ? Color.Blue : Color.Black;
|
Item.SubItems[chHighPrice.Index].ForeColor = (iHighPrice > iStartPrice) ? Color.Red : (iHighPrice < iStartPrice) ? Color.Blue : Color.Black;
|
||||||
Item.SubItems[chHighP.Index].Text = string.Format("{0:n2}", fHighP-1.0f);
|
Item.SubItems[chHighP.Index].Text = string.Format("{0:n2}", (fHighP-1.0f)*100);
|
||||||
Item.SubItems[chHighP.Index].ForeColor = (fHighP > 1.0f) ? Color.Red : (fHighP < 1.0f) ? Color.Blue : Color.Black;
|
Item.SubItems[chHighP.Index].ForeColor = (fHighP > 1.0f) ? Color.Red : (fHighP < 1.0f) ? Color.Blue : Color.Black;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user