private void ReadCallTip(XmlReader reader)
{
if (reader.HasAttributes)
{
while (reader.MoveToNextAttribute())
{
string attrName = reader.Name.ToLower();
switch (attrName)
{
case "backcolor":
this._callTip_BackColor = this.getColor(reader.Value);
break;
case "forecolor":
this._callTip_ForeColor = this.getColor(reader.Value);
break;
case "highlighttextcolor":
this._callTip_HighlightTextColor = this.getColor(reader.Value);
break;
}
}
reader.MoveToElement();
}
reader.Skip();
}