private void btnCalibration_Click(object sender, EventArgs e) { frmCalibration frm = new frmCalibration(); frm.CommObj = CommObj; frm.ChannelsCount = mChannelsCount; frm.Address = GetAddress(true); frm.ShowDialog(); }