示例#1
0
        private void SaveOtherFileToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var save = new SaveFileDialog()
            {
                FileName = "",
                Filter   = "Zip Files(*.zip)|*.zip"
            };

            if (save.ShowDialog() != DialogResult.OK)
            {
                return;
            }

            FilePath = save.FileName;
            FaceDatabaseFile.Save(FilePath, FaceData, UserTable);
            SaveFileToolStripMenuItem.Enabled = true;
        }
示例#2
0
 private void SaveFileToolStripMenuItem_Click(object sender, EventArgs e)
 {
     FaceDatabaseFile.Save(FilePath,
                           FaceData,
                           UserTable);
 }