A sleek and modern Windows Forms calculator application built with .NET 8.0 and Guna.UI2.WinForms. This project demonstrates creating a responsive and visually appealing calculator with basic arithmetic functionality.
- Supports basic arithmetic operations: addition, subtraction, multiplication, division, percentage, and positive/negative toggle.
- Interactive and modern UI using Guna.UI2.WinForms.
- Error handling for empty or invalid input.
- Clean design with a fully responsive layout for the calculator buttons.
- C# .NET 8.0 Windows Forms
- Visual Studio 2022/2023
- Guna.UI2.WinForms UI toolkit
- Object-oriented programming for operations and UI logic.
-
Clone the repository:
git clone https://github.com/devdcii/Calculator-Csharp-WinForms.git
Open the solution in Visual Studio:
LastPrttyp.sln
Restore NuGet packages to include Guna.UI2.WinForms:
Right-click on the solution → Restore NuGet Packages.
Build and run the project (F5 or Start in Visual Studio).
Usage
Click the number buttons to input numbers.
Use operation buttons (+, -, x, ÷, %) to perform calculations.
Press = to get the result.
Press C to clear the input.
Handles decimal numbers and toggling positive/negative numbers.