예제 #1
0
        // on show each window
        public static WindowStateSaver ConfigureWindow(string windowKey, Window window, ISaverData data)
        {
            var settings = new WindowStateSaver(windowKey, window, data);

            settings.Configure();
            return(settings);
        }
예제 #2
0
 private WindowStateSaver(string key, Window window, ISaverData data)
 {
     _key    = key;
     _window = window;
     _data   = data;
 }