private void btnSetting_Click(object sender, EventArgs e) { frmPeakpara = new frmPeakParameters(); frmPeakpara.ShowDialog(); btnNext.Enabled = true; btnQuan.Enabled = true; }