private void OnDocumentationChanged(DocumentationChangedEventArgs e) { if (DocumentationChanged != null) { DocumentationChanged(this, e); } }
private void OnDocumentationChanged(DocumentationChangedEventArgs e) { if (this.DocumentationChanged == null) { return; } this.DocumentationChanged((object)this, e); }
public void UpdateDocument(DocumentationChangedEventArgs e) { string path = this.docPath + @"\" + e.DocFolder + @"\" + e.DocName + ".html"; if (File.Exists(path)) { this.docViewer.Navigate(path); } else if (File.Exists(this.docPath + @"\overview.html")) { this.docViewer.Navigate(this.docPath + @"\overview.html"); } }
public void UpdateDocument(DocumentationChangedEventArgs e) { string str = docPath + "\\" + e.DocFolder + "\\" + e.DocName + ".html"; if (File.Exists(str)) { docViewer.Navigate(str); } else { if (!File.Exists(docPath + "\\overview.html")) { return; } docViewer.Navigate(docPath + "\\overview.html"); } }