我想反回一个快捷键的类型.
如:
public bool Key(Keys vk)
{}
我在下面用它:
Key(Keys.D);
问题是,我想返回的快捷键希望不光只是一个D,是这样的
CTRL + C
但是在Keys.的属性里没有这样的值.求大家的帮助.
如:
public bool Key(Keys vk)
{}
我在下面用它:
Key(Keys.D);
问题是,我想返回的快捷键希望不光只是一个D,是这样的
CTRL + C
但是在Keys.的属性里没有这样的值.求大家的帮助.
protected void MaskEdit_KeyDown(object sender, KeyEventArgs e)
{
string s_temp = _Text;
this._iposadd = 0;
if(e.Shift )
{
if (e.KeyCode == Keys.Left || e.KeyCode == Keys.Right )
return;
}
else
{
if(e.Control )
{
if(e.KeyCode ==Keys.C)
{
e.Handled = true;
this.CopyClipBoard();
}
if(e.KeyCode ==Keys.V )
{
e.Handled = true;
this.PasteClipBoard();
}
if(e.KeyCode ==Keys.Z )
{..............