// SAVE PROFILE
        private void button1_Click(object sender, EventArgs e)
        {
            FormSave myForm = new FormSave();

            if (myForm.ShowDialog() == DialogResult.OK)
            {
                data.profileName = myForm.profileName;
                FileUtil.SaveTherapeuticProfile(data);
                SetupForm();
            }
        }
예제 #2
0
        private void saveButton_Click(object sender, EventArgs e)
        {
            FormSave myForm = new FormSave();

            if (myForm.ShowDialog() == DialogResult.OK)
            {
                data.profileName = myForm.profileName;
                FileUtil.SaveFESProfile(myForm.profileName, macroCB.Text, triggerCB.Text);
                SetupForm();
            }
        }