private void btnAdd_Click(object sender, EventArgs e) { FormEdit formEdit = new FormEdit(new Order(), false, orderService); ShowEditForm(formEdit); }
private void btnModify_Click(object sender, EventArgs e) { FormEdit form2 = new FormEdit((Order)orderBindingSource.Current); form2.ShowDialog(); }