Exemple #1
0
        private void saveAsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (saveFileDialog.ShowDialog() == DialogResult.Cancel)
            {
                return;
            }
            fullPath = saveFileDialog.FileName;

            DepartmentsDb db = Db.ToDLA();

            ProvideServices.WriteJSON <DepartmentsDb>(fullPath, ref db);
        }
Exemple #2
0
        private void saveToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DepartmentsDb db = Db.ToDLA();

            ProvideServices.WriteJSON <DepartmentsDb>(fullPath, ref db);
        }