public void Init()
 {
     currentProject = new Project(@"C:\Users\Dave\Source\Repos\PowerShell-DAVToolkit\WPFToolsProject");
 }
 private void MiOpenProject_Click(object sender, RoutedEventArgs e)
 {
     var openFileDialog = new OpenFileDialog();
     openFileDialog.Filter = "XML files (*.xml) | *.xml";
     if (openFileDialog.ShowDialog() == true)
     {
         try
         {
             CurrentProject =
                 new Project(openFileDialog.FileName.Substring(0, openFileDialog.FileName.LastIndexOf('\\')));
             TvProjectManagement.ItemsSource = CurrentProject.WFiles;
         }
         catch (Exception ex)
         {
             MessageBox.Show(ex.Message);
         }
     }
 }