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(); } }
/// <summary> /// This method saves the current data. /// </summary> private void saveCurrentData() { axAuthentic_ExecutiveSummary.Save(); }
/// <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(); }