private void ChangeOrder_Click(object sender, EventArgs e) { DetailForm form2 = new DetailForm(currentOrder); form2.forForm = this; form2.ShowDialog(); }
private void AddOrder_Click(object sender, EventArgs e) { DetailForm form2 = new DetailForm(currentOrder); form2.forForm = this; form2.ShowDialog(); orderBindingSource.ResetBindings(false); }