How to Create a C# Calculator in 25 minutes
ฝัง
- เผยแพร่เมื่อ 12 ก.ค. 2024
- How to Create a C# Calculator in 25 minutes using the Switch statement to select one of many code block to be executed. An excellent tutorial for beginner and advanced learner.
______________________Note: Missing Dot Codes_____________________
if (btnDec.Text == ".")
{
if (!txtDisplay.Text.Contains("."))
{
txtDisplay.Text = txtDisplay.Text + btnDec.Text;
}
}
-----------------------------------------------------------------------------------------------------------------
Channel members download the C# Calculator source code here:
drive.google.com/file/d/1RP2K...
Join this channel to get access to codes, perks, and see more interesting videos. / @djoamen
To support more videos from DJ Oamen, visit POamen Paypal
www.paypal.me/POamen
Thank you very much, i was in a hurry to do this for a small school project!
You are welcome!
Thanks so much i got stuck and watching this vid helped a lot
Glad it helped
Thanks. Great teacher
You are welcome!
Thank you very much Sir !
Keep watching
Thank you very much
You are welcome
Good .
Keep it going.
Thanks
First of all, you are preparing really useful videos, my teacher.
But I think you forgot the dot in this vido
Yes, you are right:
Thanks, and here is the code, I will also include it as a correction on the description.
if (btnDec.Text == ".")
{
if (!txtDisplay.Text.Contains("."))
{
txtDisplay.Text = txtDisplay.Text + btnDec.Text;
}
}
@@DJOamen
this code worked with my program:
if (textDisplay.Text == "0")
{
textDisplay.Text = ".";
}
else
{
textDisplay.Text = textDisplay.Text + ".";
}
Pretty cool calculator
My pleasure 😊
thanks boss
Any time
Hi sir H r u? Dear sir plz make a vedio about result management system in c#
Already uploaded, see the links below:
th-cam.com/video/X8UNeD8Tyqk/w-d-xo.html
th-cam.com/video/dYlo6M3m75Y/w-d-xo.html
Nin adg ba thy nio 🙏🙏 niicle wey kugu faiiday io zaacid 🤗
I don't get it, bro
struggle is real 😵 i cant find were the toolbox is .. 😭😭😭
Select Window Menu and The click on Reset Windows Layout and click on YES