The uniform way from a windows form to get an icon, if that is indeed what you're aiming at is:
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
Now you do not have to get that icon object from a resource file of cause.
Not sure if this is what you ask, what type of application is it in your project?
the notation in vb.net is something like Me.Icon = cast(resource.getobject(...) as Icon) if i remember correctly but you can find a ton of language online translations more able ;)