private void HookPersistentWindowState() { windowState = new PersistWindowState(); windowState.Parent = this; // set registry path in HKEY_CURRENT_USER windowState.RegistryPath = @"Software\ThoughtWorks\CCTray\Windows\BuildParameter"; }
private void HookPersistentWindowState() { windowState = new PersistWindowState(this); windowState.RegistryPath = @"Software\ThoughtWorks\CCTray\Windows\CCTrayMultiSettingsForm"; windowState.LoadState += OnLoadState; windowState.SaveState += OnSaveState; }
private void HookPersistentWindowState() { windowState = new PersistWindowState(); windowState.Parent = this; // set registry path in HKEY_CURRENT_USER windowState.RegistryPath = @"Software\ThoughtWorks\CCTray"; windowState.LoadState += OnLoadState; windowState.SaveState += OnSaveState; }