Exemplo n.º 1
0
 /// <summary>
 /// Open a document.
 /// </summary>
 object CadKit.Interfaces.IDocumentOpen.open(string file, object caller)
 {
     CadKit.Interfaces.IDocumentNew creator = (CadKit.Interfaces.IDocumentNew) this;
     CadKit.Interfaces.IFileOpen    reader  = (CadKit.Interfaces.IFileOpen)(creator.create(caller));
     reader.open(file, caller);
     return(reader);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Open a document.
 /// </summary>
 object CadKit.Interfaces.IDocumentOpen.open(string file, object caller)
 {
     // Re-entrant! Do not lock the mutex!
     CadKit.Interfaces.IDocumentNew creator = (CadKit.Interfaces.IDocumentNew) this;
     CadKit.Interfaces.IFileOpen    reader  = (CadKit.Interfaces.IFileOpen)(creator.create(caller));
     reader.open(file, caller);
     return(reader);
 }