protected virtual void RaiseSaveState(Dictionary<string, object> loaddata) { LoadState handler = SaveState; if (handler != null) handler(loaddata); }