private void OnCancelCommand() { if (productPartTimeWindowState == ProductPartTimeWindowState.Modify) { SelectProductPartTimeEntity.Update(); SelectProductPartTimeEntity.RaisALL(); productPartTimeWindowState = ProductPartTimeWindowState.NO; } IsNotAddorModify = true; }
private void OnModifyCommand() { IsNotAddorModify = false; SelectProductPartTimeEntity.Update(); productPartTimeWindowState = ProductPartTimeWindowState.Modify; }