User Profile

Collapse

Profile Sidebar

Collapse
sekhar123276
sekhar123276
Last Activity: Sep 13 '07, 09:04 PM
Joined: Sep 5 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • sekhar123276
    replied to Object Sharing across forms in C#
    in .NET
    Thanks for your reply.When you are making a int or string as member of that class then you can easily share those using static but when an object is the class member variable then you can't share it that way. So I was looking something to share the object across the project....
    See more | Go to post

    Leave a comment:


  • sekhar123276
    started a topic Object Sharing across forms in C#
    in .NET

    Object Sharing across forms in C#

    Hi,

    I want to declare objects that several source files can use.(similar to C++ extern storage class specifier ). I know that I can pass ref to every single object(winforms ) will do but I was woundering is there any other work around ?

    Using static class members I can share the variables but can't share the objects ? Please advice.

    Thanks,
    Sekhar
    See more | Go to post
No activity results to display
Show More
Working...