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"); } }
private void OnDocumentationChanged(DocumentationChangedEventArgs e) { if (DocumentationChanged != null) { DocumentationChanged(this, e); } }
private void deviceViewControl_DocumentationChanged(object sender, DocumentationChangedEventArgs e) { if (frmHelp == null) return; frmHelp.UpdateDocument(e); }
private void OnDocumentationChanged(DocumentationChangedEventArgs e) { if (this.DocumentationChanged == null) return; this.DocumentationChanged((object)this, e); }
private void transmitterViewControl1_DocumentationChanged(object sender, DocumentationChangedEventArgs e) { this.OnDocumentationChanged(e); }
private void temperatureViewControl1_DocumentationChanged(object sender, DocumentationChangedEventArgs e) { this.OnDocumentationChanged(e); }
private void commonViewControl1_DocumentationChanged(object sender, DocumentationChangedEventArgs e) { this.OnDocumentationChanged(e); }
private void packetHandlerView1_DocumentationChanged(object sender, DocumentationChangedEventArgs e) { this.OnDocumentationChanged(e); }
private void sx1231ViewControl_DocumentationChanged(object sender, DocumentationChangedEventArgs e) { if (frmHelp != null) frmHelp.UpdateDocument(e); }
private void receiverViewControl1_DocumentationChanged(object sender, DocumentationChangedEventArgs e) { OnDocumentationChanged(e); }