private void node_Selected(object sender, RoutedEventArgs e) { if (sender is DbTreeNodeUI node) { //tree.chdir(node.Path); tree.chdir($@"\{ServerName.Path}"); } e.Handled = true; }
private void node_Selected(object sender, RoutedEventArgs e) { if (sender is DbTreeNodeUI node) { //tree.chdir(node.Path); DatabaseName dname = TableName.DatabaseName; ServerName sname = dname.ServerName; tree.chdir($@"\{sname.Path}\{dname.Path}\{TableName.ShortName}"); } e.Handled = true; }