Exemplo n.º 1
0
        public void Load(IPersistStream stream)
        {
            if (_app == null) return;

            try
            {
                Guid guid = new Guid(stream.Load("GUID") as string);
                ITool tool = _app.Tool(guid);

                if (!(tool is IPersistable)) return;
                ((IPersistable)tool).Load(stream);
            }
            catch { }
        }