void gkh_KeyDown(object sender, KeyEventArgs e)
{
if ((e.KeyCode == System.Windows.Forms.Keys.LControlKey) && (e.KeyCode == System.Windows.Forms.Keys.O))
{
Direct3DVersion direct3DVersion = Direct3DVersion.AutoDetect;
CaptureConfig cc = new CaptureConfig()
{
Direct3DVersion = direct3DVersion,
ShowOverlay = cbDrawOverlay.Checked
};
}
}
When i press on left ctrl + o i want that the first time cbDrawOverlay will be checked: cbDrawOverlay.Checked but if i press on it same keys again then make it unchecked how can i do it ?