Placing code in the Form_Load Event of the main form will run that code when the shortcut is 2x clicked.