예제 #1
0
        private void exportCatalog2ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            sfd.Title  = "Save Catalog2 Entries";
            sfd.Filter = "JSON|*.json";
            //sfd.InitialDirectory = fbd.SelectedPath;

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

            sm.ExportCatalog2(sfd.FileName);
            MessageBox.Show("Exported Catalog2 successfully!");
        }