How to Make a Calculator in C# Windows Form Application Part-1

preview_player
Показать описание

★★★Top Online Courses From ProgrammingKnowledge ★★★

★★★ Online Courses to learn ★★★

★★★ Follow ★★★

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
Автор

Super clear and easy to follow! Thanks for helping million studends around the world!

adrianv.
Автор

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❤️

anupamadhermal
Автор

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.

totteold
Автор

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 !

SandraManssson
Автор

Very informative. Thank you. I like your teaching style ; patient and un-hurried.

youpattube
Автор

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.

Eincrou
Автор

16:33 - could you please explain that to me again? I dont really understand the syntax and what it means.

XpertPilotFSX
Автор

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...

spbs-thkw
Автор

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!

JimVincitore
Автор

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...

AHSArnulf
Автор

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

logicaltroller
Автор

is this tutorial using an OOP concept?

kiranam
Автор

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

kelvinmama
Автор

perfect but need explaination for your codes

harshidjethwa
Автор

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..

ARATHINIBIN.
Автор

Thank You. I was able to get my assignment done before class.

booboobeni
Автор

What app are you using to make the calculator...

ketovix
Автор

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 + ".";
}

}
}

kriswingateshellsing
Автор

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

gardencityplastererslimite