Пример #1
0
        private void exportPackageDefToolStripMenuItem_Click(object sender, EventArgs e)
        {
            sfd.Title  = "Save PackageDef Entries";
            sfd.Filter = "JSON|*.json";
            //sfd.InitialDirectory = fbd.SelectedPath;

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

            sm.ExportPackageDef(sfd.FileName);
            MessageBox.Show("Exported PackageDef successfully!");
        }