Winforms Interview questions

Winforms Interview questions
1)What base class do all Web Forms inherit from?
2)What is the difference between Debug.Write and Trace.Write? When should each be used?
3)Difference between Anchor and Dock Properties?
4)Can you write a class without specifying namespace? Which namespace does it belong to by default??
5)You are designing a GUI application with a windows 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?
6)How can you save the desired properties of Windows Forms application?
7)So how do you retrieve the customized properties of a .NET application from XML .config file?
8)What’s the safest way to deploy a Windows Forms app?
9)Why is it not a good idea to insert code into InitializeComponent method when working with Visual Studio?
10)What’s the difference between WindowsDefaultLocation and WindowsDefaultBounds?
11)What’s the difference between Move and LocationChanged? Resize and SizeChanged?
12)How would you create a non-rectangular window, let’s say an ellipse?
13)How do you create a separator in the Menu Designer?
14)How’s anchoring different from docking?
15)How do you trigger the Paint event in System.Drawing?

No comments:

 
Top Blogs