Esempio n. 1
0
 private void OnDocumentationChanged(DocumentationChangedEventArgs e)
 {
     if (DocumentationChanged != null)
     {
         DocumentationChanged(this, e);
     }
 }
Esempio n. 2
0
 private void OnDocumentationChanged(DocumentationChangedEventArgs e)
 {
     if (this.DocumentationChanged == null)
     {
         return;
     }
     this.DocumentationChanged((object)this, e);
 }
Esempio n. 3
0
        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");
            }
        }
Esempio n. 4
0
        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");
            }
        }