a simple system programed by c#