HeapProfiler.MainWindow.LoadPersistedValues C# (CSharp) Method

LoadPersistedValues() protected method

protected LoadPersistedValues ( ) : void
return void
        protected void LoadPersistedValues()
        {
            if (!Registry.CurrentUser.SubKeyExists("Software\\HeapProfiler"))
                return;

            using (var key = Registry.CurrentUser.OpenSubKey("Software\\HeapProfiler"))
            foreach (var pc in PersistedControls)
                pc.Value = key.GetValue(ChooseName(pc), pc.Value);
        }
MainWindow