private void _btnEdit_Click(object sender, EventArgs e) { WorkorderForm frm = new WorkorderForm(); frm.Owner = this; if (frm.ShowDialog() == DialogResult.OK) { _allProjects = ProjectList.Load(true); _rbShowAll.Checked = true; RepopulateGrid(); } }
private void OnEditWorkorders(object sender, EventArgs e) { var form = new WorkorderForm(); form.Show(); }