brijesh prajapati

brijesh prajapati

  • NA
  • 158
  • 16.9k

In c# global ShortCut Key

Jan 7 2013 7:08 AM

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);

        }


Answers (1)