private void SaveProject()
 {
     if (sfdProject.ShowDialog() == DialogResult.OK && sfdProject.FileName != null)
     {
         AssignSortVal();
         ProjectXml filesave = new ProjectXml(sfdProject.FileName);
         filesave.Write(FileList, OutputTags);
     }
 }
 private void LoadProject()
 {
     if (ofdProject.ShowDialog() == DialogResult.OK && ofdProject.FileName != null)
     {
         ProjectXml fileread = new ProjectXml(ofdProject.FileName);
         fileread.Read(out FileList, out OutputTags);
         UpdateTextOutput();
         GenDGV();
         dgvFiles.Sort(dgvFiles.Columns["AdHocSort"], ListSortDirection.Ascending);
         picOutput.Image = Utility.ResizeImage(Utility.BytestoImg(OutputTags.Image), 130, 130);
         //dgvFiles.Refresh();
     }
 }