For Answers, see/post comments

How can I re-use an object created in designer?

Ok say I have one form where I create some DataSet (in the visual editor, so it appears at the bottom). Now I want to re-use that exact same instance in a different control, so that I can see it in the visual editor as well (so I can easily bind it to any properties).How can I achieve that?Biggest problem is that I can't figure out a way to prevent VS2005 from instantiating any objects you create in the visual editor, so 2 DataSets = two separate instances. Any suggestions? Or am I gonna have to bind ever freaking control by hand?

No comments: