TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Robert Wells
NA
3
0
Using a ref parameter in a form constructor
May 13 2010 1:30 PM
First of all, this is my first post to this forum, so before I start I would like to thank all of you that contribute their time and expertise toward helping others!
I am trying to figure out how to get a reference parameter to an object passed to a form class constructor and have access to it within other methods in the form class.
I can get the access to the objects' address in the constructor method using ref and modify the original object there with no problem. What I really need to do is get the same access to the object in the other methods in the form class. Seems no matter what I do this is impossible. Pointers variables are not allowed to point to reference types correct? I must be overlooking something very obvious as this must be a very common scenario. Any help would be much appreciated.
Bob
Reply
Answers (
2
)
CAN ANYONE HELP PLEASE
How Do I: Change a DataGridView from a Class called?