mirror of
https://github.com/fadden/6502bench.git
synced 2024-11-25 14:34:27 +00:00
96a92f0335
This change pulls in the settings file code, which is mostly unchanged except when it comes to saving and restoring the window location and size. The old system has been replaced with a PInvoke-based version that calls the underlying Win32 window placement code. This is more likely to be correct when multiple displays are in use, and can record the un-maximized size of a maximized window. It leaves a nasty XML string embedded in the config file, but it's not really meant to be human-readable anyway. The sub-window dividers all work completely differently from the way they did in WinForms, and some of the behavior is a bit obscure (like noticing when a splitter moves due to keyboard input, and setting the position in a way that doesn't break the auto-sizing). Yay WPF. Still need to preserve column widths. |
||
---|---|---|
.. | ||
Properties | ||
CommonWPF.csproj | ||
InverseBooleanConverter.cs | ||
MultiKeyInputGesture.cs | ||
WindowPlacement.cs | ||
WPFExtensions.cs |