Friday, 14 November 2014



4)  You are designing a GUI application with a window and several widgets on it. The user then resizes the app window and sees a lot of grey space, while the widgets stay in place. What’s the problem?
ANS)One should use anchoring for correct resizing. Otherwise the default property of a widget on a form is top-left, so it stays at the same location when resized. 


5)  So how do you retrieve the customized properties of a .NET application from XML .config file?

 ANS)   Initialize an instance of AppSettingsReader class. Call the GetValue method of AppSettingsReader class, passing in the name of the property and the type expected. Assign the result to the appropriate variable. 

No comments:

Post a Comment

Popular Posts