Wednesday, November 16, 2011

My.Resources in C#

The equivalent of:


in VB.NET is:


in C#.


Me.Icon = My.Resources.AppIcon

in VB.NET is equivalent to:

this.Icon = Properties.Resources.App_Icon;

in C#.

1 comment:

Smart Future said...

hi buddy
your blog is very impression, sorry I put comment here, because I try search about login vbnet tutorial is not available, could you kindly make tutorial login form connect database mysql with md5, function admin & user different access.. maybe this is a joke because you are developer expert, but I need your help. sorry if I'm bother you, thank you.