public Form1() { int p = XFSUtil.ParseVersionString("3.16", "3.20"); string s = p.ToString("X"); InitializeComponent(); Controls.Add(device); device.RegisterComplete += Device_RegisterComplete; device.RegisterError += Device_RegisterError; device.OpenError += Device_OpenError; //device.Open("IDCARDUNIT1"); pin.PINKey += Pin_PINKey; // pin.Open("PINPAD1"); cdm.DispenComplete += Cdm_DispenComplete; //cdm.Open("CURRENCYDISPENSER1"); siu.Open("SIU"); }