//----< open window showing contents of project directory >------ private void Window_Loaded(object sender, RoutedEventArgs e) { path = Directory.GetCurrentDirectory(); path = getAncestorPath(3, path); LoadNavTab(path); trns = TranslatorFactory.CreateFactory(); Regex.Text = "^[b-dB-D].*\\.(h|cpp)"; Convert_Click(sender, e); }