Forum guidelines
AuthorQuestion
What does sender mean?
Posted on: 17 Oct 2004
Hi All, I am beginner of VB.NET, pls can anyone tell what sender mean in the code below. Thks Dim trkSpeed As TrackBar = CType(sender, TrackBar)
AuthorReply
Re: What does sender mean?
Posted on: 18 Oct 2004  
In the .net documentation, you will find that CType will take an object as first argument (in your case it's sender), and get/return the object type identified as the second argument (in your case it's TrackBar).
Employers - Post Free Jobs

SPONSORED BY

Custom Software Development
MCN is your source for developing solutions involving websites, mobile apps, cloud-computing, databases, BI, back-end services and processes and client-server applications.