private void CreateNewProject_Click(object sender, RoutedEventArgs e) { try { RadOpenFolderDialog openFolderDialog = new RadOpenFolderDialog(); openFolderDialog.ShowDialog(); var folderName = openFolderDialog.FileName; ViewModel.CreateNewProject(tbProjectName.Text, folderName); } catch (Exception ex) { _logger.Error(ex); } }