Ejemplo n.º 1
0
 //adding new order or editing selected
 private void SetEditState()
 {
     ControlUtil.DisableButtons(_btnNew, _btnDelete, _btnEdit);
     ControlUtil.EnableButtons(_btnCancel, _btnSave, _btnAddProduct, _btnRemoveProduct);
     EnableInputForm();
     ControlUtil.DisableListBoxes(_lstOrders);
 }