Designer code also seems to crash once you do anything 'dangerous' like opening a remoting object or opening a file. Don't do that by checking the IsDesignMode property you can google.
vrijdag 25 juni 2010
Hiding items from designer code
UI objects hosted in a panel/form get a lot of designer code added to set properties to 'default' values. Setting those properties to Visibility Hidden or supplying a DefaultValue makes sure the designer code won't call those properties.
Designer code also seems to crash once you do anything 'dangerous' like opening a remoting object or opening a file. Don't do that by checking the IsDesignMode property you can google.
Designer code also seems to crash once you do anything 'dangerous' like opening a remoting object or opening a file. Don't do that by checking the IsDesignMode property you can google.
Abonneren op:
Reacties posten (Atom)
Geen opmerkingen:
Een reactie posten