Click here to Skip to main content
15,885,365 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I decided to move on C# from VB.NET and i discover that there are not the events listed above on the form bar like in VB.NET for example form events: LOAD, FORMCLOSING, KEYPRESS, KEYDOWN, MOVE etc.
Does c# doesnt have this automated features or what? if so could someone refer me to a website which shows an example of manually adding an event or quick write such an example
thanks in advance Begi,
Posted
Comments
Paw Jershauge 24-Nov-12 17:01pm    
Events are shown in the property bag on the right side.
Sergey Alexandrovich Kryukov 7-Dec-12 16:13pm    
What do you mean by "listed"?
--SA

1 solution

I have asked the same question when I moved from VB to C#.Here are simple examples:-

http://msdn.microsoft.com/en-us/library/zwwsdtbk(v=vs.110).aspx
http://sharpertutorials.com/basics-of-windows-forms-applications

To Connect Multiple Events to a Single Event Handler in Windows Forms(VB and C#) refer this:-
http://msdn.microsoft.com/en-us/library/3exstx90.aspx
 
Share this answer
 
Comments
[no name] 25-Nov-12 15:07pm    
Thanks that works, btw i will still stick to VB as it is easy to code and its a pro when using VBScript and it is on a par with c# apart from the negative name "BASIC"
VB has a better syntax as this sh***y syntax of C# which looks out of date, but the only one thing i wanted to learn is, that it will help me understanding other languages as C++ which i have respect for and for its equal PHP Syntax
Sergey Alexandrovich Kryukov 7-Dec-12 16:13pm    
It is not easier; and is not standard, unlike C#. You are missing something very basic in programming, but I cannot understand what...
--SA
_Natula 14-Dec-12 17:22pm    
I agree with Sergy comment.I am a C# Developer.Whenever I am assigned on VB project, it takes me a while to remember VB's syntax unlike other language.for me it is easy to work on C#,Java,C++....at the same time since they have similarity.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900