Click here to Skip to main content
12,405,543 members (61,731 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# VB VB.NET
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 24-Nov-12 8:31am
bEGI232.9K
Comments
Paw Jershauge 24-Nov-12 17:01pm
   
Events are shown in the property bag on the right side.
   
What do you mean by "listed"?
--SA

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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
  Permalink  
Comments
begi21 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
   
It is not easier; and is not standard, unlike C#. You are missing something very basic in programming, but I cannot understand what...
--SA
HabeshaMan 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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 24 Nov 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100