Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# 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 9:31am
Comments
Paw Jershauge at 24-Nov-12 17:01pm
   
Events are shown in the property bag on the right side.
Sergey Alexandrovich Kryukov at 7-Dec-12 16:13pm
   
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 at 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 at 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
HabeshaMan at 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
0 OriginalGriff 6,045
1 DamithSL 4,601
2 Maciej Los 4,087
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,260


Advertise | Privacy | Mobile
Web04 | 2.8.141220.1 | Last Updated 24 Nov 2012
Copyright © CodeProject, 1999-2014
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