public void Show(CommInterface com) { frmI2CDIO8 frm = new frmI2CDIO8(); frm.Attach(com); frm.ShowDialog(); }