title
How to Make a Calculator in C# Windows Form Application Part-1
description
Source code - http://www.codebind.com/c-sharp/make-calculator-c-windows-form-application/
★★★Top Online Courses From ProgrammingKnowledge ★★★
Python Programming Course ➡️ http://bit.ly/2vsuMaS ⚫️ http://bit.ly/2GOaeQB
Java Programming Course ➡️ http://bit.ly/2GEfQMf ⚫️ http://bit.ly/2Vvjy4a
Bash Shell Scripting Course ➡️ http://bit.ly/2DBVF0C ⚫️ http://bit.ly/2UM06vF
Linux Command Line Tutorials ➡️ http://bit.ly/2IXuil0 ⚫️ http://bit.ly/2IXukt8
C Programming Course ➡️ http://bit.ly/2GQCiD1 ⚫️ http://bit.ly/2ZGN6ej
C++ Programming Course ➡️ http://bit.ly/2V4oEVJ ⚫️ http://bit.ly/2XMvqMs
PHP Programming Course ➡️ http://bit.ly/2XP71WH ⚫️ http://bit.ly/2vs3od6
Android Development Course ➡️ http://bit.ly/2UHih5H ⚫️ http://bit.ly/2IMhVci
C# Programming Course ➡️ http://bit.ly/2Vr7HEl ⚫️ http://bit.ly/2W6RXTU
JavaFx Programming Course ➡️ http://bit.ly/2XMvZWA ⚫️ http://bit.ly/2V2CoAi
NodeJs Programming Course ➡️ http://bit.ly/2GPg7gA ⚫️ http://bit.ly/2GQYTQ2
Jenkins Course For Developers and DevOps ➡️ http://bit.ly/2Wd4l4W ⚫️ http://bit.ly/2J1B1ug
Scala Programming Tutorial Course ➡️ http://bit.ly/2PysyA4 ⚫️ http://bit.ly/2PCaVj2
Bootstrap Responsive Web Design Tutorial ➡️ http://bit.ly/2DFQ2yC ⚫️ http://bit.ly/2VoJWwH
MongoDB Tutorial Course ➡️ http://bit.ly/2LaCJfP ⚫️ http://bit.ly/2WaI7Ap
QT C++ GUI Tutorial For Beginners ➡️ http://bit.ly/2vwqHSZ
★★★ Online Courses to learn ★★★
Get 2 FREE Months of Unlimited Classes from skillshare - https://skillshare.eqcm.net/r1KEj
Data Science - http://bit.ly/2lD9h5L | http://bit.ly/2lI8wIl
Machine Learning - http://bit.ly/2WGGQpb | http://bit.ly/2GghLXX
Artificial Intelligence - http://bit.ly/2lYqaYx | http://bit.ly/2NmaPya
MERN Stack E-Degree Program - http://bit.ly/2kx2NFe | http://bit.ly/2lWj4no
DevOps E-degree - http://bit.ly/2k1PwUQ | http://bit.ly/2k8Ypfy
Data Analytics with R - http://bit.ly/2lBKqz8 | http://bit.ly/2lAjos3
AWS Certification Training - http://bit.ly/2kmLtTu | http://bit.ly/2lAkQL1
Projects in Java - http://bit.ly/2kzn25d | http://bit.ly/2lBMffs
Machine Learning With TensorFlow - http://bit.ly/2m1z3AF | http://bit.ly/2lBMhnA
Angular 8 - Complete Essential Guide - http://bit.ly/2lYvYRP
Kotlin Android Development Masterclass - http://bit.ly/2GcblsI
Learn iOS Programming Building Advance Projects - http://bit.ly/2kyX7ue
★★★ Follow ★★★
My Website - http://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#
detail
{'title': 'How to Make a Calculator in C# Windows Form Application Part-1', 'heatmap': [{'end': 852.916, 'start': 768.632, 'weight': 0.743}], 'summary': "This tutorial series demonstrates creating a basic c# calculator using windows form application with division, multiplication, subtraction, and addition functionalities, as well as customization of the calculator's design, automating button click events, and creating a program to handle arithmetic operations and display updates.", 'chapters': [{'end': 163.849, 'segs': [{'end': 66.883, 'src': 'embed', 'start': 3.911, 'weight': 0, 'content': [{'end': 11.278, 'text': "hello, guys, in this video i'm going to show you how to create a simple calculator using your c sharp windows form application.", 'start': 3.911, 'duration': 7.367}, {'end': 18.284, 'text': "so i'm going to show you how to make this kind of a calculator which can perform your basic operation of division, multiplication,", 'start': 11.278, 'duration': 7.006}, {'end': 27.212, 'text': 'subtraction and addition, and in addition, we will have these two buttons called clear entry and clear button,', 'start': 18.284, 'duration': 8.928}, {'end': 31.965, 'text': 'and i will also show you how to add to decimal number.', 'start': 28.664, 'duration': 3.301}, {'end': 39.168, 'text': 'for example, you want to add 3.3 plus 12.5.', 'start': 31.965, 'duration': 7.203}, {'end': 48.711, 'text': 'you could do that using this calculator and it will show this pending result here in a label.', 'start': 39.168, 'duration': 9.543}, {'end': 58.621, 'text': 'so when i want to do some operation, you see it shows me this Pending a value in this label here', 'start': 48.711, 'duration': 9.91}, {'end': 66.883, 'text': "This also I'm going to show you and Basically I want to make this calculator like a window Calculator,", 'start': 58.901, 'duration': 7.982}], 'summary': 'Create a c# calculator with basic operations and decimal numbers.', 'duration': 62.972, 'max_score': 3.911, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iJqB6UsM-hs/pics/iJqB6UsM-hs3911.jpg'}, {'end': 163.849, 'src': 'embed', 'start': 98.684, 'weight': 2, 'content': [{'end': 106.565, 'text': 'this will be a windows form application project and i will name it as calculator.', 'start': 98.684, 'duration': 7.881}, {'end': 119.709, 'text': 'okay, click, ok, i will create a project for you and we have this project.', 'start': 106.565, 'duration': 13.144}, {'end': 123.553, 'text': 'i will make it little bit bigger.', 'start': 119.709, 'duration': 3.844}, {'end': 129.58, 'text': 'and the first thing i want to do is i want to open this form at the center.', 'start': 123.553, 'duration': 6.027}, {'end': 140.934, 'text': "so, for example, whenever i open this windows calculator let's see calculator it opens at the center of your window right.", 'start': 129.58, 'duration': 11.354}, {'end': 149.498, 'text': 'and the second thing you notice here is you cannot maximize your calculator right, you cannot resize it.', 'start': 140.934, 'duration': 8.564}, {'end': 152.66, 'text': "so these two things i'm going to show you first.", 'start': 149.498, 'duration': 3.162}, {'end': 157.042, 'text': 'and the third thing is how to add a icon to your calculator.', 'start': 152.66, 'duration': 4.382}, {'end': 158.683, 'text': "so let's see how we can do it.", 'start': 157.042, 'duration': 1.641}, {'end': 163.849, 'text': 'first of all, the disabling of this maximize button.', 'start': 158.683, 'duration': 5.166}], 'summary': 'Creating a windows form calculator project with center opening, fixed size, and added icon.', 'duration': 65.165, 'max_score': 98.684, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iJqB6UsM-hs/pics/iJqB6UsM-hs98684.jpg'}], 'start': 3.911, 'title': 'Creating a simple c# calculator', 'summary': 'Demonstrates how to create a basic c# calculator using windows form application, allowing for division, multiplication, subtraction, and addition, along with the functionality to add decimal numbers and include clear entry and clear buttons.', 'chapters': [{'end': 163.849, 'start': 3.911, 'title': 'Creating a simple c# calculator', 'summary': 'Demonstrates how to create a basic c# calculator using windows form application, allowing for division, multiplication, subtraction, and addition, along with the functionality to add decimal numbers and include clear entry and clear buttons.', 'duration': 159.938, 'highlights': ['The chapter explains the process of creating a basic C# calculator using Windows form application, enabling operations for division, multiplication, subtraction, and addition, alongside clear entry and clear buttons.', 'Demonstrates the addition of decimal numbers like 3.3 plus 12.5, showcasing the pending result in a label and the ability to perform operations.', 'Illustrates the steps to open the form at the center, restrict maximizing and resizing the calculator, and adding an icon to the calculator.', 'Details the initial steps of creating a new project for the Windows form application and setting up the project to open at the center and disabling maximizing and resizing.']}], 'duration': 159.938, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iJqB6UsM-hs/pics/iJqB6UsM-hs3911.jpg', 'highlights': ['The chapter explains the process of creating a basic C# calculator using Windows form application, enabling operations for division, multiplication, subtraction, and addition, alongside clear entry and clear buttons.', 'Demonstrates the addition of decimal numbers like 3.3 plus 12.5, showcasing the pending result in a label and the ability to perform operations.', 'Illustrates the steps to open the form at the center, restrict maximizing and resizing the calculator, and adding an icon to the calculator.', 'Details the initial steps of creating a new project for the Windows form application and setting up the project to open at the center and disabling maximizing and resizing.']}, {'end': 360.782, 'segs': [{'end': 198.601, 'src': 'embed', 'start': 163.849, 'weight': 1, 'content': [{'end': 175.097, 'text': "so select your form here and search for the property called maximize box, and by default, it's true, you need to make it false.", 'start': 163.849, 'duration': 11.248}, {'end': 187.958, 'text': 'so just make it false and then, in order to make or open your project or this form in the center,', 'start': 175.097, 'duration': 12.861}, {'end': 198.601, 'text': "go to the property called start position and by default, it's window default and make this property as center screen.", 'start': 187.958, 'duration': 10.643}], 'summary': "Change 'maximize box' property to false and set 'start position' to center screen.", 'duration': 34.752, 'max_score': 163.849, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iJqB6UsM-hs/pics/iJqB6UsM-hs163849.jpg'}, {'end': 332.142, 'src': 'embed', 'start': 231.855, 'weight': 0, 'content': [{'end': 235.256, 'text': 'so search for the property called form bordering style.', 'start': 231.855, 'duration': 3.401}, {'end': 242.68, 'text': "first of all, select this and search for the property called form bordering style, and by default it's sizable.", 'start': 235.256, 'duration': 7.424}, {'end': 245.641, 'text': 'you need to make it fixed dialog.', 'start': 242.68, 'duration': 2.961}, {'end': 250.523, 'text': 'okay, so make it fixed dialog and once again run your program.', 'start': 245.641, 'duration': 4.882}, {'end': 253.264, 'text': 'and now i cannot resize my form.', 'start': 250.523, 'duration': 2.741}, {'end': 262.922, 'text': 'okay, so these three things we have achieved now the icon for this form and the name.', 'start': 253.264, 'duration': 9.658}, {'end': 271.068, 'text': 'also okay, so the windows calculator has the name calculator and this icon.', 'start': 262.922, 'duration': 8.146}, {'end': 272.249, 'text': 'okay, so we will.', 'start': 271.068, 'duration': 1.181}, {'end': 274.111, 'text': 'we are going to do that.', 'start': 272.249, 'duration': 1.862}, {'end': 280.555, 'text': "select your form and go to the property called text, and by default it's form one.", 'start': 274.111, 'duration': 6.444}, {'end': 286.605, 'text': 'make it calculator calculator.', 'start': 280.555, 'duration': 6.05}, {'end': 290.106, 'text': 'so you can see calculator here and the icon.', 'start': 286.605, 'duration': 3.501}, {'end': 301.27, 'text': 'okay, so you can choose this icon from if you have some icon for your calculator and I will show you how to easily get an icon.', 'start': 290.106, 'duration': 11.164}, {'end': 303.991, 'text': 'you can find this icon online very easily.', 'start': 301.27, 'duration': 2.721}, {'end': 322.64, 'text': 'I found I have, or I generally go to one site called icon archive and this has so many items or icons and many other things,', 'start': 303.991, 'duration': 18.649}, {'end': 332.142, 'text': 'and i will search for the calculator and i will find these kind of icons of the calculator.', 'start': 322.64, 'duration': 9.502}], 'summary': 'Modified form bordering style to fixed dialog, changed form name to calculator and added an icon.', 'duration': 100.287, 'max_score': 231.855, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iJqB6UsM-hs/pics/iJqB6UsM-hs231855.jpg'}], 'start': 163.849, 'title': 'Windows form design and calculator customization', 'summary': "Covers modifying windows form design settings to center screen with disabled maximize and resizing options, as well as customizing the windows calculator by changing its name to 'calculator,' adding an icon, and obtaining icons from websites like icon archive.", 'chapters': [{'end': 262.922, 'start': 163.849, 'title': 'Windows form design and settings', 'summary': 'Explains how to modify the maximize box, set the start position to center screen, and disable form resizing, resulting in a form opening in the center with disabled maximize and resizing options.', 'duration': 99.073, 'highlights': ["By setting the maximize box property to false, the form's maximize button is disabled.", 'Changing the start position property to center screen ensures the form opens in the center.', 'Setting the form bordering style property to fixed dialog prevents resizing of the form.']}, {'end': 360.782, 'start': 262.922, 'title': 'Customizing windows calculator', 'summary': "Demonstrates how to customize the windows calculator by changing its name to 'calculator,' adding an icon, and obtaining icons from websites like icon archive.", 'duration': 97.86, 'highlights': ["The chapter shows how to change the name of the Windows calculator to 'calculator' and add an icon, providing a more personalized touch to the application.", 'It provides guidance on obtaining icons for the calculator from websites like icon archive, allowing for easy customization and personalization of the application.']}], 'duration': 196.933, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iJqB6UsM-hs/pics/iJqB6UsM-hs163849.jpg', 'highlights': ['Setting the form bordering style property to fixed dialog prevents resizing of the form.', "By setting the maximize box property to false, the form's maximize button is disabled.", 'Changing the start position property to center screen ensures the form opens in the center.', "The chapter shows how to change the name of the Windows calculator to 'calculator' and add an icon, providing a more personalized touch to the application.", 'It provides guidance on obtaining icons for the calculator from websites like icon archive, allowing for easy customization and personalization of the application.']}, {'end': 625.57, 'segs': [{'end': 526.362, 'src': 'embed', 'start': 392.055, 'weight': 0, 'content': [{'end': 402.861, 'text': "you can make it other settings also, and i'm going to change the font size of this button also to, for example, bold 14.", 'start': 392.055, 'duration': 10.806}, {'end': 407.077, 'text': 'okay, so it will look good now.', 'start': 402.861, 'duration': 4.216}, {'end': 410.46, 'text': 'basically, all these buttons are same in size.', 'start': 407.077, 'duration': 3.383}, {'end': 413.383, 'text': 'just we need to change the text of these buttons.', 'start': 410.46, 'duration': 2.923}, {'end': 417.106, 'text': 'and one more important thing is the name of this button.', 'start': 413.383, 'duration': 3.723}, {'end': 426.195, 'text': "I'm leaving this, these names, as default, but if you want to, you know, make your project perfect.", 'start': 417.106, 'duration': 9.089}, {'end': 433.74, 'text': 'you need to change this name to logical names because I have time constraint.', 'start': 426.195, 'duration': 7.545}, {'end': 439.02, 'text': "that's why I'm not changing this, but please change these button names according to the logical name.", 'start': 433.74, 'duration': 5.28}, {'end': 453.263, 'text': 'for example, for this button1, you can just name it as button1 or button1, something like this.', 'start': 439.02, 'duration': 14.243}, {'end': 457.124, 'text': 'okay. so change it like this.', 'start': 453.263, 'duration': 3.861}, {'end': 463.109, 'text': "and what I'm going to do is I'm going to copy this button, just copy it and paste it.", 'start': 457.124, 'duration': 5.985}, {'end': 466.831, 'text': 'okay, and once more paste it.', 'start': 463.109, 'duration': 3.722}, {'end': 479.196, 'text': 'and we need a row of five buttons like this, and i will copy these, this row of five buttons, and once again paste this.', 'start': 466.831, 'duration': 12.365}, {'end': 481.637, 'text': 'and i will just settle it here.', 'start': 479.196, 'duration': 2.441}, {'end': 487.539, 'text': 'once again, paste it, settle it just below that and paste it, and settle it just below that.', 'start': 481.637, 'duration': 5.902}, {'end': 494.496, 'text': "i'll resize this form a little and okay.", 'start': 488.593, 'duration': 5.903}, {'end': 498.878, 'text': 'now i will just change the text of these buttons.', 'start': 494.496, 'duration': 4.382}, {'end': 503.521, 'text': 'so this starts from here.', 'start': 498.878, 'duration': 4.643}, {'end': 514.447, 'text': 'so, as you can see here, this zero button is a little bit bigger and this, um, this button is a little bit bigger, right, equal to button.', 'start': 503.521, 'duration': 10.926}, {'end': 516.868, 'text': 'so i will change it like that.', 'start': 514.447, 'duration': 2.421}, {'end': 524.761, 'text': 'this will be like this and this will be like this.', 'start': 517.717, 'duration': 7.044}, {'end': 526.362, 'text': "and now I'm going to change the text.", 'start': 524.761, 'duration': 1.601}], 'summary': 'Changing button settings, names, and layout to create a row of five buttons, with font size set to bold 14.', 'duration': 134.307, 'max_score': 392.055, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iJqB6UsM-hs/pics/iJqB6UsM-hs392055.jpg'}], 'start': 360.782, 'title': 'Designing user interface buttons', 'summary': 'Covers adding buttons, setting names, creating a row of five buttons, resizing forms, and enhancing user interface design, emphasizing logical naming and clear organization.', 'chapters': [{'end': 453.263, 'start': 360.782, 'title': 'Adding buttons and setting names', 'summary': 'Demonstrates adding buttons in a user interface, setting their size and font, and emphasizing the importance of logical naming for the buttons.', 'duration': 92.481, 'highlights': ['The importance of logical naming for buttons is emphasized due to time constraints, underlining the significance of naming conventions for project perfection.', 'The process of adding buttons and changing their properties, including size and font, is demonstrated for creating a visually appealing user interface.', 'Instructions are given for changing the button size to 45 by 45, and the font size to bold 14, ensuring uniformity in the appearance of the buttons.']}, {'end': 625.57, 'start': 453.263, 'title': 'Creating a row of buttons', 'summary': 'Documents the process of creating a row of five buttons and resizing a form, with accompanying details of changing button text and adding operators, resulting in a clear and organized user interface design.', 'duration': 172.307, 'highlights': ['The process involves copying and pasting buttons to create a row of five buttons, followed by resizing the form for better visibility.', 'The text of the buttons is changed sequentially from 0 to 9, with the addition of a point, and operators such as plus, minus, multiplication, and division are included.', "The 'equal to' and 'clear' buttons are also modified to improve the user interface design."]}], 'duration': 264.788, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iJqB6UsM-hs/pics/iJqB6UsM-hs360782.jpg', 'highlights': ['Instructions for changing button size to 45 by 45 and font size to bold 14', 'Copying and pasting buttons to create a row of five buttons', 'Emphasis on logical naming for buttons due to time constraints', 'Text of buttons changed sequentially from 0 to 9 with additional symbols', "Modifying 'equal to' and 'clear' buttons to enhance user interface design"]}, {'end': 859.618, 'segs': [{'end': 747.354, 'src': 'embed', 'start': 625.57, 'weight': 0, 'content': [{'end': 634.469, 'text': 'okay, so now we have all the buttons And now we need our text box.', 'start': 625.57, 'duration': 8.899}, {'end': 641.373, 'text': "So I'm going to go to my toolbox and take a text box to show the result and entries.", 'start': 634.509, 'duration': 6.864}, {'end': 649.918, 'text': 'Right So I mean, take a text box here and resize this text box.', 'start': 641.793, 'duration': 8.125}, {'end': 654.38, 'text': "And I'm going to take a label.", 'start': 652.719, 'duration': 1.661}, {'end': 660.884, 'text': 'So take a label, drag and drop here.', 'start': 658.122, 'duration': 2.762}, {'end': 667.708, 'text': "for now I'm not changing the text in the label, but yeah, you can change it.", 'start': 662.185, 'duration': 5.523}, {'end': 673.35, 'text': 'just select both of these labels and text and go to font.', 'start': 667.708, 'duration': 5.642}, {'end': 678.012, 'text': 'and we are going to change this font also as bold 14.', 'start': 673.35, 'duration': 4.662}, {'end': 682.174, 'text': 'okay, so we can see the text.', 'start': 678.012, 'duration': 4.162}, {'end': 684.475, 'text': 'you can change the label.', 'start': 682.174, 'duration': 2.301}, {'end': 686.516, 'text': 'background also.', 'start': 684.475, 'duration': 2.041}, {'end': 703.754, 'text': 'just select your label and go to the property called background here.', 'start': 686.516, 'duration': 17.238}, {'end': 706.914, 'text': 'so background by default is something like grey.', 'start': 703.754, 'duration': 3.16}, {'end': 718.561, 'text': 'I want to make it white so that it can resemble with our text box color and the name of this text box.', 'start': 706.914, 'duration': 11.647}, {'end': 722.604, 'text': 'i will name change the name as text box.', 'start': 718.561, 'duration': 4.043}, {'end': 727.206, 'text': 'underscore result.', 'start': 722.604, 'duration': 4.602}, {'end': 731.308, 'text': 'okay, so i have these things now.', 'start': 727.206, 'duration': 4.102}, {'end': 737.392, 'text': 'now what i need to do here is i need to have the button entry.', 'start': 731.308, 'duration': 6.084}, {'end': 739.833, 'text': 'so, for example, i press some button.', 'start': 737.392, 'duration': 2.441}, {'end': 743.355, 'text': 'it should print that entry to the text box right.', 'start': 739.833, 'duration': 3.522}, {'end': 747.354, 'text': 'so basically, you can do it like this.', 'start': 744.193, 'duration': 3.161}], 'summary': 'Creating a user interface with buttons, text box, and labels, and formatting them with font and background color.', 'duration': 121.784, 'max_score': 625.57, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iJqB6UsM-hs/pics/iJqB6UsM-hs625570.jpg'}, {'end': 859.618, 'src': 'heatmap', 'start': 768.632, 'weight': 1, 'content': [{'end': 783.641, 'text': "but you can double click this button also, and i'm going to define this button click event as, for example, button underscore.", 'start': 768.632, 'duration': 15.009}, {'end': 787.663, 'text': 'click and just press this.', 'start': 783.641, 'duration': 4.022}, {'end': 791.625, 'text': 'or just enter, press enter and you will reach to this button.', 'start': 787.663, 'duration': 3.962}, {'end': 803.043, 'text': 'click, event of this uh button right and here you can write or you can print the text on the text box.', 'start': 791.625, 'duration': 11.418}, {'end': 806.865, 'text': 'for example, you want to print the text on this text box.', 'start': 803.043, 'duration': 3.822}, {'end': 817.029, 'text': 'take the name of this text box, which is text box result dot.', 'start': 806.865, 'duration': 10.164}, {'end': 824.933, 'text': 'text is equal to whatever is this text plus.', 'start': 817.029, 'duration': 7.904}, {'end': 828.349, 'text': 'plus is a concatenation operator.', 'start': 825.908, 'duration': 2.441}, {'end': 838.392, 'text': 'so you can do like this, because we are adding one and if you see here, by default this text box has zero.', 'start': 828.349, 'duration': 10.043}, {'end': 840.232, 'text': "so i'm going to change this.", 'start': 838.392, 'duration': 1.84}, {'end': 846.214, 'text': 'just select your text box and go to text and we write zero here.', 'start': 840.232, 'duration': 5.982}, {'end': 847.214, 'text': 'so it shows zero.', 'start': 846.214, 'duration': 1}, {'end': 852.916, 'text': 'but this zero is on the left hand side and this text box is on the right hand side.', 'start': 847.214, 'duration': 5.702}, {'end': 857.938, 'text': 'so just select this and go to the property called text align.', 'start': 852.916, 'duration': 5.022}, {'end': 859.618, 'text': "by default, it's left.", 'start': 857.938, 'duration': 1.68}], 'summary': 'Demonstrating button click event and text manipulation in programming.', 'duration': 75.977, 'max_score': 768.632, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iJqB6UsM-hs/pics/iJqB6UsM-hs768632.jpg'}], 'start': 625.57, 'title': 'Creating buttons, text box, and button click events', 'summary': 'Covers the creation of buttons, text boxes, and labels, along with resizing and formatting instructions. it also explains the process of creating a button click event to print text on a text box in a programming environment, emphasizing the steps involved and the use of the concatenation operator.', 'chapters': [{'end': 706.914, 'start': 625.57, 'title': 'Creating buttons and text box', 'summary': 'Demonstrates the process of creating buttons, text box, and labels, along with instructions for resizing and formatting, using a specific font and size.', 'duration': 81.344, 'highlights': ['The process of creating buttons, text box, and labels is demonstrated, along with instructions for resizing and formatting.', 'Instructions for changing the font to bold 14 are provided.', 'Guidance for changing the label background is given.']}, {'end': 859.618, 'start': 706.914, 'title': 'Creating button click events', 'summary': 'Illustrates the process of creating a button click event to print text on a text box in a programming environment, emphasizing the steps involved and the use of the concatenation operator.', 'duration': 152.704, 'highlights': ["The process involves setting the text box color to white to resemble the text box color, and renaming the text box to 'text box_result', followed by the addition of a button entry to enable printing to the text box upon clicking the button.", 'The chapter emphasizes the selection of a button and defining its click event, either through the property box or by double-clicking the button, and then proceeding to write the event to print text on the text box, demonstrating the use of the concatenation operator for adding text to the existing content of the text box.', "Instructions are provided for adjusting the default text of the text box to 'zero' and aligning it within the text box using the 'text align' property, demonstrating the practical implementation of these adjustments within the programming environment."]}], 'duration': 234.048, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iJqB6UsM-hs/pics/iJqB6UsM-hs625570.jpg', 'highlights': ['The process of creating buttons, text box, and labels is demonstrated, along with instructions for resizing and formatting.', 'The chapter emphasizes the selection of a button and defining its click event, either through the property box or by double-clicking the button, and then proceeding to write the event to print text on the text box, demonstrating the use of the concatenation operator for adding text to the existing content of the text box.', "Instructions for adjusting the default text of the text box to 'zero' and aligning it within the text box using the 'text align' property, demonstrating the practical implementation of these adjustments within the programming environment.", 'Instructions for changing the font to bold 14 are provided.', 'Guidance for changing the label background is given.', "The process involves setting the text box color to white to resemble the text box color, and renaming the text box to 'text box_result', followed by the addition of a button entry to enable printing to the text box upon clicking the button."]}, {'end': 1038.338, 'segs': [{'end': 948.12, 'src': 'embed', 'start': 917.372, 'weight': 0, 'content': [{'end': 926.975, 'text': 'click event by clicking going to this events and click event and copy this method which i have provided, which is button click.', 'start': 917.372, 'duration': 9.603}, {'end': 936.318, 'text': 'just copy this method or this event, whatever you want to say it, and just go to all the numbers, where I will start from zero.', 'start': 926.975, 'duration': 9.343}, {'end': 940.979, 'text': 'just select this zero text box and go to the event.', 'start': 936.318, 'duration': 4.661}, {'end': 946.5, 'text': 'click in this property and paste your same event button.', 'start': 940.979, 'duration': 5.521}, {'end': 948.12, 'text': 'click here.', 'start': 946.5, 'duration': 1.62}], 'summary': 'Method for handling click event on button, starting from zero.', 'duration': 30.748, 'max_score': 917.372, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iJqB6UsM-hs/pics/iJqB6UsM-hs917372.jpg'}, {'end': 1038.338, 'src': 'embed', 'start': 995.685, 'weight': 1, 'content': [{'end': 999.186, 'text': 'this object contains the sender of this button.', 'start': 995.685, 'duration': 3.501}, {'end': 1001.807, 'text': 'click, just take this sender.', 'start': 999.186, 'duration': 2.621}, {'end': 1017.793, 'text': 'so just go to button, click event and here write button and we name our object as button is equal to, and we will cast this object to the button.', 'start': 1001.807, 'duration': 15.986}, {'end': 1026.652, 'text': 'So just write sender and we will cast it to button.', 'start': 1018.968, 'duration': 7.684}, {'end': 1038.338, 'text': 'Okay And now once we have this button, we can just change this static text to the button text.', 'start': 1027.172, 'duration': 11.166}], 'summary': 'Code snippet: casting sender object to button for click event handling.', 'duration': 42.653, 'max_score': 995.685, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iJqB6UsM-hs/pics/iJqB6UsM-hs995685.jpg'}], 'start': 859.618, 'title': 'Automating button click events', 'summary': 'Explains how to automate the click event for multiple buttons by copying the button click method and assigning it to each button, achieving the functionality for all numbers and points in a program.', 'chapters': [{'end': 1038.338, 'start': 859.618, 'title': 'Automating button click events', 'summary': 'Explains how to automate the click event for multiple buttons by copying the button click method and assigning it to each button, thus achieving the functionality for all numbers and points in a program.', 'duration': 178.72, 'highlights': ['The chapter demonstrates automating the button click event for all numbers and the point by copying the button click method and pasting it for each button, providing a streamlined process for achieving the desired functionality.', 'It is explained that by using the sender object in the button click event, the text from the clicked button can be captured and transferred to a designated text box.']}], 'duration': 178.72, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iJqB6UsM-hs/pics/iJqB6UsM-hs859618.jpg', 'highlights': ['Demonstrates automating button click event for all numbers and point by copying method for each button', 'Explains using sender object in button click event to capture and transfer text to designated text box']}, {'end': 1234.337, 'segs': [{'end': 1074.254, 'src': 'embed', 'start': 1042.201, 'weight': 0, 'content': [{'end': 1054.457, 'text': 'Okay, Now when we run the program and when we click anything one, two, three, four or any number or point,', 'start': 1042.201, 'duration': 12.256}, {'end': 1063.705, 'text': 'it will be printed like this one more thing you can do here is whenever I click any button here,', 'start': 1054.457, 'duration': 9.248}, {'end': 1069.209, 'text': "the zero goes and this number comes right or by default it's zero.", 'start': 1063.705, 'duration': 5.504}, {'end': 1074.254, 'text': 'but whenever I click any number, it goes, zero goes and six comes.', 'start': 1069.209, 'duration': 5.045}], 'summary': 'Program prints numbers when clicked, replacing zero with the number, 6 appears on clicking any number.', 'duration': 32.053, 'max_score': 1042.201, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iJqB6UsM-hs/pics/iJqB6UsM-hs1042201.jpg'}, {'end': 1231.815, 'src': 'embed', 'start': 1123.825, 'weight': 1, 'content': [{'end': 1129.288, 'text': 'so this will clear my this zero whenever I click some number.', 'start': 1123.825, 'duration': 5.463}, {'end': 1147.03, 'text': 'now I want to achieve the same operation or I want to achieve the plus, minus and this multiplication and division for the operation to perform.', 'start': 1131.619, 'duration': 15.411}, {'end': 1158.998, 'text': 'so what I can do is like I have done for the number of buttons, I can make a single method for all these operations.', 'start': 1147.03, 'duration': 11.968}, {'end': 1176.119, 'text': 'so what i can do is i can select my first plus operator, go to this, click event of this operator and i will say operator, click event,', 'start': 1159.853, 'duration': 16.266}, {'end': 1185.563, 'text': 'underscore click and just double click it or press enter and we reach to the operator.', 'start': 1176.119, 'duration': 9.444}, {'end': 1186.703, 'text': 'click event.', 'start': 1185.563, 'duration': 1.14}, {'end': 1188.124, 'text': 'same operator click event.', 'start': 1186.703, 'duration': 1.421}, {'end': 1192.18, 'text': 'we will make for minus, multiplication and division.', 'start': 1188.124, 'duration': 4.056}, {'end': 1197.445, 'text': 'just copy this operator, go to the minus button, paste there,', 'start': 1192.18, 'duration': 5.265}, {'end': 1207.013, 'text': 'go to the multiplication button and paste there in the click event and once again go to the division button and paste there.', 'start': 1197.445, 'duration': 9.568}, {'end': 1216.404, 'text': 'okay, so whenever i press any button for the this plus, minus or multiplication division,', 'start': 1207.013, 'duration': 9.391}, {'end': 1231.815, 'text': 'this will or we also are going to catch the button action and we will just take this like this here and we want to store this button operation in some variable.', 'start': 1216.404, 'duration': 15.411}], 'summary': 'Creating a method to handle arithmetic operations for buttons in java gui.', 'duration': 107.99, 'max_score': 1123.825, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iJqB6UsM-hs/pics/iJqB6UsM-hs1123825.jpg'}], 'start': 1042.201, 'title': 'Creating a calculator program', 'summary': 'Discusses creating a program for a calculator, including handling button clicks, updating display, and performing arithmetic operations for plus, minus, multiplication, and division, aiming to achieve the same functionality for different operations and clearing the display when necessary.', 'chapters': [{'end': 1158.998, 'start': 1042.201, 'title': 'Creating calculator program', 'summary': 'Discusses creating a program for a calculator, including handling button clicks, updating display, and performing arithmetic operations, aiming to achieve the same functionality for different operations and clearing the display when necessary.', 'duration': 116.797, 'highlights': ['The program updates the display when a button is clicked, showing the corresponding number or operation, with the ability to clear the display when necessary.', 'The functionality aims to achieve the same operation for plus, minus, multiplication, and division, similar to the number buttons, by creating a single method for all these operations.']}, {'end': 1234.337, 'start': 1159.853, 'title': 'Operator click events and button actions', 'summary': 'Explains how to create click events for operator buttons, paste the operator click event for plus, minus, multiplication, and division buttons, and store the button operation in a variable at the top of the class.', 'duration': 74.484, 'highlights': ['The process involves selecting the first plus operator, creating a click event for the operator, and pasting the operator click event for minus, multiplication, and division buttons.', 'The button action is caught whenever a plus, minus, multiplication, or division button is pressed, and the button operation is stored in a variable at the top of the class.']}], 'duration': 192.136, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iJqB6UsM-hs/pics/iJqB6UsM-hs1042201.jpg', 'highlights': ['The program updates the display when a button is clicked, showing the corresponding number or operation, with the ability to clear the display when necessary.', 'The functionality aims to achieve the same operation for plus, minus, multiplication, and division, similar to the number buttons, by creating a single method for all these operations.', 'The process involves selecting the first plus operator, creating a click event for the operator, and pasting the operator click event for minus, multiplication, and division buttons.', 'The button action is caught whenever a plus, minus, multiplication, or division button is pressed, and the button operation is stored in a variable at the top of the class.']}], 'highlights': ['Demonstrates automating button click event for all numbers and point by copying method for each button', 'The program updates the display when a button is clicked, showing the corresponding number or operation, with the ability to clear the display when necessary', 'Illustrates the steps to open the form at the center, restrict maximizing and resizing the calculator, and adding an icon to the calculator', 'Instructions for changing button size to 45 by 45 and font size to bold 14', 'The chapter explains the process of creating a basic C# calculator using Windows form application, enabling operations for division, multiplication, subtraction, and addition, alongside clear entry and clear buttons']}