Hi @Ethan
I use a map control to load a shape map file, I use the map control method SaveState and LoadState.
code:
private byte[] mapState;
private void save_Click(object sender, RoutedEventArgs e)
{
mapState = MapControl.SaveState();
}
private void load_Click(object sender, RoutedEventArgs e)
{
if(mapState != null)
{
MapControl.LoadState(mapState);
}
}
The saved state can be successful, but there is an empty reference error when loading.
regards,
ZhangMing.