private void btnNew_Click(object sender, EventArgs e) { var f = new frmBoundaryEdit(); if (f.ShowDialog(this) == DialogResult.OK) { ReloadList(); } }
private void btnEdit_Click(object sender, EventArgs e) { if (NoneSelected()) { return; } var f = new frmBoundaryEdit(); f.LoadData(GetSelectedNode()); if (f.ShowDialog(this) == DialogResult.OK) { ReloadList(); } }