Exemple #1
0
        private void btSaveFinding_Click(object sender, System.EventArgs e)
        {
            try
            {
                switch (cbEditMode.Text)
                {
                case "Authentic":
                    axAuthentic_SelectedFinding.Save();
                    break;

                case "Notepad":
                    utils.files.SaveFileWithStringContents(strPathToXmlFile, txtSelectedFinding.Text);
                    break;

                default:
                    MessageBox.Show("Unrecognized Edit Mode");
                    break;
                }

                utils.zip.zipFolder(strPathToUnzipSelectedFinding, strFullPathToSelectedFinding);
                lblFindingSaved.Visible = true;
                lbUnsavedData.Visible   = false;
                //MessageBox.Show("Findings Saved");
            }
            catch (Exception ex)
            {
                MessageBox.Show("Error saving file:" + ex.Message);
            }
        }
 /// <summary>
 /// This method saves the current data.
 /// </summary>
 private void saveCurrentData()
 {
     if ((axAuthentic_IssueTracking != null) &&
         (axAuthentic_IssueTracking.Modified))
     {
         axAuthentic_IssueTracking.Save();
     }
 }
Exemple #3
0
 /// <summary>
 /// This method saves the current data.
 /// </summary>
 private void saveCurrentData()
 {
     axAuthentic_ExecutiveSummary.Save();
 }
Exemple #4
0
 /// <summary>
 /// This saves the data currently in altova component.
 /// </summary>
 private void saveCurrentData()
 {
     axAuthentic_Targets.Save();
 }
 /// <summary>
 /// This method saves the current data.
 /// </summary>
 private void saveCurrentData()
 {
     axAuthentic_Recomendations.Save();
 }
 /// <summary>
 /// This is used to save the current project.  It will save the data back to the file
 /// it orginated from.
 /// </summary>
 private void saveCurrentProject()
 {
     axAuthentic_Project.Save();
 }