????? ?????? ?????? ???? ???? ????? ???? ?????? ENTER ??? ????? ???? ???? ToolStripComboBox ??? ????? ????? Windows ?????? .NET Framework 2.0

?????? ????????? ?????? ?????????
???? ???????: 905720 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

???????

??? ????? ???? ???? ToolStripComboBox ??? Microsoft Windows ??????? ??????? ???? ?????? Microsoft .NET Framework 2.0 ????? ?????? ?????? ???? ???? ????? ???? ?????? ??? ENTER.

?????

???? ??? ??????? ???? ToolStripComboBox ?????? ????? ???? ?? ????? ??? ????? AcceptsReturn ???? ????? ????????? ?????? ?? ???? ???????? ENTER.

???? ??????

??????? ?????? ??? ??? ??????? ?????? ???? ????? ???????:
  • ????? ????? ??? KeyUp ?????? ToolStripComboBox. ?????? ????? ?????? ?????? ?????? ?????? ??? ??????? ????????? ???????? ??????.
    private void toolStripComboBox1_KeyUp(object sender, KeyEventArgs e)
    {
    	if (e.KeyData == Keys.Enter)
    	{
    		MessageBox.Show("ENTER");
    	};
    } 
  • ????? ???? ???? ToolStripComboBox ???? ?????? ???? ???? ????? ???? ????. ?? ??? ???? ???? ????? ???? ???? "? ????? ????? IsInputKey ??????? ??????? ENTER. ?????? ????? ?????? ?????? ?????? ?????? ??? ??????? ????????? ???????? ??????.
    protected override bool IsInputKey(System.Windows.Forms.Keys keyData)
    {
    	if(keyData == Keys.Enter){
    		return true;
    	}else{
    		return false;
    	}
    }

?????

???? Microsoft ?? ??? ????? ?? ?????? Microsoft ??????? ?? ??? "????? ???".

??????? ????

????? ?? ????????? ??? ??? ToolStripComboBox ?? ?????? ???? ???? ????? Microsoft (MSDN) ?????? ??? ?????:
http://msdn2.microsoft.com/en-us/library/system.windows.forms.toolstripcombobox.aspx

???????

???? ???????: 905720 - ????? ??? ??????: 23/?? ??????/1428 - ??????: 1.2
????? ???
  • Microsoft .NET Framework 2.0
????? ??????: 
kbmt kbprogramming kbinfo kbbug kbtshoot kbprb KB905720 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????905720

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com