private void btn_ok_Click(object sender, EventArgs e) { //Save the changes back StepConfig.WriteString("BlazonURL", txt_url.Text); StepConfig.WriteString("BlazonTempDIR", txt_temp.Text); StepConfig.WriteDouble("WaitTime", Convert.ToDouble(numericUpDown1.Value)); StepConfig.WriteBoolean("CleanUp", chk_Clean.Checked); this.Close(); }