Yet another homework assignment

Timer Component: Use a Timer component to update the stopwatch display at regular intervals.Variables: Create variables to store the start time of the stopwatch and the elapsed time.Screen Switching: Handle the screen switching events, such as when the screen is closed or another screen is opened, by storing the current elapsed time and start time.Application Closing: Handle the application closing event to ensure the stopwatch continues counting until explicitly stopped.