private void dataGridView1_MouseMove(object sender, MouseEventArgs e)
 {
     //注销Id号为100的热键设定
     HotKeysManager.UnregisterHotKey(Handle, 100);
     //注销Id号为101的热键设定
     HotKeysManager.UnregisterHotKey(Handle, 101);
 }
 private void dataGridView1_MouseEnter(object sender, EventArgs e)
 {
     //注册热键Ctrl+C,Id号为100。。
     HotKeysManager.RegisterHotKey(Handle, 100, HotKeysManager.KeyModifiers.Ctrl, Keys.C);
     //注册热键Ctrl+V,Id号为101。
     HotKeysManager.RegisterHotKey(Handle, 101, HotKeysManager.KeyModifiers.Ctrl, Keys.V);
 }
 private void gbMemu_Leave(object sender, EventArgs e)
 {
     //注销Id号为100的热键设定
     HotKeysManager.UnregisterHotKey(Handle, 100);
     //注销Id号为101的热键设定
     HotKeysManager.UnregisterHotKey(Handle, 101);
 }
 private void dgvResult_MouseLeave(object sender, EventArgs e)
 {
     //注销Id号为100的热键设定
     HotKeysManager.UnregisterHotKey(Handle, 100);
     //注销Id号为101的热键设定
     HotKeysManager.UnregisterHotKey(Handle, 101);
 }
 private void FrmProductsFullSearch_MouseEnter(object sender, EventArgs e)
 {
     //注册热键Ctrl+C,Id号为100。。
     HotKeysManager.RegisterHotKey(Handle, 100, HotKeysManager.KeyModifiers.Ctrl, Keys.C);
     //注册热键Ctrl+V,Id号为101。
     HotKeysManager.RegisterHotKey(Handle, 101, HotKeysManager.KeyModifiers.Ctrl, Keys.V);
 }
 private void FrmProductsFullSearch_MouseLeave(object sender, EventArgs e)
 {
     //注销Id号为100的热键设定
     HotKeysManager.UnregisterHotKey(Handle, 100);
     //注销Id号为101的热键设定
     HotKeysManager.UnregisterHotKey(Handle, 101);
 }