Tracks a form's window state and position.
Namespace: CleanCode.FormsAssembly: CleanCode (in CleanCode.dll) Version: 1.2.3.0 (1.2.03)
public void TrackWindow()
public void TrackWindow()
public:
void TrackWindow()
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.