Hi!I would like to have only one BrowseDialog for all my BO's on my form so my question is how do I set the the BD's properties in code?
i.e. in the click event for the browse button of the form I would like to do something like:
if (this.ActiveBO is CustomerBO)
{
this.browseDialog.SomeProperty = "CustomerSomeValue"
this.browseDialog.SomeOtherProperty = "CustomerSomeOtherValue"
etc.
}
else if (this.ActiveBO is OrderBO)
{
this.browseDialog.SomeProperty = "OrderSomeValue"
this.browseDialog.SomeOtherProperty = "OrderSomeOtherValue"
etc.
}
Is this the right way or is their an easier/cleaner way to do this
Sarosh