public frmCardRead(frmMain pf)
 {
     InitializeComponent();
     this.icdev = pf.icdev;
     this.pf    = pf;
 }