Skip to content

C# Windows Forms app for calculating item prices based on size and single discount options.

License

Notifications You must be signed in to change notification settings

StefanieF2004/PriceCalculatorWinForms

Repository files navigation

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

image image image

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.

About

C# Windows Forms app for calculating item prices based on size and single discount options.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages