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.
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.
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❤️
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.
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 !
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!
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 + "."; } } }
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
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...
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.
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.
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...
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
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
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?
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.
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 :)
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.
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
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❤️
Super clear and easy to follow! Thanks for helping million studends around the world!
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.
Please give me part 2 tutorial..❤❤
part two = th-cam.com/video/X67eC9jf2uE/w-d-xo.html
Thank You. I was able to get my assignment done before class.
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
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!
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
Great tuto..Sir...By using C# We can Make 2d and 3d game on Unity game engine. Unity is free.
you use much time for making this application
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
perfect but need explaination for your codes
Your lesson is helpful
Nice tutorial where is part ii?
thank you sir,
sir how we sum, subtract and other operation of negative numbers in calculator ?
please make on this video
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...
16:33 - could you please explain that to me again? I dont really understand the syntax and what it means.
Part 1- Design little Scripting filling events Part 2-Full Scripting filling events more
is this tutorial using an OOP concept?
old but gold
8:07 Usten we are ready for lift off...
Good video I wish it was completed, how can I have the rest of the information.
Thanks :)
thank u man u saved me
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.
Thanks. Good knowledge on c#.
not complete video but still a video has much information
th-cam.com/video/oJt2FnN0_sM/w-d-xo.html
i don't understand what he is saying but i understand what he is doing...
What app are you using to make the calculator...
he use visual studio
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!
GR8 stuff. Just subscribed, now i hope to learn how to make a web browser :)
Inshallah, you will!
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...
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!
Thanks so much MAN
Thank you
Really great Videos, thank you very much keep up the good work!
Thankx a lot .but the video is not finish
Can you put the sources of this please?
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
Thanks for this valuable piece of knowledge. Subbed and liked.
Thank u soooooo muchhhh sir. You are great
How we do it practically.. How to make its programming as in input form after printed we see our created calculator
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..
Can you program a calculator with 3 text boxes n with number buttons?
ProgrammingKnowledge please add tutorial C#
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
put on 1.5x speed
Thanks dude
what is the use of Button
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.....
Thank you so much
Where to complete the explanation??!!
Which framework were used in this tutorial Please answer
+
did you find the answer?
it's the Indian guy!
This is very helpfully for me but this is not complete😩
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
i see you have some knowledge about arduino 3:20
You should put the file in description not code.
thanks
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
Basically I suddest you go back do Calcudda driving a daxi.
Where is part 2?
jesa TV ke screen par logo working kar tea hai vo coding software kase banea gea ose kea coding kea hai
to clear the 0...this worked for me
if (txtResult.Text == "0")
txtResult.Text = String.Empty;
how to use delegate?
how to calculate modulus on this
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
Broo thanks!
0System.Windows.Forms.Button, Text: 1 whys this showing on the text box when i click the button????
which software name...?
visual studio
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
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
thank u much information
th-cam.com/video/oJt2FnN0_sM/w-d-xo.html
working
How do I make a design?
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
thank u sir
Thank you for your valuable set of knoweledge you help mie a lot i appreciate
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.
i don't know what is that right srtange thing that you type in the code. i mean that d in the code.
nice love it
disculpa como puedo programar en visual una imagen echa en flash para q me de movimiento en windows form c#?
+ProgrammingKnowledge mra nae aa rha mra buttons get krny ki bjaye buton word print kr rha :(
to me text box is mising i dont have it at toolbox
Try reinstalling your Visual Studio
Umm what is your version compare to him
programmingKnowledge
It is addressed herein are the only.
whats se off any loop in a calculator
how can make same thing on window 10 os
second line .text; error
thank you so muchhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
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 😁😁😁
It doesnt work in 2021 so find another video
nise video but idont have visual
50 gb ONLY
@@Kenji-ug5bo you don't need to download all of 50 gb
Is the coding done in C++ or C-Sharp?? Anyone plz tell me
C# brother
Gino N Thanks buddy😊😊
you can help me
this guy uses underscores "_" in C# what a programmingnoob
AWESOME!!!!
thks all af you to heply
Bhai muze koi sub de na c language ka mera project hai jisme hume apne ideas use karne hai
Yoo....hindi boiii use english know one knows your stupid language!