
Appendix B: Customizing MapXtreme
Location of Application Data Files
MapXtreme v7.1 489 Developer Guide
public IWorkspaceManagerNotifications Load(IWorkspaceManager
callback)
{
_callback = callback;
Microsoft.Win32.RegistryKey key = _callback.GetRegistryKey();
string s = (string)key.GetValue("RecentFiles");
if (s != null && s.Length > 0)
{
try
{
string[] files = s.Split('|');
callback.LoadWorkspace(files[0]);
}
catch { }
}
key.Close();
return null; // returning because we don’t need the
notifications
}
public void Unload()
{
// nothing to clean up
}
public bool HasPropertiesDialog
{
get { return false; }
}
public void ShowPropertiesDialog(IWin32Window owner)
{
throw new NotImplementedException();
}
}
Location of Application Data Files
Any MapXtreme application uses data stored in the following files.
File Type Filename
Abbreviation file MAPINFOW.ABB
Pen file MAPINFOW.PEN
Comentarios a estos manuales