public void RemoveState(Type type) { lock (_padLock) { PersistedDockStateCfg.Current.RemoveState(type); PersistedDockStateCfg.Save(); } }
public void AddState(Type type, AddInDockState state) { lock (_padLock) { PersistedDockStateCfg.Current.AddState(type, state); PersistedDockStateCfg.Save(); } }