protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
{
if (keyData == (Keys.Control | Keys.Tab) && !chkLock.Checked)
{
object sender = null;
EventArgs e = null;
switch (Input_Select)
{
case 0:
tabLab1_Click(sender, e);
break;
case 1:
tabLable2_Click(sender, e);
break;
case 2:
tabLab3_Click(sender, e);
break;
case 3:
tabLab4_Click(sender, e);
break;
case 4:
tabLabSystem_Click(sender, e);
break;
}
}
if (keyData == (Keys.Tab | Keys.Control | Keys.Shift) && !chkLock.Checked)
{
object sender = null;
EventArgs e = null;
switch (Input_Select)
{
case 0:
tabLab4_Click(sender, e);
break;
case 1:
tabLabSystem_Click(sender, e);
break;
case 2:
tabLab1_Click(sender, e);
break;
case 3:
tabLable2_Click(sender, e);
break;
case 4:
tabLab3_Click(sender, e);
break;
}
}
return base.ProcessCmdKey(ref msg, keyData);
}