Ejemplo n.º 1
0
        void Form1Closing(object sender, CancelEventArgs e)
        {
            MEW.Stop();
            SecureJsonSerializer <ProgramGroupManagerData> pgmDataFile = new SecureJsonSerializer <ProgramGroupManagerData>("pgmSave.json");

            pgmDataFile.Save(Program.PGM.generateProgramGroupManagerData());
            unregisterHotkeys();
            foreach (GlobalHotkey ghk in hotkeys)
            {
                ghk.Dispose();
            }
        }
Ejemplo n.º 2
0
        private void saveButton_Click(object sender, EventArgs e)
        {
            SecureJsonSerializer <ProgramGroupManagerData> pgmDataFile = new SecureJsonSerializer <ProgramGroupManagerData>("pgmSave.json");

            pgmDataFile.Save(Program.PGM.generateProgramGroupManagerData());
        }