Moved numpad control to Tanshu.Common. Billing feature complete. Delete not working as expected

Signed-off-by: unknown <tanshu@.(none)>
This commit is contained in:
unknown
2011-02-01 02:03:22 +05:30
parent eb05811868
commit 0f323f8fab
64 changed files with 2029 additions and 1382 deletions

View File

@ -5,10 +5,11 @@ namespace Tanshu.Accounts.Contracts
{
public class BillItemKey
{
public BillItemKey(int productID, bool isNew)
//Old = 0, New = 1, Modifiers = 2+
public BillItemKey(int ProductID, bool IsNew)
{
ProductID = productID;
IsNew = isNew;
this.ProductID = ProductID;
this.IsNew = IsNew;
}
public int ProductID
@ -41,7 +42,7 @@ namespace Tanshu.Accounts.Contracts
{
if (object.ReferenceEquals(null, a))
return object.ReferenceEquals(null, b);
if (!(a is BillItemKey))
return false;
if (!(b is BillItemKey))