private void btnSaveDetails_Click(object sender, EventArgs e) { Goods goods = new Goods(itemName, itemPrice); Details = new OrderDetails(goods, num); CurrentOrder.AddOrderDetails(Details); // this.DialogResult = DialogResult.OK; }
private void btnSaveDetails_Click(object sender, EventArgs e) { Goods goods = new Goods(itemName, itemPrice); Details = new OrderDetails(goods, num); CurrentOrder.AddOrderDetails(Details); // this.DialogResult = DialogResult.OK; }