In C# use a Short Cut Key
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
{
if (keyData == (Keys.Alt | Keys.M))
{
this.WindowState = FormWindowState.Minimized;
}
Else if()
return base.ProcessCmdKey(ref msg, keyData);
}
In C# use a Short Cut Key
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
{
if (keyData == (Keys.Alt | Keys.M))
{
this.WindowState = FormWindowState.Minimized;
}
Else if()
return base.ProcessCmdKey(ref msg, keyData);
}
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Dorababu MekaPosted Jan 7, 2013, 7:27 AM