https://github.com/stefanief2004/pricecalculatorwinforms
C# Windows Forms app for calculating item prices based on size and single discount options.
https://github.com/stefanief2004/pricecalculatorwinforms
check-box csharp radio-buttons visual-studio visual-studio-code windows-forms
Last synced: about 1 month ago
JSON representation
C# Windows Forms app for calculating item prices based on size and single discount options.
- Host: GitHub
- URL: https://github.com/stefanief2004/pricecalculatorwinforms
- Owner: StefanieF2004
- License: mit
- Created: 2025-07-04T13:45:02.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-07-04T13:53:22.000Z (12 months ago)
- Last Synced: 2025-07-04T15:24:26.539Z (12 months ago)
- Topics: check-box, csharp, radio-buttons, visual-studio, visual-studio-code, windows-forms
- Language: C#
- Homepage:
- Size: 98.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PriceCalculatorWinForms
This is a simple C# Windows Forms application that calculates the price of an item based on user-selected size and discount options.
## Features
- Select item size via radio buttons: Small, Medium, or Large — each with a predefined base price.
- Choose one discount option (10%, 20%, or 30%) using checkboxes — only one discount can be applied at a time.
- Real-time price calculation displayed on the form.
- Demonstrates basic event handling and UI controls in Windows Forms.
## How it works
- When a size is selected, the base price is set accordingly.
- Selecting a discount checkbox applies the corresponding percentage discount.
- If no size is selected, the price is zero.
- Discount checkboxes are mutually exclusive, ensuring only one discount is applied.
## Screenshot



## Technologies Used
- C# with .NET Framework
- Windows Forms (WinForms)
- Visual Studio
## Usage
Run the application, select the size and a discount (if desired), and the total price will be updated instantly.
---
## Author
Created by **[Stefanija Fileva]**
Faculty project – Computer Engineering and Technology
2025
## License
This project is licensed under the MIT License – see the LICENSE file for details.