Thank you, Greg, it works.
But the new script file does not appear in the project explorer of MSE. It seems this file is read only when the form is opened in design mode. I close a form every time when I need to edit and save the additional script. Is it possible to open it in read-write mode during designing the form?