private void btnAdd_Click(object sender, EventArgs e) { CustomerAdd jobForm = new CustomerAdd(); jobForm.ShowDialog(); customerForm_Load(null, null); }
private void EditJob() { JobInfo job = m_jobDict[cusJobList.SelectedRows[0].Cells[0].Value.ToString()]; if (job != null) { CustomerAdd jobForm = new CustomerAdd(job); jobForm.ShowDialog(); customerForm_Load(null, null); } }