You can use the load event to delegate processing when the form is opened.

Select the Form’s title bar and add an event.