How to Make a Calculator in C# Windows Form Application Part-1
ฝัง
- เผยแพร่เมื่อ 12 ก.ค. 2024
- Source code - www.codebind.com/c-sharp/make-...
★★★Top Online Courses From ProgrammingKnowledge ★★★
Python Programming Course ➡️ bit.ly/2vsuMaS ⚫️ bit.ly/2GOaeQB
Java Programming Course ➡️ bit.ly/2GEfQMf ⚫️ bit.ly/2Vvjy4a
Bash Shell Scripting Course ➡️ bit.ly/2DBVF0C ⚫️ bit.ly/2UM06vF
Linux Command Line Tutorials ➡️ bit.ly/2IXuil0 ⚫️ bit.ly/2IXukt8
C Programming Course ➡️ bit.ly/2GQCiD1 ⚫️ bit.ly/2ZGN6ej
C++ Programming Course ➡️ bit.ly/2V4oEVJ ⚫️ bit.ly/2XMvqMs
PHP Programming Course ➡️ bit.ly/2XP71WH ⚫️ bit.ly/2vs3od6
Android Development Course ➡️ bit.ly/2UHih5H ⚫️ bit.ly/2IMhVci
C# Programming Course ➡️ bit.ly/2Vr7HEl ⚫️ bit.ly/2W6RXTU
JavaFx Programming Course ➡️ bit.ly/2XMvZWA ⚫️ bit.ly/2V2CoAi
NodeJs Programming Course ➡️ bit.ly/2GPg7gA ⚫️ bit.ly/2GQYTQ2
Jenkins Course For Developers and DevOps ➡️ bit.ly/2Wd4l4W ⚫️ bit.ly/2J1B1ug
Scala Programming Tutorial Course ➡️ bit.ly/2PysyA4 ⚫️ bit.ly/2PCaVj2
Bootstrap Responsive Web Design Tutorial ➡️ bit.ly/2DFQ2yC ⚫️ bit.ly/2VoJWwH
MongoDB Tutorial Course ➡️ bit.ly/2LaCJfP ⚫️ bit.ly/2WaI7Ap
QT C++ GUI Tutorial For Beginners ➡️ bit.ly/2vwqHSZ
★★★ Online Courses to learn ★★★
Get 2 FREE Months of Unlimited Classes from skillshare - skillshare.eqcm.net/r1KEj
Data Science - bit.ly/2lD9h5L | bit.ly/2lI8wIl
Machine Learning - bit.ly/2WGGQpb | bit.ly/2GghLXX
Artificial Intelligence - bit.ly/2lYqaYx | bit.ly/2NmaPya
MERN Stack E-Degree Program - bit.ly/2kx2NFe | bit.ly/2lWj4no
DevOps E-degree - bit.ly/2k1PwUQ | bit.ly/2k8Ypfy
Data Analytics with R - bit.ly/2lBKqz8 | bit.ly/2lAjos3
AWS Certification Training - bit.ly/2kmLtTu | bit.ly/2lAkQL1
Projects in Java - bit.ly/2kzn25d | bit.ly/2lBMffs
Machine Learning With TensorFlow - bit.ly/2m1z3AF | bit.ly/2lBMhnA
Angular 8 - Complete Essential Guide - bit.ly/2lYvYRP
Kotlin Android Development Masterclass - bit.ly/2GcblsI
Learn iOS Programming Building Advance Projects - bit.ly/2kyX7ue
★★★ Follow ★★★
My Website - www.codebind.com
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
Windows 8 Simple Calculator sample in C# for Visual Studio
Visual Studio WinForm Windows Calculator Tutorial
Sample Calculator with windows form application in c#
Creating a Calculator Visual Studio C#
Calculator in C# (Windows Application)
how to create calculater in window application with c#
A Calculator using C#
Simple Calculator in C#
Creating A Calculator Using Windows Form Application
Make simple calculator in c# windows form application
calculator code in c# windows form application
calculator program in c# using windows forms
window form application in c#
A small tip that might help others: when the button_click event handler needs to be copied to the rest of the number keys' Click event, you can Ctrl+LeftClick on each button in the form designer. By selecting multiple buttons at a time, you can add button_click into the Click event in the Properties window and it applies to _all_ of the buttons you had selected.
+Eincrou Interesting. I will try that.
Super clear and easy to follow! Thanks for helping million studends around the world!
Very informative. Thank you. I like your teaching style ; patient and un-hurried.
Cool app. i taught college computer programming various languages off and on for about twenty years. I used this calculator app as the final for introductory courses! It's just amazing what you can do in the Properties pane these days! Great job!
Thanks for this app walkthrough. I have very limited formal instruction in programming (from 12 years ago) and I'm trying to teach myself C# from textbooks. It's nice to have a guided exercise to practice with. I try to see if I know what needs to be done before you mention it.
Thank You. I was able to get my assignment done before class.
Really great Videos, thank you very much keep up the good work!
Thanks to you I can do my homework for school. :-) I was afraid I couldn't do that because it seems so difficult but now I can see no problem. I like it. So thank you !
truly a rebell
Thanks for this valuable piece of knowledge. Subbed and liked.
Thanks. Good knowledge on c#.
I m a BCA student.And, due to covid we got no practical sessions 🙄. (*lokdwn, reporting cases @clg, then closing for a week and so ). When exams hit, I was in a panic..I studied through your video.This video was awesome, superb, lifesaver😂👌😭
....... Thank you❤️
Tip: Instead of clicking through all buttons to add click operators, you can shift or drag select all the buttons and add "button_click" or "click_operator". Make sure you mark the correct buttons for the right operator tough.
yea
AWESOME!!!!
perfect but need explaination for your codes
Your lesson is helpful
Thank u soooooo muchhhh sir. You are great
Please give me part 2 tutorial..❤❤
part two = th-cam.com/video/X67eC9jf2uE/w-d-xo.html
Informative tutorial !
but i m facing problem when i was run my project, i click any no like 0 , 2 so on then show me as an output on textbox "System.Windows.Forms.TextBox, Text: 00 "
give guidance plz...
Thank you so much
Thanks :)
GR8 stuff. Just subscribed, now i hope to learn how to make a web browser :)
Inshallah, you will!
thank u much information
th-cam.com/video/oJt2FnN0_sM/w-d-xo.html
not complete video but still a video has much information
th-cam.com/video/oJt2FnN0_sM/w-d-xo.html
Thanks dude
you use much time for making this application
Thank you so much sir
thank u man u saved me
can any one help me out from taking data from one textfield in java and add it for example i want to add many values textfield1(2+2+2+4) and result shows in other field
Thanks so much MAN
16:33 - could you please explain that to me again? I dont really understand the syntax and what it means.
Hi..what if I need to perform multiple calculations in a stretch?for example 3+2+4×2..how can this be performed..pls reply..
thank u sir
Thank you for your valuable set of knoweledge you help mie a lot i appreciate
thank you sir,
sir how we sum, subtract and other operation of negative numbers in calculator ?
please make on this video
your code's nice, and you could have made it a little easier, writting like this: textBox1.Text += (sender as Button).Text; and paste to events of another digital buttons button1_click, like you hve done
Thank you
thanks
Great tuto..Sir...By using C# We can Make 2d and 3d game on Unity game engine. Unity is free.
Good video I wish it was completed, how can I have the rest of the information.
nice love it
Broo thanks!
Interesting :)
disculpa como puedo programar en visual una imagen echa en flash para q me de movimiento en windows form c#?
the code is completely different when i click the buttons to perform the button click event. Its not similar at all it says private sub instead of void and has 10 lines of code before the click event. Besides that when i do the Button button = (sender) etc it says its not valid...
wonderfull
ProgrammingKnowledge please add tutorial C#
How we do it practically.. How to make its programming as in input form after printed we see our created calculator
8:07 Usten we are ready for lift off...
nice !!!
is this tutorial using an OOP concept?
Can you program a calculator with 3 text boxes n with number buttons?
thank you so muchhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
System.ArgumentException: 'Delegate to an instance method cannot have null 'this'.'
please can you help me why this is coming up when i run it
you forgot something bro .. the DOT have to have a line for itself because if i do as you say i wouldnt be able to input 0.1 .. cuz the 0 gets cleared
it should be like this
namespace CALC
{
public partial class ACCCALC : Form
{
public ACCCALC()
{
InitializeComponent();
}
private void Button_Click(object sender, EventArgs e)
{
if (ResultBox.Text == "0")
ResultBox.Clear();
Button button = (Button)sender;
ResultBox.Text = ResultBox.Text + button.Text;
}
private void Button_ClickDot(object sender, EventArgs e)
{
ResultBox.Text = ResultBox.Text + ".";
}
}
}
why didn't you just do another video then XD
Nice tutorial where is part ii?
After clicking the windows form application on VSCode, the box is not what loading but the code instead. Pls can u help me with that
thks all af you to heply
old but gold
Somebody please help me when I'm writing
Textbox.Text = Textbox.Text + button.Text; I'm getting an error on button.Text as it says Button doesn't contain a definition for 'Text' the accepting and jo accessible extension method 'Text' the accepting accepting a first argument of type 'Button' could be found.
What app are you using to make the calculator...
he use visual studio
why everyone is using visual studio to make gui apps.. why don't they make gui apps just by coding? if so no one need to learn HTML and CSS because there are other web apps to make websites.
jesa TV ke screen par logo working kar tea hai vo coding software kase banea gea ose kea coding kea hai computer screen par working kare
working
programmingKnowledge
It is addressed herein are the only.
Can you put the sources of this please?
Part 1- Design little Scripting filling events Part 2-Full Scripting filling events more
i don't know what is that right srtange thing that you type in the code. i mean that d in the code.
what did you mean with this code? Button button = (Button)sender;
As sender is the button that triggered the event, you are creating a object of the same button class and typecasting the button object and assigning to a local object, then accessing it's properties.
This is useful if you have many objects using the same event handler.
th-cam.com/video/oJt2FnN0_sM/w-d-xo.html
Dont click on FaaizPro's comment. It's spam and they are just trying to get views from it.
@@vladd9080
Can you please explain further. Possibly break down what each component of that line means? Thanks!
using this code i found one little bit mistake that is
when i click any button (1,2,3 etc) it takes a value twice
plz help me out sir.....
Hey, I can't seem to do 13:53 because I can't find that piece of code in Visual Studio.
Edit: Doesn't matter, I found the way to do it!
how to do it?
nanda bakti you need Windows Forms.
By the way, thanks for bringing me back to this old comment!
sir how to download c# ..
. and this can run in windows XP
lmao is this for real? Why the hell are you using that old OS? Do you also communicate to your loved ones via smoke signals and paint pictures on the walls of caves?
lol
Thankx a lot .but the video is not finish
Which framework were used in this tutorial Please answer
+
did you find the answer?
what is the use of Button
Button btn = (Button)sender;
textBox_Result.Text = textBox_Result.Text + btn.Text;
why did you use "(Button)Sender"?
can you explain that again?
i am looking forward for an explanation
i don't understand what he is saying but i understand what he is doing...
iken
send me the link from where i can download that program !
+Usama Qasim you don't need to download , you need to make your own
th-cam.com/video/oJt2FnN0_sM/w-d-xo.html
icin
Sir, i would like to ask a question;
i can not do double type operations. for example;
i want to this operation 3.2 + 3 = 6.2 but on the label it appears like 32 + 3 =35.
i did the same things like you. at where am i wrong? can you help me? thanks,
also thanks for the video, it is great :)
try using decimal or float
Thanks, i put comma and i solved it. Actually i asked this mounts ago 😁😁😁
whats se off any loop in a calculator
how can make same thing on window 10 os
Basically I suddest you go back do Calcudda driving a daxi.
which software name...?
visual studio
it's the Indian guy!
to clear the 0...this worked for me
if (txtResult.Text == "0")
txtResult.Text = String.Empty;
how to calculate modulus on this
How do I make a design?
nise video but idont have visual
50 gb ONLY
@@Kenji-ug5bo you don't need to download all of 50 gb
Where to complete the explanation??!!
Is the coding done in C++ or C-Sharp?? Anyone plz tell me
C# brother
Gino N Thanks buddy😊😊
Part two video =th-cam.com/video/X67eC9jf2uE/w-d-xo.html
0System.Windows.Forms.Button, Text: 1 whys this showing on the text box when i click the button????
This activity task is worth 100 points 😭
nice video but could have been shortened by practicing it first XD it was quite too long and it got a little boring no offence just stating
This is very helpfully for me but this is not complete😩
+ProgrammingKnowledge mra nae aa rha mra buttons get krny ki bjaye buton word print kr rha :(
É bem normal né....
Inclusive, quanto pior é melhor.
you can help me
i see you have some knowledge about arduino 3:20
how to use delegate?