purchase system --using c#