WindowRestorer TrackWindow Method CleanCode C# Libraries v1.2.03 API
Tracks a form's window state and position.

Namespace: CleanCode.Forms
Assembly: CleanCode (in CleanCode.dll) Version: (1.2.03)

public void TrackWindow()

This remembers changes as they occur. (If you were instead to only record the state and position on closing the form, it would not work if the application was minimized or maximized.) At closing, simply transfer the WindowPosition and WindowState to your persistent setting store.
See Also