当引用的两个Pas里面有相同的类名是,如果不注明是哪个单元的,Delphi以后写入的Pas类为准。比如如果使用 uses Windows, Graphics,则TBitmp是 Graphics.TBitmap, 使用 uses Graphics, Windows,则TBitmap是 Windows.TBitmap.