C# Programming Tutorials: Beginners 05 Windows Forms and Event Handlers


Part of the series of tutorials on programming C# for beginners

Takes a quick look at Windows Forms creating a basic calculator UI and hooks in button event handlers


Xem Thêm Bài Viết Khác:https://wijstaanvooronzegrondrechten.org/cong-nghe


  1. wow yes its great that your good at explaining but your the third tutorial ive been looking trought and you also didnt have what i wanted to know

  2. Oh Dang just from the first minute of this I understand Front End Dev Headaches/Stress. I mostly work with scientists/engineers so making something absolutely beautiful isnt the full priority in my work timeframe. If a project does get pushed back for some reason then yeah I can make it prettier but otherwise functionality is priority

  3. For me, windows forms have one necessary feature that WPF doesn't have. Charts. As I know, there are third party charts for WPF… either free or fast. Not booth.

  4. Thank you so much! I encountered a problem. When I try Ctrl+C/V to copy buttons , instead of filling the cell I clicked, it automatically added a new row and fill it.

  5. A bit too complicated for some reason… you'd think it would be easy but for some reason, my Form1.cs was extremely different from your Form1.cs code.

  6. What is a safe choice for WPF and forms for maximum Windows compatibility, such as Windows 2016 server, Windows 2019 server, Windows 7, Windows 10, and Windows 10 IOT?
    Is that compatibility narrow the programming language choices?

  7. Hello sir, can we do multithreading in winforms? Is it advisable ?
    I am making an application to load excel file to a database.
    I have already created an excel vba application to export the data to sql server database. But because of new business requirements we decided to create an winforms application using datagridview to display excelsheet where user can add some data and the upload it. I am building it but its very slow, any advise would be appreciated. Thank you in advance

  8. Thank you for taking the time to share your knowledge! You show how the Click events are wired in the code but I didn't see where the keyboard events were auto generated. What does that code look like? Does pressing escape simply call the CEButton.Click event or should there be a properly named CEButton.EscapeKey event?

  9. Hi guys, I am looking to develop in C# but I want to have a light-weight editor (IDE). Visual Studio seems the ideal IDE but, I do find it too heavy for a laptop I guess. So what would you guys reccomend?

  10. Dear all, I am a total newbie here, I would like to ask you guys that is it possible for me to learn creating window form application without learning about coding console application. ? Thanks all,

  11. Bro, I am having a problem in my Windows Form's Toolbox. I am using Visual Studio 2017, and while working on a project I found that there are no labels, textboxes, checkboxes, and other input controls. Please help me regarding this thing. As it is not possible to develop a calculator, without textboxes and labels.

  12. Hey 😉 Would you use WinForms for very simple application that needs to run fast? I decided to go WinForms route (instead of WPF), but what's your take on that? The application is used to display a small image every few seconds.

  13. These are some very good videos. I have been following them from number 1 and I will make my way to the WPF ones. In the past, I just didn't get time to attempt them, but now I can have a blast at them!

    One suggestion that I would make, would be to set up challenges. So for example, you set a challenge (in the video), tell the user to pause the video. Attempt the challenge and then compare their outcome with yours. I have found that it really helps and it makes the video much more dynamic. But these are some great videos.

    Let me know what you think,


Please enter your comment!
Please enter your name here