private void btn_toNew2_Click(object sender, RoutedEventArgs e) { //Folder path and experiment name configs gathered at this point //TODO Write to config file folderPath += @"\\" + expName + @"\\"; NewExp2 newExp2 = new NewExp2(); this.Close(); newExp2.ShowDialog(); }