• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1977
  • Last Modified:

What are some good WinForms ASP.NET 2.0 interview questions?

I will be getting my second and final phone screen tomorrow for a job that's WinForms and C#.  I have been working with both for about 6 years, but can always learn more.  And given that I really need this job, figure there's no time like the present to learn more.

Could you folks think up some questions which might force me to open up my O'Reilly C# book to read it again?

Thanks,
newbieweb
0
newbieweb
Asked:
newbieweb
  • 4
  • 2
1 Solution
 
Bob LearnedCommented:
0
 
newbiewebAuthor Commented:
Hi Bob,

Those are some pretty tough questions.  Most are for ASP.NET though.

I guess I asked for that in my question, but this is the WinForms part of the interview.  Have you got a WinForms subset?

Thanks,
newbieweb
0
 
Bob LearnedCommented:
Hmmm...let's see...

1) How do you prevent serialization of certain child controls in your Composite Control?

2) How can you implement a scrollable picture box?

3) How can you prevent a control from getting a particular keystroke?

4) How can you tell if an ALT, Shift or CTL key is pressed without catching an event?

5) How do you add a context menu to a control?

6) How can you drag a window if it doesn't have a title bar or border?

7) How do you draw a line in VB7 as there is no Line command as there was in VB6?

8) How do you print a form?

9) How do you read embedded resources?

10) Is there an easy way to Create/Delete/Move files in the Windows File System?

11) The MessageBox always appears in the center of the screen. How can I change it's location?

12) How do you beep the computer's speaker in a Windows Form application?

13) What is the purpose of the [STA Thread] attribute for the Main method of a C# program?

14) How can you display HTML in a Form?

15) How do you implement Drag and Drop support between ListBoxes?

16) How do you bind the values of an enum to a ComboBox?

17) How do you display checkboxes in the nodes of a TreeView?

18) How can you put a bitmap or icon on a button face?

19) How do you programmatically select a Tab Page?

20) How can you disable the right-click context menu in a TextBox?

21) How do you change the cursor for a control?

22) How do you implement a smooth ProgressBar?

23) How do you prevent users from resizing a form?

24) How do you change an application's icon?

25) How can you tell if a form is closed from the control box (system menu) or from a call to Form.Close?

26) How can you display a form that is always on top?

27) How do you prevent a user from moving a form at run time?

28) Can you host Windows Forms control on Internet Explorer?


0
Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

 
newbiewebAuthor Commented:
Bob,

Wow!  These are tough questions!  I thought WinForms was my strength?!

Do you have the answer page for these too?  I got about three right.

newbieweb
0
 
Bob LearnedCommented:
Ok, so you need answers, huh?  I could provide that, or I could provide you with the source for my questions, and a great Windows Forms resource:

Windows Forms FAQ
http://www.syncfusion.com/faq/windowsforms/default.aspx
0
 
Bob LearnedCommented:
You didn't say what job level, so I thought you wanted tough, senior-level questions.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now