/// <summary> /// Loads the item properties /// </summary> private void LoadProperties() { var result = ItemHtmlHelper.LoadProperties(this.item, this.filterExtra); // Base Item Attributes if (result.BaseItemAttributes.Any()) { this.webBrowser1.DocumentText = result.BaseItemAttributes; this.webBrowser1.Show(); this.label2.Show(); } else { this.webBrowser1.Hide(); this.label2.Hide(); } // Prefix Attributes if (result.PrefixAttributes.Any()) { this.webBrowser2.DocumentText = result.PrefixAttributes; this.webBrowser2.Show(); this.label1.Show(); } else { this.webBrowser2.Hide(); this.label1.Hide(); } // Suffix Attributes if (result.SuffixAttributes.Any()) { this.webBrowser3.DocumentText = result.SuffixAttributes; this.webBrowser3.Show(); this.label3.Show(); } else { this.webBrowser3.Hide(); this.label3.Hide(); } }