private void treeView1_AfterSelect(object sender, TreeViewEventArgs e)
{
if (treeView1.SelectedNode.ToString() == "TreeNode: Hauptmenü")
{
string address = Application.StartupPath + "\\hilfe\\hilfe-haupt.html";
webBrowser1.Navigate(new Uri(address));
}
if (treeView1.SelectedNode.ToString() == "TreeNode: Login")
{
string address = Application.StartupPath + "\\hilfe\\hilfe-login.html";
webBrowser1.Navigate(new Uri(address));
}
if (treeView1.SelectedNode.ToString() == "TreeNode: Hilfe")
{
string address = Application.StartupPath + "\\hilfe\\hilfe-hilfe.html";
webBrowser1.Navigate(new Uri(address));
}
if (treeView1.SelectedNode.ToString() == "TreeNode: Hilfe")
{
string address = Application.StartupPath + "\\hilfe\\hilfe-hilfe.html";
webBrowser1.Navigate(new Uri(address));
}
if (treeView1.SelectedNode.ToString() == "TreeNode: Administration")
{
string address = Application.StartupPath + "\\hilfe\\hilfe-admin.html";
webBrowser1.Navigate(new Uri(address));
}
if (treeView1.SelectedNode.ToString() == "TreeNode: Kunde")
{
string address = Application.StartupPath + "\\hilfe\\hilfe-kunde.html";
webBrowser1.Navigate(new Uri(address));
}
if (treeView1.SelectedNode.ToString() == "TreeNode: Mitarbeiter")
{
string address = Application.StartupPath + "\\hilfe\\hilfe-mitarbeiter.html";
webBrowser1.Navigate(new Uri(address));
}
if (treeView1.SelectedNode.ToString() == "TreeNode: Projekte")
{
string address = Application.StartupPath + "\\hilfe\\hilfe-projekte.html";
webBrowser1.Navigate(new Uri(address));
}
}