.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
satyapriyanayak
Subhransu Sekhar Jena
abhays
SP
DotnetUser


Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.


Post New Question Subscribe to Interview Questions
 
Quick Links For Interview Questions Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  OOPs  JQuery  JavaScript/VBScript
BiztalkPatten/PracticesIISWCFWPFWWF
NetworkingAptitudeOthers  All    
 

Windows Application Interview Questions and Answers

How can you display a default value in the text box of an input box?

Author: Subhransu Sekhar Jena          Posted Date: October 30, 2014    Category: Windows Application     Points: 40

You can display a default value in the text box of an input box by using the DefaultResponse argument of the InputBox() function.

How is anchoring different from docking?

Author: Subhransu Sekhar Jena          Posted Date: October 30, 2014    Category: Windows Application     Points: 40

Docking refers to attaching a control to either an edge (top, right, bottom, or left) or the client area of the parent control. On the other hand, anchoring is a process in which you need to specify the distance that each edge of your control maintains from the edges of the parent control.

Which method is used to generate the click event of the Control class for the Button control in C#?

Author: Subhransu Sekhar Jena          Posted Date: October 30, 2014    Category: Windows Application     Points: 40

The PerformClick() method of the Button class is used to generate the Click event of the System.Windows.Forms.Control class.

How can we display an icon or a bitmap image on the Button control?

Author: Subhransu Sekhar Jena          Posted Date: October 30, 2014    Category: Windows Application     Points: 40

The Button class contains the Image property, which is used to set an image on the Button control. We can also set the alignment of the image by using the ImageAlign property of the Button class.

How can we auto size a button to fit its text?

Author: Subhransu Sekhar Jena          Posted Date: October 30, 2014    Category: Windows Application     Points: 40

The Button control has the AutoSize property, which can be set to true or false. If we set the value of the AutoSize property to true, then the button control automatically alters its size according to the content displayed on it.

Difference Between LinkedLabel Clicked event and LinkedLabel LinkClicked event

Author: Narayanan          Posted Date: April 10, 2013    Category: Windows Application     Points: 40

No difference ,between LinkedLabel Clicked event and LinkedLabel LinkClicked event.
If you use two Events in your Project ,LinkedLabel Clicked event triggers,LinkedLabel LinkClicked event doesn't trigger.

Is it possible to use Keychar value in Keyup Event?

Author: Narayanan          Posted Date: August 16, 2012    Category: Windows Application     Points: 40

Yes , Use keyvalue

what are the ShoutCut Keys worked in the TextBox when Developer Specify ShoutCut Key for TextBox?

Author: Narayanan          Posted Date: August 08, 2012    Category: Windows Application     Points: 40

CTRL +H = Remove Last Character.
CTRL +Z = Select All Charaters/Last Character in TextBox.
CTRL +X = Cut selected Charaters in TextBox.
CTRL +C = Copy Selected Charaters in TextBox.
CTRL +P = Paste Selected Charaters in TextBox.

Difference between CellvalueChanged and Cellvalidating?

Author: Narayanan          Posted Date: July 26, 2012    Category: Windows Application     Points: 40

The DataGridView.CellValidating event occurs when a cell loses input focus, enabling content validation.So, when you add a new value to the cell, the cellvalidating will not get the new value you've entered, but an old value. Because the new value hasn't been committed.
DataGridView.CellValueChanged: Occurs when a cell loses input focus, enabling content validation.
The DataGridView.CellValueChanged event occurs when the user-specified value is committed, which typically occurs when focus leaves the cell.
This event may get the new value when you leave to edit the current cell in your DataGridView. And it will not get an empty string if you enter some characters in the cell.
« Previous123Next »



Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend