// saves list into .lst file inside lst directory
 private void saveButton_Click(object sender, EventArgs e)
 {
     if (!this.ValidateChildren(ValidationConstraints.Enabled))
     {
         MessageBox.Show("Algum campo não foi preenchido de forma correta.");
     }
     else
     {
         try
         {
             DataGridView dgv = imgPathDataGridView;
             DGVManipulation.SaveColumnToListFile(dgv, 2, Global.testFilesPath + Global.listFolderName, imgListNameTextBox.Text + "_image");
             this.Parent.Controls.Remove(this);
         }
         catch (Exception ex) { MessageBox.Show(ex.Message); }
     }
 }