G
Guest
Hi all,
I render different views of the same data using different forms (coincise
view, detailed view and so forth...), and I would like to avoid to fill in
the table adapters going back and forth among views.
The forms are built using standard components (dataset, datagrid,
bindingSource, bindingNavigator...).
The problem is that every time you modify the form the designer regenerates
the form.InitializeComponent, allocating new objects for the bindingsource,
dataset, etc.
So how can I share a dataset among different windows forms, avoiding to
manage by hand the InitializeComponent ?
Any suggestion would be appreciated.
I render different views of the same data using different forms (coincise
view, detailed view and so forth...), and I would like to avoid to fill in
the table adapters going back and forth among views.
The forms are built using standard components (dataset, datagrid,
bindingSource, bindingNavigator...).
The problem is that every time you modify the form the designer regenerates
the form.InitializeComponent, allocating new objects for the bindingsource,
dataset, etc.
So how can I share a dataset among different windows forms, avoiding to
manage by hand the InitializeComponent ?
Any suggestion would be appreciated.