N
navilon
In my project I have several different forms that need access to the
same datasets, table adapters and binding sources. I have created a
static class called 'Globals.cs' which contains one of each. The
problem is that none of my forms recognize them. It's as if it will
only see instances within its own class.
Maybe I'm going about this the wrong way, it just seems redundant to
have every form have an instance of a dataset, table adapter and
binding source. Any information would be much appreciated.
Thanks,
Simon
same datasets, table adapters and binding sources. I have created a
static class called 'Globals.cs' which contains one of each. The
problem is that none of my forms recognize them. It's as if it will
only see instances within its own class.
Maybe I'm going about this the wrong way, it just seems redundant to
have every form have an instance of a dataset, table adapter and
binding source. Any information would be much appreciated.
Thanks,
Simon