// 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(); } }
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(); } }