done:
   Form1 interface
next:
   class for FrameMatrix and IDXReader