title: Maximize C# Application from System Tray using Keyboard Shortcut
body: <p>Can I know if there is anyway that I can maximise my windows form application from the system tray using say a Keyboard Shortcut rather than clicking on it?</p>
  
  <p>I am currently minimizing using this piece of code</p>
  
  <pre><code>//Minimize to Tray with over-ride for short cut
  private void MinimiseToTray(bool shortCutPressed)
  {
      notifyIcon.BalloonTipTitle = "Minimize to Tray App";
      notifyIcon.BalloonTipText = "You have successfully minimized your app.";
  
      if (FormWindowState.Minimized == this.WindowState || shortCutPressed)
      {
          notifyIcon.Visible = true;
          notifyIcon.ShowBalloonTip(500);
          this.Hide();
      }
      else if (FormWindowState.Normal == this.WindowState)
      {
          notifyIcon.Visible = false;
      }
  }
  </code></pre>
  
  <p>Hence, I need a keyboard shortcut that should maximize it. Much thanks!</p>