private void exportIndex2ToolStripMenuItem_Click(object sender, EventArgs e) { sfd.Title = "Save Index2 Entries"; sfd.Filter = "JSON|*.json"; //sfd.InitialDirectory = fbd.SelectedPath; if (!(sfd.ShowDialog() == DialogResult.OK)) { return; } sm.ExportIndex2(sfd.FileName); MessageBox.Show("Exported Index2 successfully!"); }