Showing posts with label INTERVIEW QUESTIONS -DOTNET WINDOWS FORMS. Show all posts
Showing posts with label INTERVIEW QUESTIONS -DOTNET WINDOWS FORMS. Show all posts

Friday, 14 November 2014

Interview Questions .NET Windows Forms

Can you automate this process?
ANS) In Visual Studio yes, use Dynamic Properties for automatic .config creation, storage and retrieval.



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. 

2)Can you write a class without specifying namespace? Which namespace does it belong to by default??
              Yes, you can, then the class belongs to global namespace which has no name. For commercial                products, naturally, you wouldn’t want global namespace
1)Write a simple Windows Forms MessageBox statement.
       System.Windows.Forms.MessageBox.Show  ("Hello, Windows Forms");
 

Popular Posts