In this project, we created an online book store desktop application by using C# programming language.
Our project includes login and signup mechanism which helps protect customers personal data. Inside the application customers can add items to their shopping cart and they can moderate their shopping carts and previous orders. In main page customers can filter products by their types (book, music CD, magazine).
In our project we implemented two different object-oriented design patterns. One of them is visitor design pattern and another one is singleton design pattern we will be mentioning this
patterns in upcoming chapters.
In case of need here is a sample user login information to book store;
UserName: hcanergun
Password: hcanergun60
This form is prepared for the customer to login. If customer has username and password that entered the textboxes matches customer’s information on database(sql) he/she logged in. A warning message is shown to the customer if the password or username is entered incorrectly. In case the customer does not have an account, they can click the signup button to create.
The orders and shopping card buttons on the main screen are used with the user control classes specified under the UserControls heading. The customer first adds the product he has selected from the main screen to the shopping card by using the Purchase button. With the shopping card button, the products added to the shopping cart will be accessed.
The total price of the products is displayed on the screen after the quantity adjustment of the products in the shopping cart is made and saved or the product is removed from the shopping cart. As the last step, the customer buys the products he wants to buy by clicking the Purchase button and displays his orders by clicking the orders button.
By listing the current and previous orders of the customer mentioned on the screen, the customer can approve the orders. If the order is not canceled here and the customer decides to buy the products, he can do so by pressing the Purchase button. mentioned under the relevant heading. A new form opens on the screen when orders are received. In this form, the customer chooses which method he/she wants to make the payment method and which of the two different methods he/she wants to receive the invoice notification via mail or phone message. In addition, the customer enters the address information and confirms the order.
Name - Surname | % | Task |
Mine ÇAKIR | 17 | ItemToPurchase, ShoppingCart, ShoppingCartRepo, UserControl(s), PaymentForm |
Muhammed Talha ŞAHİN | 19 | ShoppingCart, ItemToPurchaseRepo, ShoppingCartRepo, MainPage |
Hüseyin Can ERGÜN | 17 | LogIn, SignUp, Customer, CustomerRepo, LoginedUser, DataBase |
Ece Melis BOZDAĞ | 15 | Product, Book, ProductRepo, Visitor, UML |
Mustafa Batuhan BAYOĞLU | 17 | LogIn, SignUp, Customer, DataBase, DBConnection, CustomerRepo, Log |
Mislina ÇETİNER | 15 | Magazine, MusicCD, ProductRepo, DataBase, UML |