Cafe Billing System in C# with Source Code
The Cafe Billing System in C# is a simple C# Language-developed desktop application. The project is based on the idea of generating the receipt of a client’s total bills.
Speaking of the billing system project in c#, the user simply has to choose between products for cakes and drinks, enter the amount, and press the total button to see the total price. The user can display the total receipt of their products, showing the receipt.
A Cafes have become popular and there are cafes everywhere whenever you go around the streets. Due to the environment that makes them happy, many people hang out at cafes and enjoy a cup of tea/coffee and a slice of cake.
So, this Cafe Billing System in C# will help you a lot when it comes to the billing process if you are planning to have your own coffee company.
This Cafe Billing Framework is an application for the desktop and is very simple to use. In this Café Billing System in c#.net, the user simply selects the cakes and drinks available. Then, by clicking the total button, he enters the quantity of items he has chosen; he can see the total price.
A billing system project in c# is very simple so that the user won’t find any difficulties while working on it. This billing system c# code project does not use any external file as a database/to store records.
Billing System Project in c#.net free download source code, just find the download now below and click to start downloading.
These are the following features of the system
- Menu
- Summary of Payments
- Generate Receipt
- Print Receipt
- Save Receipt
- Open Receipt
- Copy
- Cut
- Paste
To run this project make sure that you have Visual Studio IDE installed in your PC(for Windows) to run this project. Billing System Project in C#.net is free to download with source code.
Cafe Billing System in C# with Source Code Steps On How To Run The Project
Time needed: 5 minutes.
These are the steps on how to run Cafe Billing System in C# with Source Code
- Step 1: Download
First, download the source code given below.
- Step 2: Extract file
Second, after you finished download the source code, extract the zip file.
- Step 3: Open Project
Third, Open a Visual Studio and open project folder CafeBilling then open the “CafeManagement.sln“.
- Step 4: Start Project
Fourth, Start the project.
Cafe Billing System Codes
Total Button – This code will show the total price of the customer.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
private void button1_Click(object sender, EventArgs e) { //btnTotal double lat, mocha, espr, vale, cappu, afri, mTea, cTea, sCh; double cCake, rValvet, bFor, bCream, lChoco, kChoco, cheese, rain; double tax; tax = 2.50; sCh = 2.50; lat = 49; mocha = 50; espr = 80; vale = 59; cappu = 70; afri = 85; mTea = 40; cTea = 55; //coffee pries cCake = 50; rValvet = 100; bFor = 60; bCream = 40; lChoco = 79; kChoco = 109; cheese = 85; rain = 89; //cake prices CultureInfo culture = CultureInfo.CreateSpecificCulture("en-PH"); //CultureInfo culture = CultureInfo.CreateSpecificCulture("en-US"); //US Currency //Coffee double latteeCof = Convert.ToDouble(txtLatte.Text); double mochaCof = Convert.ToDouble(txtMocha.Text); double espressoCof = Convert.ToDouble(txtEspresso.Text); double valeCoffee = Convert.ToDouble(txtValeCoffee.Text); double cappCof = Convert.ToDouble(txtCappu.Text); double afriCof = Convert.ToDouble(txtAfricanCoffee.Text); double miTea = Convert.ToDouble(txtMilkTea.Text); double cineseTea = Convert.ToDouble(txtChineseTea.Text); //Cakes double cofCake = Convert.ToDouble(txtCoffeCake.Text); double redValvet = Convert.ToDouble(txtRedValvetCake.Text); double bForest = Convert.ToDouble(txtBlackForestCake.Text); double bostonCream = Convert.ToDouble(txtBostonCream.Text); double lagosChoco = Convert.ToDouble(txtLagosChoco.Text); double kilbChoco = Convert.ToDouble(txtKillburnChoco.Text); double cheeseCak = Convert.ToDouble(txtCheeseCake.Text); double rainbow = Convert.ToDouble(txtRainbowCake.Text); Cafe eat_in_cafe = new Cafe(latteeCof, mochaCof, espressoCof, valeCoffee, cappCof, afriCof, miTea, cineseTea, cofCake, redValvet, bForest, bostonCream, lagosChoco, kilbChoco, cheeseCak, rainbow); double drinkCosts = (latteeCof * lat) + (mochaCof * mocha) + (espressoCof * espr) + (valeCoffee * vale) + (cappCof * cappu) + (afriCof * afri) + (miTea * mTea) + (cineseTea * cTea); lblDrinkCost.Text = Convert.ToString(drinkCosts); double cakeCosts = (cofCake * cCake) + (redValvet * rValvet) + (bForest * bFor) + (bostonCream * bCream) + (lagosChoco * lChoco) + (kilbChoco * kChoco) + (cheeseCak * cheese) + (rainbow * rain); lblCakeCost.Text = Convert.ToString(cakeCosts); double svcCharge = Convert.ToDouble(sCh); lblSubTotal.Text = Convert.ToString(cakeCosts + drinkCosts + svcCharge); lblTax.Text = Convert.ToString(((cakeCosts + drinkCosts + svcCharge) * tax) / 100); double totalAftTax = Convert.ToDouble(lblTax.Text); lblTotal.Text = Convert.ToString(cakeCosts + drinkCosts + svcCharge + totalAftTax); lblDrinkCost.Text = String.Format(culture, "{0:C}", drinkCosts); lblCakeCost.Text = String.Format(culture, "{0:C}", cakeCosts); //lblSvcCharge.Text = svcCharge.ToString(); lblSvcCharge.Text = String.Format(culture,"{0:C}", svcCharge); lblSubTotal.Text = String.Format(culture, "{0:C}", (cakeCosts + drinkCosts + svcCharge)); lblTax.Text = String.Format(culture,"{0:C}", totalAftTax); lblTotal.Text = String.Format(culture, "{0:C}", (cakeCosts + drinkCosts + svcCharge + totalAftTax)); } |
Receipt Button – This code will show the total receipt of their products.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
private void button2_Click(object sender, EventArgs e) { //btnReceipt rtfReceipt.Clear(); // rtfReceipt.AppendText(Environment.NewLine); rtfReceipt.AppendText("----------------------------------------------------------------" + Environment.NewLine); rtfReceipt.AppendText("\t" + " ITSourceCode Cafe" + Environment.NewLine); rtfReceipt.AppendText("----------------------------------------------------------------" + Environment.NewLine); rtfReceipt.AppendText("ITEM" + "\t\t\t\t" + "QTY" + Environment.NewLine); rtfReceipt.AppendText("----------------------------------------------------------------" + Environment.NewLine); if (chkLatte.Checked == true) { rtfReceipt.AppendText("Latte \t\t\t\t" + txtLatte.Text + Environment.NewLine); } else { } if (chkEspresso.Checked == true) { rtfReceipt.AppendText("Espresso \t\t\t" + txtEspresso.Text + Environment.NewLine); } else { } if (chkMocha.Checked == true) { rtfReceipt.AppendText("Mocha \t\t\t\t" + txtMocha.Text + Environment.NewLine); } else { } if (chkValeCoffee.Checked == true) { rtfReceipt.AppendText("ValeCoffe \t\t\t" + txtValeCoffee.Text + Environment.NewLine); } else { } if (chkCappucino.Checked == true) { rtfReceipt.AppendText("Capuucino \t\t\t" + txtCappu.Text + Environment.NewLine); } else { } if (chkAfricanCoffe.Checked == true) { rtfReceipt.AppendText("African Coffee \t\t\t" + txtAfricanCoffee.Text + Environment.NewLine); } else { } if (chkMilkTea.Checked == true) { rtfReceipt.AppendText("Milk Tea \t\t\t" + txtMilkTea.Text + Environment.NewLine); } else { } if (chkChineseTea.Checked == true) { rtfReceipt.AppendText("Chinese Tea \t\t\t" + txtChineseTea.Text + Environment.NewLine); } else { } if (chkCoffe.Checked == true) { rtfReceipt.AppendText("Coffee Cake \t\t\t" + txtCoffeCake.Text + Environment.NewLine); } else { } if (chkRedValvet.Checked == true) { rtfReceipt.AppendText("Red Valvet Cake \t\t" + txtRedValvetCake.Text + Environment.NewLine); } else { } if (chkBlackForest.Checked == true) { rtfReceipt.AppendText("Black Forest Cake \t\t" + txtBlackForestCake.Text + Environment.NewLine); } else { } if (chkBostonCream.Checked == true) { rtfReceipt.AppendText("Boston Cream Cake \t\t" + txtBostonCream.Text + Environment.NewLine); } else { } if (checkBox13.Checked == true) { rtfReceipt.AppendText("Lagos Chocolate Cake \t\t" + txtLagosChoco.Text + Environment.NewLine); } else { } if (chkKilburnChoco.Checked == true) { rtfReceipt.AppendText("Kilburn Chocolate Cake \t\t" + txtKillburnChoco.Text + Environment.NewLine); } else { } if (chkCheese.Checked == true) { rtfReceipt.AppendText("Cheese Cake \t\t\t" + txtCheeseCake.Text + Environment.NewLine); } else { } if (chkRainbowCake.Checked == true) { rtfReceipt.AppendText("Rainbow Cake \t\t\t" + txtRainbowCake.Text + Environment.NewLine); } else { } rtfReceipt.AppendText("----------------------------------------------------------------" + Environment.NewLine); rtfReceipt.AppendText("Service Charge \t\t" + lblSvcCharge.Text + Environment.NewLine); rtfReceipt.AppendText("----------------------------------------------------------------" + Environment.NewLine); rtfReceipt.AppendText("Tax \t\t\t\t" + lblTax.Text + Environment.NewLine); rtfReceipt.AppendText("Sub Total \t\t\t" + lblSubTotal.Text + Environment.NewLine); rtfReceipt.AppendText("Total Cost \t\t\t" + lblTotal.Text + Environment.NewLine); rtfReceipt.AppendText("----------------------------------------------------------------" + Environment.NewLine); rtfReceipt.AppendText(lblTimer.Text + "\t\t\t" + lblDate.Text); } |
ABOUT PROJECT | PROJECT DETAILS |
---|---|
Project Name : | Cafe Billing System |
Project Platform : | C# |
Programming Language Used: | C# Programming Language |
Developer Name : | itsourcecode.com |
IDE Tool (Recommended): | Visual Studio 2019 |
Project Type : | Desktop Application |
Database: | MYSQL DATABASE |
Upload Date and Time: | February 25, 2021- 2:15 am |
Run Quick Virus Scan For Safe Download
Run Quick Scan For Safe DownloadDownloadable Source Code
Conclusion
This billing system in c#.net is only a project made for school requirement purposes only. You can download this source code and modify it to suit your client requirements, since this is a student project it means you cannot really expect 100% functionality from this.
Related Articles
- Simple Calculator Source Code in C#
- How to Connect MySQL Database to C#.net
- How to Populate Datagridview With MySQL Database using C#
- Multi-Columns AutoComplete in a TextBox Using C# and SQL Server
- How to Retrieve and Update the Data Using C# and MySQL Database
- Saving and Retrieving Data in the Database Using C# and MySQL Database
- Payroll Management System Project in C# with Source Code
- Inventory Management System in C# Source Code
Other Articles you might read also:
- College Management System Project in Django with Source Code
- Search Filter In Django With Source Code
- Best Python Course Online | Python Course Free 2021
- CRANE Thesis Documentation Chapter 1
- CRANE Thesis Documentation Chapter 2 – Related Literature
- ECOMMERCE IN JAVASCRIPT FRAMEWORK WITH SOURCE CODE
- Cafe Reservation System Source Code Using PHP
- Hotel Reservation System SourceCode in PHP
- Online Frozen Foods Ordering System Source Code
- Online Hotel Management System Source Code
- To Do List Project in Python with Source Code | Video | 2020
- Currency Converter In Python With Source Code
- Music Player In JavaScript With Source Code
- CRUD Operation In JavaScript With Source Code
Inquiries
If you have any questions or suggestions about Cafe Billing System in C# with Source Code, please feel free to leave a comment below.
How to connect SQL in c# for cafe Billing system? please help me