private void ShowStylesHelp(StyleListItem item)
{
string helpTopic = null;
if (item != null)
helpTopic = TeStylesXmlAccessor.GetHelpTopicForStyle(item.Name);
// I don't really like doing this, but oh well.
if (string.IsNullOrEmpty(helpTopic) ||
helpTopic.ToLower().StartsWith("help_topic_does_not_exist"))
{
helpTopic = TeResourceHelper.GetResourceString("kstidHelpTopicAllStyles");
}
Help.ShowHelp(new Label(), m_app.HelpFile, helpTopic);
}